Skip to content
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 is disconnected and again connected every few seconds with error #141

Open
Snofkin opened this issue Sep 16, 2020 · 2 comments
Open
Assignees

Comments

@Snofkin
Copy link

Snofkin commented Sep 16, 2020

I am having an issue as tthe socket is disconnected and again connected every evere few seconds .I have already added
android:usesCleartextTraffic="true" in my manefist file. My log is as below

D/Adhara:Socket(32095): Socket triggered::connect
I/flutter (32095): connected...
I/flutter (32095): null
D/Adhara:Socket(32095): Socket triggered::connect_error
D/Adhara:Socket(32095): Socket triggered::error
I/flutter (32095): io.socket.engineio.client.EngineIOException: xhr poll error
D/Adhara:Socket(32095): Socket triggered::disconnect
I/flutter (32095): transport error
W/System (32095): A resource failed to call response.body().close().
D/Adhara:Socket(32095): Socket triggered::connect_error
D/Adhara:Socket(32095): Socket triggered::connect
I/flutter (32095): connected...
I/flutter (32095): null
D/Adhara:Socket(32095): Socket triggered::connect_error
D/Adhara:Socket(32095): Socket triggered::error
D/Adhara:Socket(32095): Socket triggered::disconnect

@Snofkin Snofkin changed the title Socket is connected and also triggering erros every few seconds socket is disconnected and again connected every evere few seconds with error Sep 16, 2020
@Snofkin Snofkin changed the title socket is disconnected and again connected every evere few seconds with error socket is disconnected and again connected every few seconds with error Sep 16, 2020
@vikas-shrma
Copy link

@Snofkin any update on this ?

@tiholic
Copy link
Contributor

tiholic commented Apr 15, 2021

@Snofkin @vksBhardwaj
Please share a code sample and server socket.io version to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants