You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions