Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app刚开始运行正常,过一段时间,出现 再也无法发送数据的情况,稳定复现 #193

Open
zytq opened this issue May 31, 2021 · 0 comments

Comments

@zytq
Copy link

zytq commented May 31, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant