UniversalDevicesInc/polyglot-v2

Nodeserver connect/disconnect with no info

Opened this issue · 5 comments

The nodeserver log just says over and over:

2019-11-07 10:02:06,578 [Interface ] [INFO ] Sent Connected message to Polyglot
2019-11-07 10:02:07,669 [Interface ] [INFO ] MQTT Connected with result code 0 (Success)
2019-11-07 10:02:07,673 [Interface ] [INFO ] MQTT Unexpected disconnection. Trying reconnect.

While polyglot log says over and over:

11/7/2019, 10:03:24 [polyglot] info: MQTTS: Client Disconnected:
11/7/2019, 10:03:24 [polyglot] info: MQTTS: Client Connected:

Checked the machine and there were 2 copies of this nodeserver running. Killed both of them, then tried to start from Polyglot UI and it would not start up.

You have multiple versions of the same nodeserver running. It disconnects everytime the other one connects, then vice versa. kill all running versions of the nodeserver and then start it as normal.

Right, I realized that but would be nice to know what was happening somehow. Something like "Client Disconnect because another one connected" Others on the forum have reported similar issues and require complete restart to fix. Also, not sure why I couldn't start it up again.