Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

ROR Backend - Android App Error ActionCableException: java.net.SocketException: Socket closed

$
0
0

RubyOnRails APIs are using ActionCable to connect to the socket for live tracking.

There are two Android apps Driver and Customer. Drivers are broadcasting their locations and customers are subscribing.

Sometimes everything looks fine on the apps and backend but the maximum time apps start throwing the error while connecting the action cable:

ActionCableException: java.net.SocketException: Socket closed

RubyOnRails Application is deployed over the Nginx and passenger.

Here are the logs I am getting

error ignoring messages processed after the websocket was closed

Please help me to know the reason and some solution to overcome from here.

Thanks.


Viewing all articles
Browse latest Browse all 873

Trending Articles