I am using socket.io-client.java and socket.io 1.2.1 on my node server for my android project and the android socket connects with the server fine but after some minutes it automatically disconnect and reconnect repeatedly. i can't figure out the problem, can someone help me? i am using socket.io-client-0.1.1.jar, engine.io-client-0.2.1.jar and Java-WebSocket-1.3.0.jar libraries. here is the java code
and here is the server side code
asked 09 Jan '15, 12:26 Miqe |
192.168.169.2 is not a WebFaction server IP, so we're not able to tell you why your app might have trouble maintaining a connection to it. answered 09 Jan '15, 20:06 seanf |