Node-Red Blync Node Ubuntu AWS Connection Problem

49 views
Skip to first unread message

Trevor Daniel

unread,
Feb 25, 2018, 7:25:05 AM2/25/18
to Node-RED

I have an AWS instance running Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-1052-aws x86_64)

I have Node.js version v9.4.0

I have Node-Red v0.18.3

I am attempting to get any Blync node to work.

I have attempted to install and configure 2 different offerings and neither will work. Reporting that they cannot connect to the server.

I have added the inbound port 8080 to the AWS Security group.

Apart from opening that port is there something else I should have done

Can anyone help me debug this problem? How do I get to any event logs on the AWS box to try and see any error messages?

Any help would be greatly appreciated!

Trevor Daniel

unread,
Feb 25, 2018, 7:39:25 AM2/25/18
to Node-RED
I have managed to get to the Node-Red logs and this error keeps occurring:

0|node-red | open
0|node-red | handle login 187f15b3f3af4f40affccc313feb7b84
0|node-red | Unhandled response { type: 41, typeString: undefined, msgId: 1, status: 19 }
0|node-red | close

Trevor Daniel

unread,
Feb 25, 2018, 7:48:35 AM2/25/18
to Node-RED
I have uninstalled the previous Blynk node and now installed the node-red-contrib-blynk-ws node and now I get these errors:

0|node-red | 25 Feb 12:46:54 - [info] [blynk-ws-client:Weather Station] Start connection: ws://blynk-cloud.com:8080/websockets
0|node-red | 25 Feb 12:46:54 - [info] [blynk-ws-client:Weather Station] login -> 187f15b3f3af4f40affccc313feb7b84
0|node-red | 25 Feb 12:47:09 - [info] [blynk-ws-client:Weather Station] Connection closed: ws://blynk-cloud.com:8080/websockets

It seems unlike that there are problems with both the nodes I have installed as Palettes.

So, there must be something wrong with my server?

Or have I forgotten to enable something on Blynk?

Desperate to get this working lol!

Mark Setrem

unread,
Feb 25, 2018, 10:17:55 AM2/25/18
to Node-RED
Those three messages are Info rather than errors

But if it's still not working you could try on the recommended nodejs version (Node.js LTS 8.x.) and see if it is a change in v9 thats causing the nodes not to work.

Trevor Daniel

unread,
Feb 25, 2018, 10:26:18 AM2/25/18
to Node-RED

Many thanks for taking the time to look at my issue.

I am now getting this error:

0|node-red | 25 Feb 15:24:19 - [info] [blynk-ws-client:Weather Station] Start connection: ws://blynk-cloud.com:8080/websockets
0|node-red | 25 Feb 15:24:19 - [info] [blynk-ws-client:Weather Station] login -> 187f15b3f3af4f40affccc313feb7b84
0|node-red | 25 Feb 15:24:19 - [info] [blynk-ws-client:Weather Station] SEND -> Cmd: LOGIN Id: 1 Data: "\u0002\u0000\u0001\u0000 187f15b3f3af4f40affccc313feb7b84"
0|node-red | 25 Feb 15:24:19 - [info] [blynk-ws-client:Weather Station] RECV <- Cmd: CONNECT_REDIRECT, Id: 1, responseCode: SERVER_EXCEPTION
0|node-red | 25 Feb 15:24:34 - [info] [blynk-ws-client:Weather Station] Connection closed: ws://blynk-cloud.com:8080/websockets

For websockets do I just open TCP port 8080?


Trevor Daniel

unread,
Feb 25, 2018, 10:37:55 AM2/25/18
to Node-RED
I have just checked the address for the Blynk server and it connects using this website...


Trev


Thomas Voss

unread,
Mar 5, 2018, 3:19:00 PM3/5/18
to Node-RED
Exactly the same issue here, Trevor. Have you found a solution by now?

Thomas
Reply all
Reply to author
Forward
0 new messages