-
Notifications
You must be signed in to change notification settings - Fork 3k
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
net::ERR_INTERNET_DISCONNECTED #1236
Comments
just use cordova events for |
Do you mean on My workaround so far is, whenever an error from server is received make an |
For future readers: Added in the documentation here: https://socket.io/docs/v3/logging-and-debugging/#Error-logs-in-the-browser-console |
I'm currently working on an app that I managed to store the needed response from the server, altho, whenever I turn off wifi (or disconnect from the current WiFi network) I get this annoying
net::ERR_INTERNET_DISCONNECTED
. I know It's obious It's trying to connect to the server, but how to I set the socket to ignore that fact?I'm using Ionic 3.20 and this cordova plugin socket.io-client.
The text was updated successfully, but these errors were encountered: