Connection failure during the WebSocket handshake
nicolas-rabault opened this issue · 1 comments
nicolas-rabault commented
I'm trying to connect my MKR1000 to a WebSocket python server.
My program get stuck after the client.begin();
I enabled the #define LOGGING and add some prints to see were the code fail.
I can connect to the server but then, during the upgrade sequence I'm stuck on sendHeader("Sec-WebSocket-Key", base64RandomKey);
I don't understand why this is failing at this point.
Did someone have any idea?
nicolas-rabault commented
I tried on another LAN and the code worked, so it seems that the port I'm using (8000) was blocked by the router.