I am working on a project with my raspi 3 in which I control LEDs that are connected to my raspi via code that I wrote. After I completed it I wanted to control it with my phone instead of the code that I wrote before. So I googled and found Blynk. I followed the instructions exactly and after multiple attempts, I got to the point where no command that I typed gave an error message. except for the final one. If I type in >> blynk-client bGFyKlOsxkSMuTR_K7St-nQo45zN_JTq
<< it seems to be working:
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
Give Blynk a Github star! => https://github.com/vshymanskyy/blynk-library-js
Connecting to: blynk-cloud.com 443
Redirecting to 22.214.171.124 : 80
Connecting to: 126.96.36.199 80
But then it gives me a lot of error messages:
throw err; // Unhandled 'error' event ^ Error [ERR_UNHANDLED_ERROR]: Unhandled error. (ECONNRESET) at Blynk.emit (events.js:178:17) at Blynk.error (/usr/local/lib/node_modules/blynk-library/blynk.js:649:8) at exports.SslClient.<anonymous> (/usr/local/lib/node_modules/blynk-library/ blynk.js:612:48) at exports.SslClient.emit (events.js:189:13) at TLSSocket.<anonymous> (/usr/local/lib/node_modules/blynk-library/blynk-no de.js:223:16) at TLSSocket.emit (events.js:189:13) at emitErrorNT (internal/streams/destroy.js:82:8) at process._tickCallback (internal/process/next_tick.js:63:19)
I have spend a whole day trying to figure it out. I looked through a lot of helping websites and tutorials but either they had different problems or no solution. I’m sorry if that Problem is already solved and i was too blind to find it but tried to look everywhere.
I´m using the Raspberry pi 3
The pi is running with the latest version of raspian
I have connected the pi to my pc via ssh
I have a Samsung phone with android 8.0
I hope that somebody knows what to do with that problem.
If you need any additional information let me know.