Open Cryptopayng opened 3 years ago
My app has a smooth connection to Bitpay network for Months now. Today i started having error "525 Origin SSL Handshake Error". This a a strange error and this only applies to live. I need urgent help please.
<ref *2> IncomingMessage { _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: [], flowing: true, ended: true, endEmitted: true, reading: false, sync: true, needReadable: false, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: false, destroyed: false, errored: false, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: true, decoder: null, encoding: null,
}, _events: [Object: null prototype] { end: [ [Function: responseOnEnd], [Function (anonymous)] ], close: [ [Function (anonymous)], [Function (anonymous)] ], data: [Function (anonymous)], error: [Function (anonymous)] }, _eventsCount: 4, _maxListeners: undefined, socket: <ref *1> TLSSocket { _tlsOptions: { allowHalfOpen: undefined, pipe: false, secureContext: [SecureContext], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 22 02 01 01 02 02 03 03 04 02 c0 2b 04 20 20 a8 cb 27 c6 b3 88 73 db 35 ce 44 59 c5 e8 6d ff 0e e1 e5 5c 28 4f 3d 63 79 22 87 99 23 6f 59 04 ... 1524 more bytes>, ALPNProtocols: undefined, requestOCSP: undefined, enableTrace: undefined, pskCallback: undefined, highWaterMark: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'insight.bitpay.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype] { close: [Array], end: [Function: onReadableStreamEnd], newListener: [Function: keylogNewListener], secure: [Function: onConnectSecure], session: [Function (anonymous)], free: [Function: onFree], timeout: [Function: onTimeout], agentRemove: [Function: onRemove], error: [Function: socketErrorListener], finish: [Function] }, _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'insight.bitpay.com', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: [], flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: false, autoDestroy: false, destroyed: false, errored: false, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: false, decoder: null, encoding: null,
}, _maxListeners: undefined, _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: true, needDrain: false, ending: true, ended: true, finished: false, destroyed: false, decodeStrings: false, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: false, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 1, prefinished: false, errorEmitted: false, emitClose: false, autoDestroy: false, errored: false, closed: false, writable: true }, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: TLSWrap { _parent: [TCP], _parentWrap: undefined, _secureContext: [SecureContext], reading: true, onkeylog: [Function: onkeylog], onhandshakestart: [Function: noop], onhandshakedone: [Function (anonymous)], onocspresponse: [Function: onocspresponse], onnewsession: [Function: onnewsessionclient], onerror: [Function: onerror], [Symbol(owner_symbol)]: [Circular *1] }, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: ClientRequest { _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Circular *1], _header: 'POST /api/addrs/utxo HTTP/1.1\r\n' + 'host: insight.bitpay.com\r\n' + 'accept: application/json\r\n' + 'content-type: application/json\r\n' + 'content-length: 46\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/api/addrs/utxo', _ended: true, res: [Circular *2], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'insight.bitpay.com', protocol: 'https:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, [Symbol(res)]: TLSWrap { _parent: [TCP], _parentWrap: undefined, _secureContext: [SecureContext], reading: true, onkeylog: [Function: onkeylog], onhandshakestart: [Function: noop], onhandshakedone: [Function (anonymous)], onocspresponse: [Function: onocspresponse], onnewsession: [Function: onnewsessionclient], onerror: [Function: onerror], [Symbol(owner_symbol)]: [Circular *1] }, [Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 545, [Symbol(kHandle)]: TLSWrap { _parent: [TCP], _parentWrap: undefined, _secureContext: [SecureContext], reading: true, onkeylog: [Function: onkeylog], onhandshakestart: [Function: noop], onhandshakedone: [Function (anonymous)], onocspresponse: [Function: onocspresponse], onnewsession: [Function: onnewsessionclient], onerror: [Function: onerror], [Symbol(owner_symbol)]: [Circular *1] }, [Symbol(kSetNoDelay)]: false, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: { rejectUnauthorized: true, ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA', checkServerIdentity: [Function: checkServerIdentity], minDHSize: 1024, session: <Buffer 30 82 06 22 02 01 01 02 02 03 03 04 02 c0 2b 04 20 20 a8 cb 27 c6 b3 88 73 db 35 ce 44 59 c5 e8 6d ff 0e e1 e5 5c 28 4f 3d 63 79 22 87 99 23 6f 59 04 ... 1524 more bytes>, _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, method: 'POST', callback: [Function (anonymous)], readable: true, writable: true, explicitMethod: true, _qs: [Querystring], _auth: [Auth], _oauth: [OAuth], _multipart: [Multipart], _redirect: [Redirect], _tunnel: [Tunnel], headers: [Object], setHeader: [Function (anonymous)], hasHeader: [Function (anonymous)], getHeader: [Function (anonymous)], removeHeader: [Function (anonymous)], localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function (anonymous)], uri: [Url], proxy: null, tunnel: true, setHost: true, originalCookieHeader: undefined, _disableCookies: true, _jar: undefined, port: 443, host: 'insight.bitpay.com', path: null, _json: true, body: '{"addrs":"155ahEGEPxx7pGcRrKehgMu27ukHtGx585"}', httpModule: [Object], agentClass: [Function: Agent], agent: [Agent], _started: true, href: 'https://insight.bitpay.com/api/addrs/utxo', _defaultAgent: [Agent], servername: 'insight.bitpay.com', _agentKey: 'insight.bitpay.com:443::::::::::::::::::', encoding: null, singleUse: true }
}, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: { date: 'Wed, 30 Sep 2020 11:44:12 GMT', 'content-type': 'text/html', 'content-length': '207', connection: 'close', 'set-cookie': [ 'cfduid=db6a1a5959e58a2cd565b24be0dc443df1601466252; expires=Fri, 30-Oct-20 11:44:12 GMT; path=/; domain=.bitpay.com; HttpOnly; SameSite=Lax' ], 'cache-control': 'no-store, no-cache', 'cf-request-id': '05806cd3210000c4f85fb54200000001', 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', server: 'cloudflare', 'cf-ray': '5dadb0cb6dd7c4f8-LOS' }, rawHeaders: [ 'Date', 'Wed, 30 Sep 2020 11:44:12 GMT', 'Content-Type', 'text/html', 'Content-Length', '207', 'Connection', 'close', 'Set-Cookie', 'cfduid=db6a1a5959e58a2cd565b24be0dc443df1601466252; expires=Fri, 30-Oct-20 11:44:12 GMT; path=/; domain=.bitpay.com; HttpOnly; SameSite=Lax', 'Cache-Control', 'no-store, no-cache', 'cf-request-id', '05806cd3210000c4f85fb54200000001', 'Expect-CT', 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Server', 'cloudflare', 'CF-RAY', '5dadb0cb6dd7c4f8-LOS' ], trailers: {}, rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 525, statusMessage: 'Origin SSL Handshake Error', client: <ref *1> TLSSocket { _tlsOptions: { allowHalfOpen: undefined, pipe: false, secureContext: [SecureContext], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 22 02 01 01 02 02 03 03 04 02 c0 2b 04 20 20 a8 cb 27 c6 b3 88 73 db 35 ce 44 59 c5 e8 6d ff 0e e1 e5 5c 28 4f 3d 63 79 22 87 99 23 6f 59 04 ... 1524 more bytes>, ALPNProtocols: undefined, requestOCSP: undefined, enableTrace: undefined, pskCallback: undefined, highWaterMark: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'insight.bitpay.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype] { close: [Array], end: [Function: onReadableStreamEnd], newListener: [Function: keylogNewListener], secure: [Function: onConnectSecure], session: [Function (anonymous)], free: [Function: onFree], timeout: [Function: onTimeout], agentRemove: [Function: onRemove], error: [Function: socketErrorListener], finish: [Function] }, _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'insight.bitpay.com', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: [], flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: false, autoDestroy: false, destroyed: false, errored: false, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: false, decoder: null, encoding: null,
}, _consuming: false, _dumped: false, req: <ref 3> ClientRequest { _events: [Object: null prototype] { socket: [Function (anonymous)], response: [Function: bound ], error: [Function: bound ], drain: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 5, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: <ref 1> TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'insight.bitpay.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'insight.bitpay.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *3],
[Symbol(verified)]: true, [Symbol(pendingSession)]: null, [Symbol(async_id_symbol)]: 545, [Symbol(kHandle)]: [TLSWrap], [Symbol(kSetNoDelay)]: false, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(connect-options)]: [Object] }, _header: 'POST /api/addrs/utxo HTTP/1.1\r\n' + 'host: insight.bitpay.com\r\n' + 'accept: application/json\r\n' + 'content-type: application/json\r\n' + 'content-length: 46\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: Agent { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'fifo', maxTotalSockets: Infinity, totalSocketCount: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/api/addrs/utxo', _ended: true, res: [Circular *2], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'insight.bitpay.com', protocol: 'https:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { host: [Array], accept: [Array], 'content-type': [Array], 'content-length': [Array] }
}, request: <ref 4> Request { _events: [Object: null prototype] { error: [Function: bound ], complete: [Function: bound ], pipe: [Function (anonymous)], data: [Function (anonymous)], end: [Function (anonymous)] }, _eventsCount: 5, _maxListeners: undefined, method: 'POST', callback: [Function (anonymous)], readable: true, writable: true, explicitMethod: true, _qs: Querystring { request: [Circular 4], lib: [Object], useQuerystring: undefined, parseOptions: {}, stringifyOptions: {} }, _auth: Auth { request: [Circular 4], hasAuth: false, sentAuth: false, bearerToken: null, user: null, pass: null }, _oauth: OAuth { request: [Circular 4], params: null }, _multipart: Multipart { request: [Circular 4], boundary: 'd037b325-eb6d-4090-b5e3-e66c985ba3b6', chunked: false, body: null }, _redirect: Redirect { request: [Circular 4], followRedirect: true, followRedirects: true, followAllRedirects: false, followOriginalHttpMethod: false, allowRedirect: [Function (anonymous)], maxRedirects: 10, redirects: [], redirectsFollowed: 0, removeRefererHeader: false }, _tunnel: Tunnel { request: [Circular *4], proxyHeaderWhiteList: [Array], proxyHeaderExclusiveList: [] }, headers: { accept: 'application/json', 'content-type': 'application/json', 'content-length': 46 }, setHeader: [Function (anonymous)], hasHeader: [Function (anonymous)], getHeader: [Function (anonymous)], removeHeader: [Function (anonymous)], localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function (anonymous)], uri: Url { protocol: 'https:', slashes: true, auth: null, host: 'insight.bitpay.com', port: 443, hostname: 'insight.bitpay.com', hash: null, search: null, query: null, pathname: '/api/addrs/utxo', path: '/api/addrs/utxo', href: 'https://insight.bitpay.com/api/addrs/utxo' }, proxy: null, tunnel: true, setHost: true, originalCookieHeader: undefined, _disableCookies: true, _jar: undefined, port: 443, host: 'insight.bitpay.com', path: '/api/addrs/utxo', _json: true, body: '{"addrs":"155ahEGEPxx7pGcRrKehgMu27ukHtGx585"}', httpModule: { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] }, agentClass: [Function: Agent], agent: Agent { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'fifo', maxTotalSockets: Infinity, totalSocketCount: 1, maxCachedSessions: 100, _sessionCache: [Object],
}, _started: true, href: 'https://insight.bitpay.com/api/addrs/utxo', req: <ref *3> ClientRequest { _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [TLSSocket], _header: 'POST /api/addrs/utxo HTTP/1.1\r\n' + 'host: insight.bitpay.com\r\n' + 'accept: application/json\r\n' + 'content-type: application/json\r\n' + 'content-length: 46\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/api/addrs/utxo', _ended: true, res: [Circular *2], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'insight.bitpay.com', protocol: 'https:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, ntick: true, response: [Circular *2], originalHost: 'insight.bitpay.com', originalHostHeaderName: 'host', responseContent: [Circular *2], _destdata: true, _ended: true, _callbackCalled: true, [Symbol(kCapture)]: false
}, toJSON: [Function: responseToJSON], caseless: Caseless { dict: { date: 'Wed, 30 Sep 2020 11:44:12 GMT', 'content-type': 'text/html', 'content-length': '207', connection: 'close', 'set-cookie': [Array], 'cache-control': 'no-store, no-cache', 'cf-request-id': '05806cd3210000c4f85fb54200000001', 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', server: 'cloudflare', 'cf-ray': '5dadb0cb6dd7c4f8-LOS' } }, body: '\r\n' + '
}
Same thing here, too. Still trying to find out what might be wrong.
This is driving me crazy. Is there any alternative right now?
This issue also persists with bitcore-lib.
{ "statusCode": 525, "body": "\r\n
My app has a smooth connection to Bitpay network for Months now. Today i started having error "525 Origin SSL Handshake Error". This a a strange error and this only applies to live. I need urgent help please.
<ref *2> IncomingMessage { _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: [], flowing: true, ended: true, endEmitted: true, reading: false, sync: true, needReadable: false, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: false, destroyed: false, errored: false, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: true, decoder: null, encoding: null,
}, _events: [Object: null prototype] { end: [ [Function: responseOnEnd], [Function (anonymous)] ], close: [ [Function (anonymous)], [Function (anonymous)] ], data: [Function (anonymous)], error: [Function (anonymous)] }, _eventsCount: 4, _maxListeners: undefined, socket: <ref *1> TLSSocket { _tlsOptions: { allowHalfOpen: undefined, pipe: false, secureContext: [SecureContext], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 22 02 01 01 02 02 03 03 04 02 c0 2b 04 20 20 a8 cb 27 c6 b3 88 73 db 35 ce 44 59 c5 e8 6d ff 0e e1 e5 5c 28 4f 3d 63 79 22 87 99 23 6f 59 04 ... 1524 more bytes>, ALPNProtocols: undefined, requestOCSP: undefined, enableTrace: undefined, pskCallback: undefined, highWaterMark: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'insight.bitpay.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype] { close: [Array], end: [Function: onReadableStreamEnd], newListener: [Function: keylogNewListener], secure: [Function: onConnectSecure], session: [Function (anonymous)], free: [Function: onFree], timeout: [Function: onTimeout], agentRemove: [Function: onRemove], error: [Function: socketErrorListener], finish: [Function] }, _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'insight.bitpay.com', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: [], flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: false, autoDestroy: false, destroyed: false, errored: false, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: false, decoder: null, encoding: null,
}, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: { date: 'Wed, 30 Sep 2020 11:44:12 GMT', 'content-type': 'text/html', 'content-length': '207', connection: 'close', 'set-cookie': [ 'cfduid=db6a1a5959e58a2cd565b24be0dc443df1601466252; expires=Fri, 30-Oct-20 11:44:12 GMT; path=/; domain=.bitpay.com; HttpOnly; SameSite=Lax' ], 'cache-control': 'no-store, no-cache', 'cf-request-id': '05806cd3210000c4f85fb54200000001', 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', server: 'cloudflare', 'cf-ray': '5dadb0cb6dd7c4f8-LOS' }, rawHeaders: [ 'Date', 'Wed, 30 Sep 2020 11:44:12 GMT', 'Content-Type', 'text/html', 'Content-Length', '207', 'Connection', 'close', 'Set-Cookie', 'cfduid=db6a1a5959e58a2cd565b24be0dc443df1601466252; expires=Fri, 30-Oct-20 11:44:12 GMT; path=/; domain=.bitpay.com; HttpOnly; SameSite=Lax', 'Cache-Control', 'no-store, no-cache', 'cf-request-id', '05806cd3210000c4f85fb54200000001', 'Expect-CT', 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Server', 'cloudflare', 'CF-RAY', '5dadb0cb6dd7c4f8-LOS' ], trailers: {}, rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 525, statusMessage: 'Origin SSL Handshake Error', client: <ref *1> TLSSocket { _tlsOptions: { allowHalfOpen: undefined, pipe: false, secureContext: [SecureContext], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 22 02 01 01 02 02 03 03 04 02 c0 2b 04 20 20 a8 cb 27 c6 b3 88 73 db 35 ce 44 59 c5 e8 6d ff 0e e1 e5 5c 28 4f 3d 63 79 22 87 99 23 6f 59 04 ... 1524 more bytes>, ALPNProtocols: undefined, requestOCSP: undefined, enableTrace: undefined, pskCallback: undefined, highWaterMark: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'insight.bitpay.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype] { close: [Array], end: [Function: onReadableStreamEnd], newListener: [Function: keylogNewListener], secure: [Function: onConnectSecure], session: [Function (anonymous)], free: [Function: onFree], timeout: [Function: onTimeout], agentRemove: [Function: onRemove], error: [Function: socketErrorListener], finish: [Function] }, _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'insight.bitpay.com', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: [], flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: false, autoDestroy: false, destroyed: false, errored: false, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: false, decoder: null, encoding: null,
}, _consuming: false, _dumped: false, req: <ref 3> ClientRequest { _events: [Object: null prototype] { socket: [Function (anonymous)], response: [Function: bound ], error: [Function: bound ], drain: [Function (anonymous)], prefinish: [Function: requestOnPrefinish] }, _eventsCount: 5, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: <ref 1> TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, secureConnecting: false, _SNICallback: null, servername: 'insight.bitpay.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object: null prototype], _eventsCount: 10, connecting: false, _hadError: false, _parent: null, _host: 'insight.bitpay.com', _readableState: [ReadableState], _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: [TLSWrap], _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular *3],
}, request: <ref 4> Request { _events: [Object: null prototype] { error: [Function: bound ], complete: [Function: bound ], pipe: [Function (anonymous)], data: [Function (anonymous)], end: [Function (anonymous)] }, _eventsCount: 5, _maxListeners: undefined, method: 'POST', callback: [Function (anonymous)], readable: true, writable: true, explicitMethod: true, _qs: Querystring { request: [Circular 4], lib: [Object], useQuerystring: undefined, parseOptions: {}, stringifyOptions: {} }, _auth: Auth { request: [Circular 4], hasAuth: false, sentAuth: false, bearerToken: null, user: null, pass: null }, _oauth: OAuth { request: [Circular 4], params: null }, _multipart: Multipart { request: [Circular 4], boundary: 'd037b325-eb6d-4090-b5e3-e66c985ba3b6', chunked: false, body: null }, _redirect: Redirect { request: [Circular 4], followRedirect: true, followRedirects: true, followAllRedirects: false, followOriginalHttpMethod: false, allowRedirect: [Function (anonymous)], maxRedirects: 10, redirects: [], redirectsFollowed: 0, removeRefererHeader: false }, _tunnel: Tunnel { request: [Circular *4], proxyHeaderWhiteList: [Array], proxyHeaderExclusiveList: [] }, headers: { accept: 'application/json', 'content-type': 'application/json', 'content-length': 46 }, setHeader: [Function (anonymous)], hasHeader: [Function (anonymous)], getHeader: [Function (anonymous)], removeHeader: [Function (anonymous)], localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function (anonymous)], uri: Url { protocol: 'https:', slashes: true, auth: null, host: 'insight.bitpay.com', port: 443, hostname: 'insight.bitpay.com', hash: null, search: null, query: null, pathname: '/api/addrs/utxo', path: '/api/addrs/utxo', href: 'https://insight.bitpay.com/api/addrs/utxo' }, proxy: null, tunnel: true, setHost: true, originalCookieHeader: undefined, _disableCookies: true, _jar: undefined, port: 443, host: 'insight.bitpay.com', path: '/api/addrs/utxo', _json: true, body: '{"addrs":"155ahEGEPxx7pGcRrKehgMu27ukHtGx585"}', httpModule: { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] }, agentClass: [Function: Agent], agent: Agent { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'fifo', maxTotalSockets: Infinity, totalSocketCount: 1, maxCachedSessions: 100, _sessionCache: [Object],
}, toJSON: [Function: responseToJSON], caseless: Caseless { dict: { date: 'Wed, 30 Sep 2020 11:44:12 GMT', 'content-type': 'text/html', 'content-length': '207', connection: 'close', 'set-cookie': [Array], 'cache-control': 'no-store, no-cache', 'cf-request-id': '05806cd3210000c4f85fb54200000001', 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', server: 'cloudflare', 'cf-ray': '5dadb0cb6dd7c4f8-LOS' } }, body: '\r\n' + '
525 Origin SSL Handshake Error
}