Issues with Websocket connection #1755
-
I have built an arduino based roaster controller that communicates via websockets, and would like to use Artisan for data logging. However, I have having problems getting websockets working properly in Artisan. Artisan just continually connects, disconnects, connects, disconnects... In the arduino serial monitor, I can see the connection occurring, and the request being received. Here is the Artisan ports screen: And here is the serial monitor showing the connect created, event received, and the output that is sent back: And here is the artisan message historys; Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Which version of Artisan are you using? |
Beta Was this translation helpful? Give feedback.
-
Artisan 3.1.0 (a0c9448) |
Beta Was this translation helpful? Give feedback.
Looking at the debug log, it looks like the issue may be that the arduino is sending a generic "Hello from RoastPilot Main" message after each connect, and Artisan may not like receiving a message that was not expected.
artisan.log
Let me remove that connection message and see if it helps...