danikula / AndroidVideoCache

Cache support for any video player with help of single line
Apache License 2.0
5.42k stars 1.15k forks source link

HttpProxyCacheServer error #293

Open caiwanzhe07 opened 3 years ago

caiwanzhe07 commented 3 years ago

Couldn't open http://127.0.0.1:38751/https%3A%2F%2Fxxx.mp4: java.io.FileNotFoundException: No content provider: http://127.0.0.1:38751/https%3A%2F%2Fxxx.mp4 2020-11-05 20:17:02.994 17289-17289/ V/MediaHTTPService: MediaHTTPService(android.media.MediaHTTPService@b58a04f): Cookies: null 2020-11-05 20:17:03.038 17289-17343/ W/libEGL: EGLNativeWindowType 0xd2d85008 disconnect failed 2020-11-05 20:17:03.071 17289-17422/ E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error closing socket input stream. Version: 2.7.1 at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:287) at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:272) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:245) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:54) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:340) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) Caused by: java.io.IOException: shutdown failed: ENOTCONN (Transport endpoint is not connected) at java.net.PlainSocketImpl.socketShutdown(PlainSocketImpl.java:275) at java.net.AbstractPlainSocketImpl.shutdownInput(AbstractPlainSocketImpl.java:619) at java.net.Socket.shutdownInput(Socket.java:1570) at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:280) at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:272)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:245)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:54)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:340)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)  at java.util.concurrent.FutureTask.run(FutureTask.java:266)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at java.lang.Thread.run(Thread.java:764)  Caused by: android.system.ErrnoException: shutdown failed: ENOTCONN (Transport endpoint is not connected) at libcore.io.Linux.shutdown(Native Method) at libcore.io.ForwardingOs.shutdown(ForwardingOs.java:177) at java.net.PlainSocketImpl.socketShutdown(PlainSocketImpl.java:273) at java.net.AbstractPlainSocketImpl.shutdownInput(AbstractPlainSocketImpl.java:619)  at java.net.Socket.shutdownInput(Socket.java:1570)  at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:280)  at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:272)  at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:245)  at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:54)  at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:340)  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)  at java.util.concurrent.FutureTask.run(FutureTask.java:266)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at java.lang.Thread.run(Thread.java:764)