Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.79 KB | None | 0 0
  1. /usr/local/bin/node /Users/siskofasa/Downloads/Blockchain/cmgt-blockchain-master/app.js
  2. Something went wrong
  3. { Error: socket hang up
  4. at createHangUpError (_http_client.js:330:15)
  5. at Socket.socketOnEnd (_http_client.js:431:23)
  6. at Socket.emit (events.js:198:15)
  7. at endReadableNT (_stream_readable.js:1142:12)
  8. at processTicksAndRejections (internal/process/task_queues.js:81:17)
  9. code: 'ECONNRESET',
  10. config:
  11. { adapter: [Function: httpAdapter],
  12. transformRequest: { '0': [Function: transformRequest] },
  13. transformResponse: { '0': [Function: transformResponse] },
  14. timeout: 0,
  15. xsrfCookieName: 'XSRF-TOKEN',
  16. xsrfHeaderName: 'X-XSRF-TOKEN',
  17. maxContentLength: -1,
  18. validateStatus: [Function: validateStatus],
  19. headers:
  20. { Accept: 'application/json, text/plain, */*',
  21. 'User-Agent': 'axios/0.18.0' },
  22. method: 'get',
  23. url: 'http://programmeren9.cmgt.hr.nl:8000/api/blockchain/next',
  24. data: undefined },
  25. request:
  26. Writable {
  27. _writableState:
  28. WritableState {
  29. objectMode: false,
  30. highWaterMark: 16384,
  31. finalCalled: false,
  32. needDrain: false,
  33. ending: false,
  34. ended: false,
  35. finished: false,
  36. destroyed: false,
  37. decodeStrings: true,
  38. defaultEncoding: 'utf8',
  39. length: 0,
  40. writing: false,
  41. corked: 0,
  42. sync: true,
  43. bufferProcessing: false,
  44. onwrite: [Function: bound onwrite],
  45. writecb: null,
  46. writelen: 0,
  47. bufferedRequest: null,
  48. lastBufferedRequest: null,
  49. pendingcb: 0,
  50. prefinished: false,
  51. errorEmitted: false,
  52. emitClose: true,
  53. autoDestroy: false,
  54. (node:4434) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property `data` of 'undefined' or 'null'.
  55. bufferedRequestCount: 0,
  56. corkedRequestsFree: [Object] },
  57. writable: true,
  58. _events:
  59. at Object.mine (/Users/siskofasa/Downloads/Blockchain/cmgt-blockchain-master/cmgtminer.js:9:26)
  60. at processTicksAndRejections (internal/process/task_queues.js:86:5)
  61. (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)
  62. [Object: null prototype] {
  63. response: [Function: handleResponse],
  64. error: [Function: handleRequestError] },
  65. _eventsCount: 2,
  66. _maxListeners: undefined,
  67. (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.
  68. _options:
  69. { maxRedirects: 21,
  70. maxBodyLength: 10485760,
  71. protocol: 'http:',
  72. path: '/api/blockchain/next',
  73. method: 'get',
  74. headers: [Object],
  75. agent: undefined,
  76. auth: undefined,
  77. hostname: 'programmeren9.cmgt.hr.nl',
  78. port: '8000',
  79. nativeProtocols: [Object],
  80. pathname: '/api/blockchain/next' },
  81. _ended: true,
  82. _ending: true,
  83. _redirectCount: 0,
  84. _redirects: [],
  85. _requestBodyLength: 0,
  86. _requestBodyBuffers: [],
  87. _onNativeResponse: [Function],
  88. _currentRequest:
  89. ClientRequest {
  90. _events: [Object],
  91. _eventsCount: 6,
  92. _maxListeners: undefined,
  93. outputData: [],
  94. outputSize: 0,
  95. writable: true,
  96. _last: true,
  97. chunkedEncoding: false,
  98. shouldKeepAlive: false,
  99. useChunkedEncodingByDefault: false,
  100. sendDate: false,
  101. _removedConnection: false,
  102. _removedContLen: false,
  103. _removedTE: false,
  104. _contentLength: 0,
  105. _hasBody: true,
  106. _trailer: '',
  107. finished: true,
  108. _headerSent: true,
  109. socket: [Socket],
  110. connection: [Socket],
  111. _header:
  112. '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',
  113. _onPendingData: [Function: noopPendingOutput],
  114. agent: [Agent],
  115. socketPath: undefined,
  116. timeout: undefined,
  117. method: 'GET',
  118. path: '/api/blockchain/next',
  119. _ended: false,
  120. res: null,
  121. aborted: false,
  122. timeoutCb: null,
  123. upgradeOrConnect: false,
  124. parser: null,
  125. maxHeadersCount: null,
  126. _redirectable: [Circular],
  127. [Symbol(isCorked)]: false,
  128. [Symbol(outHeadersKey)]: [Object] },
  129. _currentUrl: 'http://programmeren9.cmgt.hr.nl:8000/api/blockchain/next' },
  130. response: undefined }
  131.  
  132. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement