I've just try an android sample project of implementation of socket.io in this github https://github.com/socketio/socket.io-client-java
The first i tried, it run normally. The android socket connected with my server and communicate with my nodejs script without any problem. But, when I added signpost library from okhttp to my build.grade,
compile 'se.akerfeldt:okhttp-signpost:1.0.0'
I found a problem. The app connected with the server at the first time, but after some minutes, the socket automatically disconnect and reconnect repeatedly.

Any Solution?
I've just try an android sample project of implementation of socket.io in this github https://github.com/socketio/socket.io-client-java
The first i tried, it run normally. The android socket connected with my server and communicate with my nodejs script without any problem. But, when I added signpost library from okhttp to my build.grade,
I found a problem. The app connected with the server at the first time, but after some minutes, the socket automatically disconnect and reconnect repeatedly.
Any Solution?