-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Android] Cannot close WebSocket.
repeatedly
#8949
Comments
@facebook-github-bot label Android |
cc @frantic |
I also see this.
|
Yeah, I can confirm that this is happening for me as well. |
I have same problem, using |
Seeing the same thing on |
+1 |
+1,V0.30 |
+1 |
I'm having the same problem, using v0.30. |
+1 / v0.30 |
+1 |
+1, v0.30 |
+1 v0.30 |
+1 I just upgraded from 0.29 which didn't have this issue. |
+1 v0.30 |
I would like to add after upgrading to v0.30 I am seeing this too. When you enable remote debugging the log also spams a lot more. |
I started getting these warning messages after creating and adding some native Android modules. v0.30 |
+1. Started seeing it with 0.30 as well (0.29 did not have this). |
+1 v0.30 |
+1 v0.30 (w/ custom native packages registered) |
+1 v0.30 |
2 similar comments
+1 v0.30 |
+1 v0.30 |
+1 Upgraded from 0.24 to 0.30. It has caused all firebase communication to halt. |
Upgrading to |
Similar Issue: `
` |
same issue as @rimzici on RN 42.3 |
I've got a similar issue. After a network reconnect I've got this one: On iOS there is no such error. I've got the app logic to close the websocket after network reconnect and open a new one. On iOS this logic works perfectly. But on Android I've this error. I guess the nature of this error is the same as in the original post. What are we going to do about it? |
+1 |
@guysegal It's the most common crash in production for me as well. They need to fix this ASAP |
+1 |
@guysegal @danieldelouya guys, does anyone know how can we draw the RN's team attention to this? |
+ 1 |
before you construct a new WebSocket instance, you need release your prev instance
it works for me |
@jiyarong the thing is that this error appears after network reconnect on |
@jiyarong I have the following code in place:
but I can still get the error. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Any update? |
It looks like this issue is no longer tracking a particular failure. If you run into a WebSocket error like the above in 0.55 or newer, please open a new issue with more information. |
I upgraded my project from 0.28 to 0.30 and since I have, on Android, this warning message every 2-3 seconds:
With the id increasing.
I did a fresh
react-native init
and it also appears. So it's not my project related.The text was updated successfully, but these errors were encountered: