Skip to content

feat: add hostname for checkAddress (#525) #8

feat: add hostname for checkAddress (#525)

feat: add hostname for checkAddress (#525) #8

Triggered via pull request July 8, 2024 14:11
Status Failure
Total duration 3m 31s
Artifacts

nodejs-3.x.yml

on: pull_request
Node.js  /  Setup
8s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 9 warnings
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L62
TypeError: Invalid IP address: [ [Object] ] ❯ emitLookup node:net:1178:15 ❯ src/HttpAgent.ts:62:10 ❯ lookup test/HttpClient.test.ts:328:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ node:net:1164:5 ❯ lookupAndConnect node:net:1163:3 ❯ Socket.connect node:net:1101:5 ❯ Object.connect node:net:222:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_IP_ADDRESS', opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 3.731, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:36067/' ], timing: { queuing: 0.161, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 20, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T14:13:03.217Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:36067', connectPort: '36067' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 20, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T14:13:03.217Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:36067', connectPort: '36067' } }
Node.js / Test (ubuntu-latest, 16)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 14)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L62
TypeError: Invalid IP address: [ [Object] ] ❯ emitLookup node:net:1178:15 ❯ src/HttpAgent.ts:62:10 ❯ lookup test/HttpClient.test.ts:328:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ node:net:1164:5 ❯ lookupAndConnect node:net:1163:3 ❯ Socket.connect node:net:1101:5 ❯ Object.connect node:net:222:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_IP_ADDRESS', opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 5.267, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:49201/' ], timing: { queuing: 0.321, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 20, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T14:13:13.343Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:49201', connectPort: '49201' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 20, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T14:13:13.343Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:49201', connectPort: '49201' } }
Node.js / Test (macos-latest, 16)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L62
TypeError: Invalid IP address: [ [Object] ] ❯ emitLookup node:net:1178:15 ❯ src/HttpAgent.ts:62:10 ❯ lookup test/HttpClient.test.ts:328:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ node:net:1164:5 ❯ lookupAndConnect node:net:1163:3 ❯ Socket.connect node:net:1101:5 ❯ Object.connect node:net:222:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_IP_ADDRESS', opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 5.081, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:52606/' ], timing: { queuing: 0.233, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 20, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T14:13:39.595Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:52606', connectPort: '52606' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 20, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T14:13:39.595Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:52606', connectPort: '52606' } }
Node.js / Test (windows-latest, 16)
Process completed with exit code 1.
Node.js / Test (macos-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (macos-latest, 14)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 22)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (ubuntu-latest, 20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (ubuntu-latest, 18)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (macos-latest, 20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (macos-latest, 18)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (windows-latest, 22)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (windows-latest, 18)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (windows-latest, 20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node.js / Test (macos-latest, 22)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/