SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2019-07-21T14:06:12.291Z: info - Received message type: 2
  2. TypeError: Cannot read property 'emit' of undefined
  3.     at /app/node_modules/node-nats-streaming/lib/stan.js:869:17
  4.     at Client.handledClosedOrDraining (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1489:13)
  5.     at Client.subscribe (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1617:13)
  6.     at Stan.subscribe (/app/node_modules/node-nats-streaming/lib/stan.js:657:31)
  7.     at Node.initBlockSubscription (/app/src/node/index.ts:426:45)
  8.     at Node.updateNodeState (/app/src/node/index.ts:414:12)
  9.     at EventEmitter.emitter.on (/app/src/node/index.ts:116:12)
  10.     at EventEmitter.emit (events.js:193:13)
  11.     at Node.setReadyStatus (/app/src/node/index.ts:180:18)
  12.     at Client.<anonymous> (/app/src/node/socket/client.ts:158:19)
  13.     at Generator.next (<anonymous>)
  14.     at /app/src/node/socket/client.js:7:71
  15.     at new Promise (<anonymous>)
  16.     at __awaiter (/app/src/node/socket/client.js:3:12)
  17.     at Client.messageHandler (/app/src/node/socket/client.js:108:16)
  18.     at Client.<anonymous> (/app/src/node/socket/client.ts:90:20)
  19.     at Generator.next (<anonymous>)
  20.     at /app/src/node/socket/client.js:7:71
  21.     at new Promise (<anonymous>)
  22.     at __awaiter (/app/src/node/socket/client.js:3:12)
  23.     at WebSocket.client.on (/app/src/node/socket/client.ts:80:53)
  24.     at WebSocket.emit (events.js:193:13)
  25.     at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:796:20)
  26.     at Receiver.emit (events.js:193:13)
  27.     at Receiver.dataMessage (/app/node_modules/ws/lib/receiver.js:422:14)
  28.     at Receiver.getData (/app/node_modules/ws/lib/receiver.js:352:17)
  29.     at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:138:22)
  30.     at Receiver._write (/app/node_modules/ws/lib/receiver.js:74:10)
  31.     at doWrite (_stream_writable.js:415:12)
  32.     at writeOrBuffer (_stream_writable.js:399:5)
  33.     at Receiver.Writable.write (_stream_writable.js:299:11)
  34.     at Socket.socketOnData (/app/node_modules/ws/lib/websocket.js:871:35)
  35.     at Socket.emit (events.js:193:13)
  36.     at addChunk (_stream_readable.js:295:12)
  37.     at readableAddChunk (_stream_readable.js:276:11)
  38.     at Socket.Readable.push (_stream_readable.js:231:10)
  39.     at TCP.onStreamRead (internal/stream_base_commons.js:154:17)
  40. 2019-07-21T14:06:12.795Z: info - Received message type: 9
  41. 2019-07-21T14:06:12.851Z: info - Received message type: 9
  42. 2019-07-21T14:07:11.504Z: info - Received message type: 14
  43. 2019-07-21T14:07:13.697Z: info - Connection to the peer '145.239.7.43' closed.
  44. 2019-07-21T14:07:14.273Z: error - stan: connect request timeout
  45. 2019-07-21T14:07:14.273Z: info - Connection to STAN is closed.
  46. stan: connect request timeout
  47. { Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('stan: connect request timeout')
  48.     at Stan.emit (events.js:182:17)
  49.     at Stan.closeWithError (/app/node_modules/node-nats-streaming/lib/stan.js:417:10)
  50.     at Object.nc.requestOne [as callback] (/app/node_modules/node-nats-streaming/lib/stan.js:328:22)
  51.     at Timeout.conf.timeout.setTimeout (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1822:22)
  52.     at listOnTimeout (internal/timers.js:535:17)
  53.     at processTimers (internal/timers.js:479:7) context: 'stan: connect request timeout' }
  54. Sending error to Elastic APM { id: '052f38f4ebcc1525b16632944f64b094' }
  55. 2019-07-21T14:07:14: PM2 log: App [temtumd:0] exited with code [1] via signal [SIGINT]
  56. 2019-07-21T14:07:14: PM2 log: App [temtumd:0] starting in -fork mode-
  57. 2019-07-21T14:07:14: PM2 log: App [temtumd:0] online
  58. 2019-07-21T14:07:17.935Z: error - stan: connect request timeout
  59. 2019-07-21T14:07:17.938Z: info - Connection to STAN is closed.
  60. 2019-07-21T14:07:17.944Z: info - Listening http on port: 3001
  61. 2019-07-21T14:07:18.019Z: info - Server connection 145.239.7.43 established.
  62. 2019-07-21T14:07:18.027Z: info - Received message type: 0
  63. 2019-07-21T14:07:18.028Z: info - Received message type: 13
  64. 2019-07-21T14:07:18.029Z: info - Received message type: 0
  65. 2019-07-21T14:07:18.039Z: info - Received message type: 7
  66. 2019-07-21T14:07:18.066Z: info - Received message type: 2
  67. TypeError: Cannot read property 'emit' of undefined
  68.     at /app/node_modules/node-nats-streaming/lib/stan.js:869:17
  69.     at Client.handledClosedOrDraining (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1489:13)
  70.     at Client.subscribe (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1617:13)
  71.     at Stan.subscribe (/app/node_modules/node-nats-streaming/lib/stan.js:657:31)
  72.     at Node.initBlockSubscription (/app/src/node/index.ts:426:45)
  73.     at Node.updateNodeState (/app/src/node/index.ts:414:12)
  74.     at EventEmitter.emitter.on (/app/src/node/index.ts:116:12)
  75.     at EventEmitter.emit (events.js:193:13)
  76.     at Node.setReadyStatus (/app/src/node/index.ts:180:18)
  77.     at Client.<anonymous> (/app/src/node/socket/client.ts:158:19)
  78.     at Generator.next (<anonymous>)
  79.     at /app/src/node/socket/client.js:7:71
  80.     at new Promise (<anonymous>)
  81.     at __awaiter (/app/src/node/socket/client.js:3:12)
  82.     at Client.messageHandler (/app/src/node/socket/client.js:108:16)
  83.     at Client.<anonymous> (/app/src/node/socket/client.ts:90:20)
  84.     at Generator.next (<anonymous>)
  85.     at /app/src/node/socket/client.js:7:71
  86.     at new Promise (<anonymous>)
  87.     at __awaiter (/app/src/node/socket/client.js:3:12)
  88.     at WebSocket.client.on (/app/src/node/socket/client.ts:80:53)
  89.     at WebSocket.emit (events.js:193:13)
  90.     at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:796:20)
  91.     at Receiver.emit (events.js:193:13)
  92.     at Receiver.dataMessage (/app/node_modules/ws/lib/receiver.js:422:14)
  93.     at Receiver.getData (/app/node_modules/ws/lib/receiver.js:352:17)
  94.     at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:138:22)
  95.     at Receiver._write (/app/node_modules/ws/lib/receiver.js:74:10)
  96.     at doWrite (_stream_writable.js:415:12)
  97.     at writeOrBuffer (_stream_writable.js:399:5)
  98.     at Receiver.Writable.write (_stream_writable.js:299:11)
  99.     at Socket.socketOnData (/app/node_modules/ws/lib/websocket.js:871:35)
  100.     at Socket.emit (events.js:193:13)
  101.     at addChunk (_stream_readable.js:295:12)
  102.     at readableAddChunk (_stream_readable.js:276:11)
  103.     at Socket.Readable.push (_stream_readable.js:231:10)
  104.     at TCP.onStreamRead (internal/stream_base_commons.js:154:17)
  105. 2019-07-21T14:07:18.652Z: info - Received message type: 9
  106. 2019-07-21T14:07:18.656Z: info - Received message type: 9
  107. 2019-07-21T14:08:16.862Z: info - Received message type: 14
  108. 2019-07-21T14:08:17.079Z: info - Connection to the peer '145.239.7.43' closed.
  109. { Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('stan: clientID already registered')
  110.     at Stan.emit (events.js:182:17)
  111.     at Stan.closeWithError (/app/node_modules/node-nats-streaming/lib/stan.js:417:10)
  112.     at Object.nc.requestOne [as callback] (/app/node_modules/node-nats-streaming/lib/stan.js:334:22)
  113.     at Object.sid.subscribe [as callback] (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1929:26)
  114.     at Client.processMsg (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1363:21)
  115.     at Client.processInbound (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:1237:22)
  116.     at Socket.stream.on (/app/node_modules/node-nats-streaming/node_modules/nats/lib/nats.js:738:14)
  117.     at Socket.emit (events.js:193:13)
  118.     at addChunk (_stream_readable.js:295:12)
  119.     at readableAddChunk (_stream_readable.js:276:11)
  120.     at Socket.Readable.push (_stream_readable.js:231:10)
  121.     at TCP.onStreamRead (internal/stream_base_commons.js:154:17) context: 'stan: clientID already registered' }
  122. Sending error to Elastic APM { id: '16734a50a5143e39e342230d0f5286f2' }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top