ConnectSDK / Connect-SDK-Android

Android source project for Connect SDK
Apache License 2.0
308 stars 130 forks source link

App freeze on network change #404

Open VishV-Android opened 1 year ago

VishV-Android commented 1 year ago

When device become disconnected or when device change it's network at that time App becomes freeze and after a while ### App Crash. Is anyone getting this problem?

muhammad-hamza-shahid commented 9 months ago

Getting this issue aswell socket gets closed due to uncertain reason with this stack trace java.net.SocketException: Socket closed at libcore.io.Linux.recvfromBytes(Native Method) at libcore.io.Linux.recvfrom(Linux.java:211) at libcore.io.ForwardingOs.recvfrom(ForwardingOs.java:639) at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:355) at libcore.io.ForwardingOs.recvfrom(ForwardingOs.java:639) at libcore.io.IoBridge.recvfrom(IoBridge.java:753) at java.net.PlainDatagramSocketImpl.doRecv(PlainDatagramSocketImpl.java:154) at java.net.PlainDatagramSocketImpl.receive0(PlainDatagramSocketImpl.java:142) at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:164) at java.net.DatagramSocket.receive(DatagramSocket.java:849) at com.connectsdk.discovery.provider.ssdp.SSDPClient.multicastReceive(SSDPClient.java:109) at com.connectsdk.discovery.provider.SSDPDiscoveryProvider$4.run(SSDPDiscoveryProvider.java:268) at java.lang.Thread.run(Thread.java:1012)

SumitShukla007 commented 2 months ago

Facing similar issue. Have you found any solution?

VishV-Android commented 2 months ago

@SumitShukla007 Not yet found any solution. When I find it, I will let you know.