Closed fisero closed 6 years ago
I made quick fix. You can take changes from proposed pull request.
THX for quick response!
Error message after changes:
Error during performing request : { Error: socket hang up
at createHangUpError (_http_client.js:253:15)
at TLSSocket.socketOnEnd (_http_client.js:345:23)
at emitNone (events.js:91:20)
at TLSSocket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET' }
Do you constantly get this error? Does script stop work after it?
After 30 minutes only 4 errors. All of them from the first 10 minutes after start and script is still running. Blynk server version 0.20.1
edit: All 4 errors appear at one moment.
Ok. This is some kind of network error. There are of bunch of possible reasons. For now it is hard to give answer why this is happening.
That's ok. I just want help to make code more robustness. Thank You for support!
Had the same issue. Turned out that I entered the wrong IP address of my Blynk server. DOH!
After some time (1-3minutes) a homebridge crash with error output:
I have local blynk server running - temperatures are reported by script and read in mobile app. I have configuration in config.json:
Raspberry Pi B; Raspbian Jessie; Node v7.2.1, homebridge 0.4.10; homebridge-blynk 0.3.0