-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket occasionally stuck on Android 2.3 browser #188
Comments
Thanks a lot for the thorough report. Does the server end respond in 100% of the cases? Can you analyze the network traffic? |
Here is the server side log, then nada: (let me know if any more data can help). BTW - from my experience, network logs won't help. When onreadystatechange is never called, the request was killed browser side (e.g. I've seen it on CORS issues, etc - not the case here).
Here is the client side, it's a bit mangled since the built-in debug code doesn't work (no console.log in this WebView, so the parameters become a mess). That's all there is - 25 seconds after the message send attempt the socket tries to send a ping, that doesn't seem to go anywhere. If I close and re-open the socket then the bug may or may not occur, again.
|
This is still an issue in 1.1.0. I just noticed in my Android code that I'm delaying the first message after |
Weird. Does this still happen? Specific to Android 2.3 (not in newer browsers)? |
@rase- yes, very weird. Unfortunately I don't have access to an Android 2.3 device at the moment, but as you can see this was still occurring fairly recently. This was occurring on a Nexus S running 2.3.6. Never seen it happen with Android 4+. I will try again if I get my Gingerbread device back. |
Thanks for getting back to me @mokesmokes. Unfortunately I don't have access to an Android 2.3 device either. Browserstack has 2.3 so I'll see if I can debug via that. @guille, we should set that up in zuul as an alternate test suite or something. |
@mokesmokes have you still had this happen to you lately (new releases)? |
@rase- I'll give it a shot in a few days. I've always been working around it by delaying the first message, as noted above. |
@rase- I haven't seen any issues with polling and 1.3.6, but feature detection seems to fail. When I specify |
Closed due to inactivity, please reopen if needed. |
Here's a scenario that occurs in about 20% of cases with Android 2.3 browser (using engine.io 0.6.3 in a WebView in an app)
Notes:
The text was updated successfully, but these errors were encountered: