We have hosted web socket server application(that written with autobahn library) in amazon cloud. Android mobile applications that we have implemented with autobahn library can connecting to that server. We can successfully connect to server from mobile app and send/receive messages to and from the server. After some times web socket connection in Android app hangs on.
The method connection.isConnected() method returns true, but cannot send or receives messages from the web socket server.