关于Android中使用hessdroid的问题,请高手帮忙
最近使用Hessian作为Android的服务端,目前有个很奇怪的问题,内网测试没问题,但是映射到外网,使用外网外网访问就会出现socket timeout的错误,经过监测,服务端是能够接到请求的,而且做出了反馈,但是客户端显示超时,不知道是不是因为传输的内容过大呢原因呢?请高手帮忙谢谢 --------------------编程问答-------------------- 补充一下错误信息,麻烦大家帮忙看看,谢谢了12-16 15:02:57.380: W/System.err(4499): com.caucho.hessian.client.HessianConnectionException: 500: java.net.SocketTimeoutException
12-16 15:02:57.380: W/System.err(4499): at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:197)
12-16 15:02:57.390: W/System.err(4499): at $Proxy0.login(Native Method)
12-16 15:02:57.390: W/System.err(4499): at com.honor.android.coach.comm.LoginService$2.run(LoginService.java:60)
12-16 15:02:57.390: W/System.err(4499): Caused by: java.net.SocketTimeoutException
12-16 15:02:57.390: W/System.err(4499): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:492)
12-16 15:02:57.390: W/System.err(4499): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
12-16 15:02:57.390: W/System.err(4499): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:241)
12-16 15:02:57.390: W/System.err(4499): at java.io.InputStream.read(InputStream.java:163)
12-16 15:02:57.390: W/System.err(4499): at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:142)
12-16 15:02:57.390: W/System.err(4499): at java.io.BufferedInputStream.read(BufferedInputStream.java:227)
12-16 15:02:57.390: W/System.err(4499): at libcore.io.Streams.readAsciiLine(Streams.java:201)
12-16 15:02:57.390: W/System.err(4499): at libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560)
12-16 15:02:57.390: W/System.err(4499): at libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813)
12-16 15:02:57.390: W/System.err(4499): at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:274)
12-16 15:02:57.390: W/System.err(4499): at libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:486)
12-16 15:02:57.390: W/System.err(4499): at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:167)
12-16 15:02:57.390: W/System.err(4499): ... 2 more
12-16 15:02:57.390: W/System.err(4499): com.caucho.hessian.client.HessianConnectionException: 500: java.net.SocketTimeoutException
12-16 15:02:57.390: W/System.err(4499): at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:197)
补充:移动开发 , Android