启动程序让程序自动登录,在自动登录时会偶发连接失败,然后页面就会卡在第一个界面,
不知道怎么解决一下,在线等大神。
09-08 09:45:57.976: W/System.err(23019): java.net.ConnectException: failed to connect to hk.server.zeepson.com/23.97.74.18 (port 8443) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
09-08 09:45:57.976: W/System.err(23019): at libcore.io.IoBridge.isConnected(IoBridge.java:238)
09-08 09:45:57.976: W/System.err(23019): at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
09-08 09:45:57.976: W/System.err(23019): at libcore.io.IoBridge.connect(IoBridge.java:122)
09-08 09:45:57.976: W/System.err(23019): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
09-08 09:45:57.976: W/System.err(23019): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
09-08 09:45:57.976: W/System.err(23019): at java.net.Socket.connect(Socket.java:882)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.Platform.connectSocket(Platform.java:139)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.Connection.connect(Connection.java:1194)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:392)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:295)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:208)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
09-08 09:45:57.981: W/System.err(23019): at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:25)
09-08 09:45:57.981: W/System.err(23019): at com.zeepson.smartbox.util.GetPostUtil.sendPost(GetPostUtil.java:81)
09-08 09:45:57.981: W/System.err(23019): at com.zeepson.smartbox.util.JsonDataHandle.gettime(JsonDataHandle.java:81)
09-08 09:45:57.981: W/System.err(23019): at com.zeepson.smartbox.v2.MainActivity$3.run(MainActivity.java:289)
09-08 09:45:57.986: W/System.err(23019): at java.lang.Thread.run(Thread.java:818)
09-08 09:45:57.986: W/System.err(23019): Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
09-08 09:45:57.986: W/System.err(23019): at libcore.io.IoBridge.isConnected(IoBridge.java:223)
09-08 09:45:57.986: W/System.err(23019): ... 18 more
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。