客户端问题
By
nichx
at 2017-04-07 • 0人收藏 • 2577人看过
这个是什么问题啊,手机上显示网络错误
I/System.out: url:http://api.nichx.cn/page/1 D/libc-netbsd: [getaddrinfo]: hostname=api.nichx.cn; servname=(null); cache_mode=(null), netid=0; mark=0 D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0 I/System.out: [CDS]connect[api.nichx.cn/这里是我服务器的ip:80] tm:15 E/Posix: [Posix_connect Debug]Process com.NICHX.carbonforum :80 I/System.out: [OkHttp] sendRequest<< W/System.err: java.io.FileNotFoundException: http://api.nichx.cn/page/1 W/System.err: at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:206) W/System.err: at com.NICHX.carbonforum.util.HttpUtil.postRequest(HttpUtil.java:216) W/System.err: at com.NICHX.carbonforum.IndexActivity$GetTopicsTask.doInBackground(IndexActivity.java:436) W/System.err: at com.NICHX.carbonforum.IndexActivity$GetTopicsTask.doInBackground(IndexActivity.java:374) W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:292) W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/System.err: at java.lang.Thread.run(Thread.java:818)
4 个回复 | 最后更新于 2017-04-10
登录后方可回帖
404