Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- node:internal/process/promises:265
- triggerUncaughtException(err, true /* fromPromise */);
- ^
- AxiosError: connect ECONNREFUSED 0.0.0.0:443
- at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
- port: 443,
- address: '0.0.0.0',
- syscall: 'connect',
- code: 'ECONNREFUSED',
- errno: -111,
- config: {
- transitional: {
- silentJSONParsing: true,
- forcedJSONParsing: true,
- clarifyTimeoutError: false
- },
- adapter: [Function: httpAdapter],
- transformRequest: [ [Function (anonymous)] ],
- transformResponse: [ [Function: transformResponse] ],
- timeout: 0,
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- maxBodyLength: -1,
- env: {
- FormData: [Function: FormData] {
- LINE_BREAK: '\r\n',
- DEFAULT_CONTENT_TYPE: 'application/octet-stream'
- }
- },
- validateStatus: [Function: validateStatus],
- headers: {
- Accept: 'application/json, text/plain, */*',
- 'Content-Type': 'application/json',
- 'user-agent': 'analytics-node/6.2.0',
- 'Content-Length': 814
- },
- auth: { username: 'ePJM5UVxZGUxLP9dH2wGDvUE7hC2MbTX' },
- method: 'post',
- url: 'https://api.segment.io/v1/batch',
- data: '{"batch":[{"userId":"902a73ef-3df7-4e93-bea6-6dceeee04387","event":"event_id_shell_deploy_end","properties":{"distinct_id":"902a73ef-3df7-4e93-bea6-6dceeee04387","near_cli_version":"3.4.2","user_country":"IN","os":"linux","network_id":"testnet","node_url":"https://rpc.testnet.near.org","wallet_url":"https://wallet.testnet.near.org","is_gitpod":false,"timestamp":"2022-08-19T13:09:40.561Z","success":true,"code_hash":"DAJux6s7ijTKu8XdtBAcNFrjUjpve6HRxTMuRpqgTxDH","is_same_contract":true},"type":"track","context":{"library":{"name":"analytics-node","version":"6.2.0"}},"_metadata":{"nodeVersion":"16.14.0"},"timestamp":"2022-08-19T13:09:40.561Z","messageId":"node-a16b016842a85acbdbabe33e7efeaaa9-a8a3fbfc-9a3b-492c-9a09-553176a3254c"}],"timestamp":"2022-08-19T13:09:40.563Z","sentAt":"2022-08-19T13:09:40.563Z"}',
- 'axios-retry': { retryCount: 3, lastRequestTime: 1660914582183 }
- },
- request: <ref *3> Writable {
- _writableState: WritableState {
- objectMode: false,
- highWaterMark: 16384,
- finalCalled: false,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- destroyed: false,
- decodeStrings: true,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: true,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- afterWriteTickInfo: null,
- buffered: [],
- bufferedIndex: 0,
- allBuffers: true,
- allNoop: true,
- pendingcb: 0,
- constructed: true,
- prefinished: false,
- errorEmitted: false,
- emitClose: true,
- autoDestroy: true,
- errored: null,
- closed: false,
- closeEmitted: false,
- [Symbol(kOnFinished)]: []
- },
- _events: [Object: null prototype] {
- response: [Function: handleResponse],
- error: [Function: handleRequestError],
- socket: [Function: handleRequestSocket]
- },
- _eventsCount: 3,
- _maxListeners: undefined,
- _options: {
- maxRedirects: 21,
- maxBodyLength: 10485760,
- protocol: 'https:',
- path: '/v1/batch',
- method: 'POST',
- headers: {
- Accept: 'application/json, text/plain, */*',
- 'Content-Type': 'application/json',
- 'user-agent': 'analytics-node/6.2.0',
- 'Content-Length': 814
- },
- agent: undefined,
- agents: { http: undefined, https: undefined },
- auth: 'ePJM5UVxZGUxLP9dH2wGDvUE7hC2MbTX:',
- hostname: 'api.segment.io',
- port: null,
- nativeProtocols: {
- 'http:': {
- _connectionListener: [Function: connectionListener],
- METHODS: [
- 'ACL', 'BIND', 'CHECKOUT',
- 'CONNECT', 'COPY', 'DELETE',
- 'GET', 'HEAD', 'LINK',
- 'LOCK', 'M-SEARCH', 'MERGE',
- 'MKACTIVITY', 'MKCALENDAR', 'MKCOL',
- 'MOVE', 'NOTIFY', 'OPTIONS',
- 'PATCH', 'POST', 'PROPFIND',
- 'PROPPATCH', 'PURGE', 'PUT',
- 'REBIND', 'REPORT', 'SEARCH',
- 'SOURCE', 'SUBSCRIBE', 'TRACE',
- 'UNBIND', 'UNLINK', 'UNLOCK',
- 'UNSUBSCRIBE'
- ],
- STATUS_CODES: {
- '100': 'Continue',
- '101': 'Switching Protocols',
- '102': 'Processing',
- '103': 'Early Hints',
- '200': 'OK',
- '201': 'Created',
- '202': 'Accepted',
- '203': 'Non-Authoritative Information',
- '204': 'No Content',
- '205': 'Reset Content',
- '206': 'Partial Content',
- '207': 'Multi-Status',
- '208': 'Already Reported',
- '226': 'IM Used',
- '300': 'Multiple Choices',
- '301': 'Moved Permanently',
- '302': 'Found',
- '303': 'See Other',
- '304': 'Not Modified',
- '305': 'Use Proxy',
- '307': 'Temporary Redirect',
- '308': 'Permanent Redirect',
- '400': 'Bad Request',
- '401': 'Unauthorized',
- '402': 'Payment Required',
- '403': 'Forbidden',
- '404': 'Not Found',
- '405': 'Method Not Allowed',
- '406': 'Not Acceptable',
- '407': 'Proxy Authentication Required',
- '408': 'Request Timeout',
- '409': 'Conflict',
- '410': 'Gone',
- '411': 'Length Required',
- '412': 'Precondition Failed',
- '413': 'Payload Too Large',
- '414': 'URI Too Long',
- '415': 'Unsupported Media Type',
- '416': 'Range Not Satisfiable',
- '417': 'Expectation Failed',
- '418': "I'm a Teapot",
- '421': 'Misdirected Request',
- '422': 'Unprocessable Entity',
- '423': 'Locked',
- '424': 'Failed Dependency',
- '425': 'Too Early',
- '426': 'Upgrade Required',
- '428': 'Precondition Required',
- '429': 'Too Many Requests',
- '431': 'Request Header Fields Too Large',
- '451': 'Unavailable For Legal Reasons',
- '500': 'Internal Server Error',
- '501': 'Not Implemented',
- '502': 'Bad Gateway',
- '503': 'Service Unavailable',
- '504': 'Gateway Timeout',
- '505': 'HTTP Version Not Supported',
- '506': 'Variant Also Negotiates',
- '507': 'Insufficient Storage',
- '508': 'Loop Detected',
- '509': 'Bandwidth Limit Exceeded',
- '510': 'Not Extended',
- '511': 'Network Authentication Required'
- },
- Agent: [Function: Agent] { defaultMaxSockets: Infinity },
- ClientRequest: [Function: ClientRequest],
- IncomingMessage: [Function: IncomingMessage],
- OutgoingMessage: [Function: OutgoingMessage],
- Server: [Function: Server],
- ServerResponse: [Function: ServerResponse],
- createServer: [Function: createServer],
- validateHeaderName: [Function: __node_internal_],
- validateHeaderValue: [Function: __node_internal_],
- get: [Function: get],
- request: [Function: request],
- maxHeaderSize: [Getter],
- globalAgent: [Getter/Setter]
- },
- 'https:': {
- Agent: [Function: Agent],
- globalAgent: Agent {
- _events: [Object: null prototype],
- _eventsCount: 2,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object: null prototype],
- requests: [Object: null prototype] {},
- sockets: [Object: null prototype],
- freeSockets: [Object: null prototype] {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- scheduling: 'lifo',
- maxTotalSockets: Infinity,
- totalSocketCount: 1,
- maxCachedSessions: 100,
- _sessionCache: [Object],
- [Symbol(kCapture)]: false
- },
- Server: [Function: Server],
- createServer: [Function: createServer],
- get: [Function: get],
- request: [Function: request]
- }
- },
- pathname: '/v1/batch'
- },
- _ended: false,
- _ending: true,
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 814,
- _requestBodyBuffers: [
- {
- data: Buffer(814) [Uint8Array] [
- 123, 34, 98, 97, 116, 99, 104, 34, 58, 91, 123, 34,
- 117, 115, 101, 114, 73, 100, 34, 58, 34, 57, 48, 50,
- 97, 55, 51, 101, 102, 45, 51, 100, 102, 55, 45, 52,
- 101, 57, 51, 45, 98, 101, 97, 54, 45, 54, 100, 99,
- 101, 101, 101, 101, 48, 52, 51, 56, 55, 34, 44, 34,
- 101, 118, 101, 110, 116, 34, 58, 34, 101, 118, 101, 110,
- 116, 95, 105, 100, 95, 115, 104, 101, 108, 108, 95, 100,
- 101, 112, 108, 111, 121, 95, 101, 110, 100, 34, 44, 34,
- 112, 114, 111, 112,
- ... 714 more items
- ],
- encoding: undefined
- }
- ],
- _onNativeResponse: [Function (anonymous)],
- _currentRequest: <ref *1> ClientRequest {
- _events: [Object: null prototype] {
- response: [Function: bound onceWrapper] {
- listener: [Function (anonymous)]
- },
- abort: [Function (anonymous)],
- aborted: [Function (anonymous)],
- connect: [Function (anonymous)],
- error: [Function (anonymous)],
- socket: [Function (anonymous)],
- timeout: [Function (anonymous)]
- },
- _eventsCount: 7,
- _maxListeners: undefined,
- outputData: [],
- outputSize: 0,
- writable: true,
- destroyed: false,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- maxRequestsOnConnectionReached: false,
- _defaultKeepAlive: true,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _headerSent: true,
- _closed: false,
- socket: <ref *2> TLSSocket {
- _tlsOptions: {
- allowHalfOpen: undefined,
- pipe: false,
- secureContext: SecureContext { context: SecureContext {} },
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined,
- enableTrace: undefined,
- pskCallback: undefined,
- highWaterMark: undefined,
- onread: undefined,
- signal: undefined
- },
- _secureEstablished: false,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- secureConnecting: true,
- _SNICallback: null,
- servername: null,
- alpnProtocol: null,
- authorized: false,
- authorizationError: null,
- encrypted: true,
- _events: [Object: null prototype] {
- close: [
- [Function: onSocketCloseDestroySSL],
- [Function],
- [Function: onClose],
- [Function: socketCloseListener]
- ],
- end: [ [Function: onConnectEnd], [Function: onReadableStreamEnd] ],
- newListener: [Function: keylogNewListener],
- connect: [ [Function], [Function], [Function] ],
- secure: [Function: onConnectSecure],
- session: [Function (anonymous)],
- free: [Function: onFree],
- timeout: [Function: onTimeout],
- agentRemove: [Function: onRemove],
- error: [Function: socketErrorListener],
- drain: [Function: ondrain]
- },
- _eventsCount: 11,
- connecting: false,
- _hadError: true,
- _parent: null,
- _host: 'api.segment.io',
- _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,
- constructed: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- errorEmitted: true,
- emitClose: false,
- autoDestroy: true,
- destroyed: true,
- errored: Error: connect ECONNREFUSED 0.0.0.0:443
- at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
- errno: -111,
- code: 'ECONNREFUSED',
- syscall: 'connect',
- address: '0.0.0.0',
- port: 443
- },
- closed: true,
- closeEmitted: true,
- defaultEncoding: 'utf8',
- awaitDrainWriters: null,
- multiAwaitDrain: false,
- readingMore: false,
- dataEmitted: false,
- decoder: null,
- encoding: null,
- [Symbol(kPaused)]: false
- },
- _maxListeners: undefined,
- _writableState: WritableState {
- objectMode: false,
- highWaterMark: 16384,
- finalCalled: false,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- destroyed: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 1079,
- writing: true,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: [Function (anonymous)],
- writelen: 1079,
- afterWriteTickInfo: null,
- buffered: [],
- bufferedIndex: 0,
- allBuffers: true,
- allNoop: true,
- pendingcb: 1,
- constructed: true,
- prefinished: false,
- errorEmitted: true,
- emitClose: false,
- autoDestroy: true,
- errored: Error: connect ECONNREFUSED 0.0.0.0:443
- at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
- errno: -111,
- code: 'ECONNREFUSED',
- syscall: 'connect',
- address: '0.0.0.0',
- port: 443
- },
- closed: true,
- closeEmitted: true,
- [Symbol(kOnFinished)]: []
- },
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: [
- {
- chunk: 'POST /v1/batch HTTP/1.1\r\n' +
- 'Accept: application/json, text/plain, */*\r\n' +
- 'Content-Type: application/json\r\n' +
- 'user-agent: analytics-node/6.2.0\r\n' +
- 'Content-Length: 814\r\n' +
- 'Host: api.segment.io\r\n' +
- 'Authorization: Basic ZVBKTTVVVnhaR1V4TFA5ZEgyd0dEdlVFN2hDMk1iVFg6\r\n' +
- 'Connection: close\r\n' +
- '\r\n',
- encoding: 'latin1',
- callback: [Function: nop]
- },
- {
- chunk: [Buffer [Uint8Array]],
- encoding: 'buffer',
- callback: [Function (anonymous)]
- },
- allBuffers: false
- ],
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular *1],
- [Symbol(res)]: TLSWrap {
- _parent: TCP {
- reading: [Getter/Setter],
- onconnection: null,
- [Symbol(owner_symbol)]: [Circular *2],
- [Symbol(handle_onclose)]: [Function: done]
- },
- _parentWrap: undefined,
- _secureContext: SecureContext { context: SecureContext {} },
- reading: false,
- onkeylog: [Function: onkeylog],
- onhandshakestart: {},
- onhandshakedone: [Function (anonymous)],
- onocspresponse: [Function: onocspresponse],
- onnewsession: [Function: onnewsessionclient],
- onerror: [Function: onerror],
- [Symbol(owner_symbol)]: [Circular *2]
- },
- [Symbol(verified)]: false,
- [Symbol(pendingSession)]: null,
- [Symbol(async_id_symbol)]: 291,
- [Symbol(kHandle)]: null,
- [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,
- maxRedirects: 21,
- maxBodyLength: 10485760,
- protocol: 'https:',
- path: null,
- method: 'POST',
- headers: {
- Accept: 'application/json, text/plain, */*',
- 'Content-Type': 'application/json',
- 'user-agent': 'analytics-node/6.2.0',
- 'Content-Length': 814
- },
- agent: undefined,
- agents: { http: undefined, https: undefined },
- auth: 'ePJM5UVxZGUxLP9dH2wGDvUE7hC2MbTX:',
- hostname: 'api.segment.io',
- port: 443,
- nativeProtocols: { 'http:': [Object], 'https:': [Object] },
- pathname: '/v1/batch',
- _defaultAgent: Agent {
- _events: [Object: null prototype],
- _eventsCount: 2,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object: null prototype],
- requests: [Object: null prototype] {},
- sockets: [Object: null prototype],
- freeSockets: [Object: null prototype] {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- scheduling: 'lifo',
- maxTotalSockets: Infinity,
- totalSocketCount: 1,
- maxCachedSessions: 100,
- _sessionCache: [Object],
- [Symbol(kCapture)]: false
- },
- host: 'api.segment.io',
- servername: 'api.segment.io',
- _agentKey: 'api.segment.io:443:::::::::::::::::::::',
- encoding: null,
- singleUse: true
- }
- },
- _header: 'POST /v1/batch HTTP/1.1\r\n' +
- 'Accept: application/json, text/plain, */*\r\n' +
- 'Content-Type: application/json\r\n' +
- 'user-agent: analytics-node/6.2.0\r\n' +
- 'Content-Length: 814\r\n' +
- 'Host: api.segment.io\r\n' +
- 'Authorization: Basic ZVBKTTVVVnhaR1V4TFA5ZEgyd0dEdlVFN2hDMk1iVFg6\r\n' +
- 'Connection: close\r\n' +
- '\r\n',
- _keepAliveTimeout: 0,
- _onPendingData: [Function: nop],
- agent: Agent {
- _events: [Object: null prototype] {
- free: [Function (anonymous)],
- newListener: [Function: maybeEnableKeylog]
- },
- _eventsCount: 2,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object: null prototype] { path: null },
- requests: [Object: null prototype] {},
- sockets: [Object: null prototype] {
- 'api.segment.io:443:::::::::::::::::::::': [ [TLSSocket] ]
- },
- freeSockets: [Object: null prototype] {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- scheduling: 'lifo',
- maxTotalSockets: Infinity,
- totalSocketCount: 1,
- maxCachedSessions: 100,
- _sessionCache: { map: {}, list: [] },
- [Symbol(kCapture)]: false
- },
- socketPath: undefined,
- method: 'POST',
- maxHeaderSize: undefined,
- insecureHTTPParser: undefined,
- path: '/v1/batch',
- _ended: false,
- res: null,
- aborted: false,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- reusedSocket: false,
- host: 'api.segment.io',
- protocol: 'https:',
- _redirectable: [Circular *3],
- [Symbol(kCapture)]: false,
- [Symbol(kNeedDrain)]: false,
- [Symbol(corked)]: 0,
- [Symbol(kOutHeaders)]: [Object: null prototype] {
- accept: [ 'Accept', 'application/json, text/plain, */*' ],
- 'content-type': [ 'Content-Type', 'application/json' ],
- 'user-agent': [ 'user-agent', 'analytics-node/6.2.0' ],
- 'content-length': [ 'Content-Length', 814 ],
- host: [ 'Host', 'api.segment.io' ],
- authorization: [
- 'Authorization',
- 'Basic ZVBKTTVVVnhaR1V4TFA5ZEgyd0dEdlVFN2hDMk1iVFg6'
- ]
- }
- },
- _currentUrl: 'https://ePJM5UVxZGUxLP9dH2wGDvUE7hC2MbTX:@api.segment.io/v1/batch',
- [Symbol(kCapture)]: false
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement