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
Describe the bug
The Websocket-Chat example does not seem to work with Chrome and Safari.
How To Reproduce
Steps to reproduce the behavior:
Add the following line to HTTPSServer.hpp: #define HTTPS_LOGLEVEL 4
for a detailed log of the server's activity.
Compile and upload.
Reset the esp32 board.
Access the esp32 server using the Firefox browser from two browser windows.
Make the connection as two different users.
Observe that the example works nicely.
Repeat 4-5 from two Safari browser windows.
Note that the browser drops the socket connection immediately after serial monitor message "Creating new chat client!". Same behavior on Mac OS and IOS.
Repeat 4-5 from two Chrome browser windows.
Note that the server hangs: it never prints the "Creating new chat client!" message.
Expected Behavior
The (very nice) Websocket-Chat example is expected to work on most of the popular browsers.
Actual Behavior
The Websocket-Chat example works beautifully, but only with Firefox.
ESP32 Module
Specifications of my module:
Board: AI Thinker ESP32-CAM
RAM/PSRAM: 320K
Flash Size: 4MB
Separate UART USB adapter
Same behavior on Wemos D1 mini board, btw.
Software (please complete the following information if applicable)
Arduino 1.8.13
OS: Ubuntu 20.04 and Mac OS 11.2.3
Client used to access the server: Firefox 86.0.1 and 87.0, Chrome 89.0.4389.128, Safari 14.0.3 (16610.4.3.1.7)
Hello, I had a problem with chrome that exhibited the same symptoms. Oddly enough it worked much better with Edge (did not try with firefox or safari).
I solved with this pull request: #123
Thanks a lot Vincenzo, that solves the Chrome issue!
The Safari issue remains (client disconnects for some hard to detect cause), but with Chrome and Firefox both working this is now a minor issue as most iphone/ipad users are familiar with Chrome as well as Safari.
Describe the bug
The Websocket-Chat example does not seem to work with Chrome and Safari.
How To Reproduce
Steps to reproduce the behavior:
#define HTTPS_LOGLEVEL 4
for a detailed log of the server's activity.
Expected Behavior
The (very nice) Websocket-Chat example is expected to work on most of the popular browsers.
Actual Behavior
The Websocket-Chat example works beautifully, but only with Firefox.
ESP32 Module
Specifications of my module:
Same behavior on Wemos D1 mini board, btw.
Software (please complete the following information if applicable)
Additional context
Copies of the serial monitor are attached
debug_firefox.txt
debug_safari.txt
debug_chrome.txt
.
The text was updated successfully, but these errors were encountered: