app刚开始运行正常,过一段时间,出现 再也无法发送数据的情况,稳定复现
zytq opened this issue · 0 comments
05-31 04:43:26.952 1154 20417 W System.err: OkSocket, Socket server 192.7.8.88:8888 connect failed! error msg:failed to connect to /192.7.8.88 (port 8888) from /192.7.8.88(port 35144) after 5000ms
05-31 04:43:26.954 1154 1217 E X-LOG : SocketClient, SocketActionAdapter onSocketConnectionFailed info={"mIp":"192.7.8.88","mPort":8888},p0=com.xuhao.didi.socket.client.sdk.client.ConnectionInfo@e84ff139
05-31 04:43:26.955 1154 1217 W System.err: com.xuhao.didi.socket.client.impl.exceptions.UnConnectException: java.net.SocketTimeoutException: failed to connect to /192.8.8.88 (port 8888) from /192.7.8.88 (port 35144) after 5000ms
05-31 04:43:26.955 1154 1217 W System.err: at com.xuhao.didi.socket.client.impl.client.ConnectionManagerImpl$ConnectionThread.run(ConnectionManagerImpl.java:210)
05-31 04:43:26.968 1154 20418 I System.out: OkSocket, connection thread is done. disconnection thread going on
05-31 04:43:26.969 1154 20418 I System.out: OkSocket, mActionHandler is detached.
05-31 04:43:26.971 1154 1217 W System.err: Caused by: java.net.SocketTimeoutException: failed to connect to /192.8.8.88 (port 8888) from /192.7.8.88 (port 35144) after 5000ms
05-31 04:43:26.971 1154 1217 W System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:185)
05-31 04:43:26.972 1154 1217 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:129)
05-31 04:43:26.972 1154 1217 W System.err: at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:137)
05-31 04:43:26.972 1154 1217 W System.err: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
05-31 04:43:26.972 1154 1217 W System.err: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
05-31 04:43:26.972 1154 1217 W System.err: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
05-31 04:43:26.972 1154 1217 W System.err: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
05-31 04:43:26.972 1154 1217 W System.err: at java.net.Socket.connect(Socket.java:621)
05-31 04:43:26.972 1154 1217 W System.err: at com.xuhao.didi.socket.client.impl.client.ConnectionManagerImpl$ConnectionThread.run(ConnectionManagerImpl.java:200)
05-31 04:43:26.975 1154 20418 W System.err: OkSocket, socket is disconnecting because: java.net.SocketTimeoutException: failed to connect to /10.7.5.88 (port 8888) from /192.7.8.88(port 35142) after 5000ms
05-31 04:43:26.984 1154 20442 W System.err: OkSocket, socket is disconnecting because: java.net.SocketTimeoutException: failed to connect to /10.7.5.88 (port 8888) from /192.7.8.88 (port 35144) after 5000ms
05-31 04:43:27.798 1154 1685 W System.err: java.io.IOException: sendto failed: EPERM (Operation not permitted)
05-31 04:43:27.799 1154 1685 W System.err: at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:576)
05-31 04:43:27.799 1154 1685 W System.err: at libcore.io.IoBridge.sendto(IoBridge.java:544)
05-31 04:43:27.799 1154 1685 W System.err: at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:125)
05-31 04:43:27.799 1154 1685 W System.err: at java.net.DatagramSocket.send(DatagramSocket.java:721)
05-31 04:43:27.801 1154 1685 W System.err: at libcore.io.Linux.sendtoBytes(Native Method)
05-31 04:43:27.801 1154 1685 W System.err: at libcore.io.Linux.sendto(Linux.java:227)
05-31 04:43:27.801 1154 1685 W System.err: at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:307)
05-31 04:43:27.801 1154 1685 W System.err: at libcore.io.IoBridge.sendto(IoBridge.java:542)
05-31 04:43:27.801 1154 1685 W System.err: ... 6 more