-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error pinging server #134
Comments
Since #28 fixed by this commit it should be fixed too. |
Hi. Using AndroidVideoCache version 2.7.0 I saw the log below, so here I am, reporting as asked :) Hope it helps somehow. I was testing using AndroidVideoCache inside recyclerview rows to pre-load audio and video. Scrolling between a lot of items very fast, around list position 650 the log stack traces appeared:
(...)
(...)
|
Have a some problem as @ricardorover |
E/Pinger: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [DIRECT@] |
after many days of frustration I managed to find something: NanoHttpd/nanohttpd#270 (comment),
|
com.danikula.videocache.ProxyCacheException: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [HTTP @ Version: 2.7.0 When I loaded the local video, there was' Error pinging server (attempt: 2, timeout: 280) 'and this Error |
Default proxies are: [DIRECT] getting this issue |
Hello,I using this library,this but I rest on video list pager a long time, again scroll list,they throw the error: `E/Pinger: Error reading ping response //When I look this lines,I don't think Default proxy is [HTTP @ 10.8.8.103:81] but proxy in Library is //[127.0.0.1] ,my should modify Default proxy in library? E/Pinger: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [HTTP @ 10.8.8.103:81] |
thanks author's masterpiece . response error still occurs on my phone,even though it has "IgnoreHostProxySelector.install(PROXY_HOST, port);" in HttpProxyCacheServer constructor function.Anyone knows how to resolve it?thank you. |
I saw this log when I connected to Wifi which has no Connection to Internet AND |
This problem still occurs even if wifi is connected |
Reporting here, Still seeing this problem on 2.7.0. |
i also |
me too |
too too :) |
me too |
+1 |
this helps for me too, thanks) |
hey! i had this issue in Api 29 lib version 2.7.1. The problemis the http protocol in proxy settings, this will be https for new versions of android. and add this configuration to application node sorry by my poor english, enjoy! and thanks so much for library ;) |
i have tried three solutions, but no one worked. |
One case, when you start proxy server thread and never interrupt it, and then, if the proxy server count more than a uncertain threshold, it may cause occur ping server failed. |
:_Error reading ping response: [ (Pinger.java:104)#PingServer ] com.danikula.videocache.ProxyCacheException: Error opening connection for http://127.0.0.1:37213/ping with offset 0. Version: 2.7.1 |
please help me getting above error |
2020-11-16 11:31:48.744 5837-5837/com.invid.user E/Pinger: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [DIRECT] |
i have tried all solutions, but no one worked. kula.videocache.ProxyCacheException: Error opening connection for http://127.0.0.1:34413/ping with offset 0. Version: 2.7.1 |
it worked for me, thank you. |
我同样遇到了这个问题,使用viewpager2+fragment ,在fragment中展示Jzvd player。
|
who is MrStanaland? |
Same with @nuborisar, and the solution works for the following case:
Check your
|
runOnUiThread(Runnable {
// viewModel.uploadCover()
|
Use runOnUiThread can fixed it |
i have see this: when i use it:
but not working, and crash as if because not support https.
|
E/HttpProxyCacheServer: HttpProxyCacheServer error |
2022-03-09 09:16:55.536 10193-10193/com.yihua.hugou W/System.err: com.danikula.videocache.ProxyCacheException: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [DIRECT]. Version: 7.1.5 |
2022-06-30 12:42:34.686 27076-27767/myapp.debug E/Pinger: Error reading ping response |
E Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [DIRECT] |
有找到解决办法么,我和你使用场景一样 |
|
Adding networkSecurityConfig to manifest has solved this problem for me. See here: https://stackoverflow.com/a/54268640/4191562 |
Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at #134. Default proxies are: [DIRECT] |
Finally following solution worked for me :) add following lines in Manifest.xml file inside application tag and outside activity |
The default android manifest for react native does not include android:usesCleartextTraffic="true" so its worth mentioning that it needs to be added for the module to actually work properly in production other wise you will get this error danikula/AndroidVideoCache#134
In some cases local server cache proxy is not pinged. One known problem is system proxy in connection's settings (wi-fi or apn).
May be some another reasons exist.
Typical stacktrace is
The text was updated successfully, but these errors were encountered: