socket.io-client-java icon indicating copy to clipboard operation
socket.io-client-java copied to clipboard

Android auto disconnect

Open gaohomway opened this issue 3 years ago • 3 comments

It automatically disconnects and reconnects every 20 seconds or so.

It's confusing to automatically disconnect even if there is no successful connection.

By the way how to open the log?

Android Version :

implementation ('io.socket:socket.io-client:2.0.1') {
        exclude group: 'org.json', module: 'json'
    }

Nodejs Servier Version :

"socket.io": "4.4.1",

gaohomway avatar Feb 23 '22 08:02 gaohomway

@darrachequesne Do you have a good way to solve this problem

gaohomway avatar Mar 06 '22 13:03 gaohomway

It automatically disconnects and reconnects every 20 seconds or so.

It's confusing to automatically disconnect even if there is no successful connection.

By the way how to open the log?

Android Version :

implementation ('io.socket:socket.io-client:2.0.1') {
        exclude group: 'org.json', module: 'json'
    }

Nodejs Servier Version :

"socket.io": "4.4.1",

Did u resolved this problem?

immohanravi avatar Mar 30 '22 07:03 immohanravi

@immohanravi Solved because I used DNS global acceleration. Find a service provider.

gaohomway avatar Mar 30 '22 07:03 gaohomway