Skip to content

feat: add hostname for checkAddress #1260

feat: add hostname for checkAddress

feat: add hostname for checkAddress #1260

Triggered via pull request July 8, 2024 07:19
Status Failure
Total duration 2m 14s
Artifacts

nodejs.yml

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

Annotations

12 errors and 6 warnings
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L63
TypeError: Invalid IP address: undefined ❯ emitLookup node:net:1465:17 ❯ src/HttpAgent.ts:63:10 ❯ lookup test/HttpClient.test.ts:346:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ emitLookup node:net:1414:5 ❯ lookupAndConnectMultiple node:net:1413:3 ❯ node:net:1359:7 ❯ lookupAndConnect node:net:1358:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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.196, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:34891/' ], timing: { queuing: 0.156, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:00.484Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:34891', connectPort: '34891' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:00.484Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:34891', connectPort: '34891' } }
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L63
TypeError: Invalid IP address: undefined ❯ emitLookup node:net:1464:17 ❯ src/HttpAgent.ts:63:10 ❯ lookup test/HttpClient.test.ts:346:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ emitLookup node:net:1413:5 ❯ lookupAndConnectMultiple node:net:1412:3 ❯ node:net:1358:7 ❯ lookupAndConnect node:net:1357:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 4.97, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:41517/' ], timing: { queuing: 0.121, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:00.292Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:41517', connectPort: '41517' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:00.292Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:41517', connectPort: '41517' } }
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L63
TypeError: Invalid IP address: undefined ❯ emitLookup node:net:1464:17 ❯ src/HttpAgent.ts:63:10 ❯ lookup test/HttpClient.test.ts:346:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ emitLookup node:net:1413:5 ❯ lookupAndConnectMultiple node:net:1412:3 ❯ node:net:1358:7 ❯ lookupAndConnect node:net:1357:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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.095, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:49199/' ], timing: { queuing: 0.094, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:21.511Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:49199', connectPort: '49199' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:21.511Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:49199', connectPort: '49199' } }
Node.js / Test (macos-latest, 20)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L63
TypeError: Invalid IP address: undefined ❯ emitLookup node:net:1465:17 ❯ src/HttpAgent.ts:63:10 ❯ lookup test/HttpClient.test.ts:346:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ emitLookup node:net:1414:5 ❯ lookupAndConnectMultiple node:net:1413:3 ❯ node:net:1359:7 ❯ lookupAndConnect node:net:1358:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 4.624, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:49201/' ], timing: { queuing: 0.182, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:29.249Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:49201', connectPort: '49201' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:29.249Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:49201', connectPort: '49201' } }
Node.js / Test (macos-latest, 22)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L63
TypeError: Invalid IP address: undefined ❯ emitLookup node:net:1465:17 ❯ src/HttpAgent.ts:63:10 ❯ lookup test/HttpClient.test.ts:346:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ emitLookup node:net:1414:5 ❯ lookupAndConnectMultiple node:net:1413:3 ❯ node:net:1359:7 ❯ lookupAndConnect node:net:1358:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 4.195, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:58556/' ], timing: { queuing: 0.166, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:31.583Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:58556', connectPort: '58556' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:20:31.583Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:58556', connectPort: '58556' } }
Node.js / Test (windows-latest, 22)
Process completed with exit code 1.
test/HttpClient.test.ts > HttpClient.test.ts > clientOptions.checkAddress > should allow hostname check: src/HttpAgent.ts#L63
TypeError: Invalid IP address: undefined ❯ emitLookup node:net:1464:17 ❯ src/HttpAgent.ts:63:10 ❯ lookup test/HttpClient.test.ts:346:18 ❯ lookup src/HttpAgent.ts:41:7 ❯ emitLookup node:net:1413:5 ❯ lookupAndConnectMultiple node:net:1412:3 ❯ node:net:1358:7 ❯ lookupAndConnect node:net:1357:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 4.893, keepAliveSocket: true, requestUrls: [ 'http://check-host-ssrf.com:53794/' ], timing: { queuing: 0.194, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:21:06.119Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:53794', connectPort: '53794' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 21, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0, connectErrorTime: '2024-07-08T07:21:06.119Z', connectProtocol: 'http:', connectHost: 'check-host-ssrf.com:53794', connectPort: '53794' } }
Node.js / Test (windows-latest, 20)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 18.19.0)
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, 18.19.0)
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, 18.19.0)
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/