Error undefined in Java sketch

Today I switched from Cloud to Local Server on my Raspberry 2.
-> Server started successfully.
->Made a new .js file.
->Only added
var Blynk = require('blynk-library'); var AUTH = '76b78e5ea0604d7f82d8c19cc45d017c'; var exec = require('child_process').exec, child; var blynk = new Blynk.Blynk(AUTH, options= {addr:"192.168.0.30"});
->Started the script with node test.js
and the Result is:
Connecting to SSL: 192.168.0.30 8441 Error undefined

Server Version: 0.16.4
node Version: 0.12.6-1

Anybody could Help?

Please try is plain TCP example works first.
If it works, maybe you just need to update your SSL certificates.

1 Like

I had the same thing, switched to TCP plain and it worked fine. Still have to see about certs, but I’m too lazy now, lol.

Where do I find an example for plain TCP?

Edit:
Ok I got it working.
I just connect via TCP to my locally running server.
var blynk = new Blynk.Blynk(AUTH, options = { connector : new Blynk.TcpClient( options = { addr:"127.0.0.1", port:8442 } ) });