-
Notifications
You must be signed in to change notification settings - Fork 575
-
I am trying to connect my ESP32 to a server using socket.io.
The server is working for the socketios's examples (chat and whiteboard), but I can not connect my ESP32 to it.
It is not working.
I tried using ws://my_server and it failed.
I tried using https://my_server and it failed.
Please can anyone help me.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Can you help me @Links2004?
Beta Was this translation helpful? Give feedback.
All reactions
-
Is the problem solved now?
Anyway, I had the same issue. Apparently the socket.io library is not supported on my board. So I had to use the web sockets. In the server use web sockets instead of socket.io if possible or if you really need socket.io, use both socket.io and web sockets and connect the input/output of them.
Beta Was this translation helpful? Give feedback.
All reactions
-
If you are using web sockets on the board it will not connect to the socket.io server since socket.io uses a slightly higher level protocol which uses web sockets and not web sockets itself.
Beta Was this translation helpful? Give feedback.