njovy / AppRTCDemo

Android AppRTC Demo of WebRTC project
534 stars 266 forks source link

de.tavendo.autobahn.WebSocketConnection: Connection Lost, Disconnecting in 2 minutes #93

Open ramyav28 opened 2 years ago

ramyav28 commented 2 years ago

I am using de.tavendo.autobahn in my WebRTC video call android application (AppRTC).

The call gets disconnected exactly in 2 mins with the following error:

D/de.tavendo.autobahn.WebSocketReader: run() : ConnectionLost 2022-04-12 14:18:49.245 27638-5191/org.appspot.apprtc D/de.tavendo.autobahn.WebSocketReader: WebSocket reader ended. 2022-04-12 14:18:49.245 27638-4942/org.appspot.apprtc D/de.tavendo.autobahn.WebSocketConnection: fail connection [code = CONNECTION_LOST, reason = WebSockets connection lost

I used this demo code https://github.com/njovy/AppRTCDemo with some customizations in my application and hosted it in a private server.

Can anyone help me on this issue?