danikula / danikula/AndroidVideoCache

Error pinging server

オープン
#226 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
5.5k
フォーク
1.2k
PR マージ指標
30日以内にマージされた PR はありません

説明

com.danikula.videocache.ProxyCacheException: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at https://github.com/danikula/AndroidVideoCache/issues/134. Default proxies are: [DIRECT]. Version: 2.7.0
at com.danikula.videocache.Pinger.ping(Pinger.java:73)
at com.danikula.videocache.HttpProxyCacheServer.isAlive(HttpProxyCacheServer.java:183)
at com.danikula.videocache.HttpProxyCacheServer.(HttpProxyCacheServer.java:82)
at com.danikula.videocache.HttpProxyCacheServer.(HttpProxyCacheServer.java:52)
at com.danikula.videocache.HttpProxyCacheServer$Builder.build(HttpProxyCacheServer.java:435)
at com.iflytek.common.cache.MediaCacheProxy.newProxy(MediaCacheProxy.kt:49)
at com.iflytek.common.cache.MediaCacheProxy.init(MediaCacheProxy.kt:21)
at com.iflytek.yyspoken.read.ReadApplication.onCreate(ReadApplication.kt:47)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5503)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Pinger.java:73 から開始し、失敗したサーバーチェックを追跡するために、HttpProxyCacheServer.java の 183 行目と 82 行目を調べます。報告された AndroidVideoCache バージョンを使用してエラーを再現し、ping の失敗を引き起こすネットワークまたはプロキシの条件を特定します。失敗が修正され、適切なテストでカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, java
領域
mobile, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。