java.net.UnknownHostException: Unable to resolve host "api1.51zhenghao.cn": No address associated w

10-12 18:26:21.690 2615-2615/com.moreunion.zhenghao W/System.err: java.net.UnknownHostException: Unable to resolve host "api1.51zhenghao.cn": No address associated with hostname
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:125)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at java.net.InetAddress.getAllByName(InetAddress.java:752)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.Dns$1.lookup(Dns.java:39)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:173)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.RouteSelector.nextProxy(RouteSelector.java:139)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.RouteSelector.next(RouteSelector.java:81)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:172)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:123)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:93)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:296)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.RealCall.getResponse(RealCall.java:243)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at com.example.yilibrary.net.weining.ServiceFactory$1.intercept(ServiceFactory.java:144)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at okhttp3.RealCall.execute(RealCall.java:57)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at retrofit2.OkHttpCall.execute(OkHttpCall.java:174)
10-12 18:26:21.691 2615-2615/com.moreunion.zhenghao W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:171)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber$1.request(OperatorSubscribeOn.java:109)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.producers.ProducerArbiter.setProducer(ProducerArbiter.java:126)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.operators.OnSubscribeRedo$2$1.setProducer(OnSubscribeRedo.java:267)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.setProducer(OperatorSubscribeOn.java:105)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.Subscriber.setProducer(Subscriber.java:205)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.Observable.unsafeSubscribe(Observable.java:10346)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:230)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
10-12 18:26:21.692 2615-2615/com.moreunion.zhenghao W/System.err:     at java.lang.Thread.run(Thread.java:776)
10-12 18:26:21.693 2615-2615/com.moreunion.zhenghao W/System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
10-12 18:26:21.693 2615-2615/com.moreunion.zhenghao W/System.err:     at libcore.io.Posix.android_getaddrinfo(Native Method)
10-12 18:26:21.693 2615-2615/com.moreunion.zhenghao W/System.err:     at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
10-12 18:26:21.693 2615-2615/com.moreunion.zhenghao W/System.err:     at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:106)
10-12 18:26:21.693 2615-2615/com.moreunion.zhenghao W/System.err:  ... 38 more

你可能感兴趣的:(Android)