Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NSURLSession Websockets #768

Unanswered
teknoel asked this question in Q&A
Discussion options

Hi @Links2004,

Can please tell me if this library works 100% with NSURLSession websocket clients?

I have been using AsyncWebServer by me-no-dev, however his socket server is not compatible with clients using NSURLSession Websockets. Both MacOS and iOS Safari browsers and now Chrome for iOS cause the ESP Async WebSocket Server to instantly crash simply upon closing and reopening a socket connection. No actual data messages need to be sent or received at and, and the ESP will crash. It took me a while to figure out the issue is related to NSURLSession websocket transport. I'm not a internet protocol developer, so I don't have the expertise to deep dive into this further. This is as far as I've been able to figure out.

I've been developing a consumer product over the past two years that requires a websocket server in an ESP8266. Everything has been working absolutely terrific, except for the growing incompatibility with NSURLSession WebSocket transport. Unfortunately, me-no-dev is no longer supporting his libraries. I'm assuming you know the library? https://github.com/me-no-dev/ESPAsyncWebServer

I'm wishing your arduinoWebSocket server is more robust that the AsyncWebServer library? I'm overwhelmed with tasks lately so I'm hoping you can give me a straight up answer before I devote some time to figure out if your library is compatible or not for myself.

Sincerely,

Noel Rubin

http://teknoel.com

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /