Rsplwe / ESurfingDialer

广东电信天翼校园(ZSM验证)登入认证客户端
Apache License 2.0
100 stars 11 forks source link

一直卡错误循环是什么原因 #69

Open PolarWS opened 1 month ago

PolarWS commented 1 month ago

[21:59:03 456] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

一直卡在这循环然后要重启程序才能正常连通,是什么原因。

Rsplwe commented 1 month ago

有更完整的错误日志吗

PolarWS commented 1 month ago

[10:10:50 944] INFO [com.rsplwe.esurfing.network.RedirectInterceptor] (RedirectInterceptor:28) - Redirect #10 [10:10:50 944] INFO [com.rsplwe.esurfing.network.RedirectInterceptor] (RedirectInterceptor:29) - Url: http://connect.rom.miui.com/generate_204 [10:10:50 944] INFO [com.rsplwe.esurfing.network.RedirectInterceptor] (RedirectInterceptor:30) - Response Code: 302 [10:10:50 947] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.net.UnknownHostException: enet.10000.gd.cn at java.base/java.net.InetAddress$CachedLookup.get(InetAddress.java:998) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1807) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1676) at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49) at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:169) at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:131) at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:73) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at com.rsplwe.esurfing.network.RedirectInterceptor.intercept(NetClient.kt:65) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154) at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:37) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:10:56 956] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:02 965] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:08 972] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:14 980] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:20 992] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:26 999] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:33 007] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:39 025] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:45 032] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:51 045] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:11:57 068] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); Oct 08, 2024 10:11:57 AM okhttp3.internal.platform.Platform log WARNING: A connection to http://connect.rom.miui.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE); [10:12:03 076] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:09 084] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:15 092] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:21 106] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:27 114] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:33 122] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:39 130] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:45 139] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:51 153] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:12:57 161] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:03 170] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:09 178] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:15 187] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:21 200] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:27 207] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:33 216] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:39 226] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:45 233] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:51 246] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:13:57 260] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:14:03 268] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:14:09 276] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:14:15 283] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)

[10:14:21 296] ERROR [ConnectivityStatus] (NetworkConnectivityKt:78) - java.lang.RuntimeException: Request Code: 302 at com.rsplwe.esurfing.utils.NetworkConnectivityKt.detectConfig(NetworkConnectivity.kt:40) at com.rsplwe.esurfing.Client.run(Client.kt:32) at com.rsplwe.esurfing.DialerApp.main(DialerApp.kt:75)