alexyak / stocks

Stocks module for MagicMirror
14 stars 16 forks source link

uncaught exception #15

Open schado opened 3 years ago

schado commented 3 years ago

Hallo guys,

this Error crashed my magic mirror on the local website. Does anyone know how to fix it ?

Whoops! There was an uncaught exception... [2020-12-19 22:31:42.271] [ERROR] Error: Error: Client network socket disconnected before secure TLS connection was established at Request._callback (/home/pi/MagicMirror/modules/MMM-stocks/node_helper.js:48:27) at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:877:8) at ClientRequest.emit (events.js:198:13) at TLSSocket.socketErrorListener (_http_client.js:401:9) at TLSSocket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19) [2020-12-19 22:31:42.304] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-12-19 22:31:42.306] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-12-19 22:31:42.313] [ERROR] Whoops! There was an uncaught exception... [2020-12-19 22:31:42.317] [ERROR] Error: Error: Client network socket disconnected before secure TLS connection was established at Request._callback (/home/pi/MagicMirror/modules/MMM-stocks/node_helper.js:48:27) at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:877:8) at ClientRequest.emit (events.js:198:13) at TLSSocket.socketErrorListener (_http_client.js:401:9) at TLSSocket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19) [2020-12-19 22:31:42.324] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-12-19 22:31:42.330] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-12-19 22:31:42.339] [ERROR] Whoops! There was an uncaught exception... [2020-12-19 22:31:42.348] [ERROR] Error: Error: Client network socket disconnected before secure TLS connection was established at Request._callback (/home/pi/MagicMirror/modules/MMM-stocks/node_helper.js:48:27) at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:877:8) at ClientRequest.emit (events.js:198:13) at TLSSocket.socketErrorListener (_http_client.js:401:9) at TLSSocket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19)