Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/local/bin/node /Users/siskofasa/Downloads/Blockchain/cmgt-blockchain-master/app.js
- Something went wrong
- { Error: socket hang up
- at createHangUpError (_http_client.js:330:15)
- at Socket.socketOnEnd (_http_client.js:431:23)
- at Socket.emit (events.js:198:15)
- at endReadableNT (_stream_readable.js:1142:12)
- at processTicksAndRejections (internal/process/task_queues.js:81:17)
- code: 'ECONNRESET',
- config:
- { adapter: [Function: httpAdapter],
- transformRequest: { '0': [Function: transformRequest] },
- transformResponse: { '0': [Function: transformResponse] },
- timeout: 0,
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- headers:
- { Accept: 'application/json, text/plain, */*',
- 'User-Agent': 'axios/0.18.0' },
- method: 'get',
- url: 'http://programmeren9.cmgt.hr.nl:8000/api/blockchain/next',
- data: undefined },
- request:
- 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,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: false,
- errorEmitted: false,
- emitClose: true,
- autoDestroy: false,
- (node:4434) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property `data` of 'undefined' or 'null'.
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: true,
- _events:
- at Object.mine (/Users/siskofasa/Downloads/Blockchain/cmgt-blockchain-master/cmgtminer.js:9:26)
- at processTicksAndRejections (internal/process/task_queues.js:86:5)
- (node:4434) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
- [Object: null prototype] {
- response: [Function: handleResponse],
- error: [Function: handleRequestError] },
- _eventsCount: 2,
- _maxListeners: undefined,
- (node:4434) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
- _options:
- { maxRedirects: 21,
- maxBodyLength: 10485760,
- protocol: 'http:',
- path: '/api/blockchain/next',
- method: 'get',
- headers: [Object],
- agent: undefined,
- auth: undefined,
- hostname: 'programmeren9.cmgt.hr.nl',
- port: '8000',
- nativeProtocols: [Object],
- pathname: '/api/blockchain/next' },
- _ended: true,
- _ending: true,
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 0,
- _requestBodyBuffers: [],
- _onNativeResponse: [Function],
- _currentRequest:
- ClientRequest {
- _events: [Object],
- _eventsCount: 6,
- _maxListeners: undefined,
- outputData: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Socket],
- connection: [Socket],
- _header:
- 'GET /api/blockchain/next HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.18.0\r\nHost: programmeren9.cmgt.hr.nl:8000\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/api/blockchain/next',
- _ended: false,
- res: null,
- aborted: false,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable: [Circular],
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- _currentUrl: 'http://programmeren9.cmgt.hr.nl:8000/api/blockchain/next' },
- response: undefined }
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement