nttcom / skyway-iot-sdk

A project page for SkyWay IoT SDK
25 stars 4 forks source link

Segmentation fault (core dumped) after about ten minutes running on Raspbian Jessie #8

Open DuongHieuMAI opened 6 years ago

DuongHieuMAI commented 6 years ago

Hello guys,

Thank you for making a great rtc application that can run on raspberry Pi. However, after 10 minutes running with sample app here: https://github.com/nttcom/skyway-iot-sdk/blob/master/docs/how_to_use_sample_app.md I got these errors, please help.

(node:1640) UnhandledPromiseRejectionWarning: FetchError: request to https://127.0.0.1:8089/janus/682370969244388?rid=1530849565714&maxev=1&_=1530849565714 failed, reason: socket hang up at ClientRequest. (/usr/lib/node_modules/skyway-signaling-gateway/node_modules/node-fetch/index.js:133:11) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketOnEnd (_http_client.js:423:9) at emitNone (events.js:111:20) at TLSSocket.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/nexttick.js:180:9) (node:1640) 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: 1) (node:1640) [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. (node:1640) UnhandledPromiseRejectionWarning: FetchError: request to https://127.0.0.1:8089/janus/3164327382576515?rid=1530849563835&maxev=1&=1530849563835 failed, reason: socket hang up at ClientRequest. (/usr/lib/node_modules/skyway-signaling-gateway/node_modules/node-fetch/index.js:133:11) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketOnEnd (_http_client.js:423:9) at emitNone (events.js:111:20) at TLSSocket.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) (node:1640) 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)

I'll be very grateful if you can help. Thank you in advance.

Best regards, Duong Hieu,