feat: add hostname for checkAddress (#525) #8
Annotations
2 errors
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' } }
|
|
This job failed
Loading