Android: Error closing socket input stream. Version: 2.7.1

最近在做Android 视频相关开发。视频一直转圈圈,就是不播放处理,同时出现以下error。 (如果等一等,视频会播放出来,目前还不知道时怎么回事)

 

 1 V/MediaHTTPService: makeHTTPConnection: CookieHandler (java.net.CookieManager@722a3eb) exists.
 2     makeHTTPConnection(android.media.MediaHTTPService@d8c21eb): cookieHandler: java.net.CookieManager@722a3eb Cookies: null
 3 E/HttpProxyCacheServer: HttpProxyCacheServer error
 4     com.danikula.videocache.ProxyCacheException: Error closing socket input stream. Version: 2.7.1
 5         at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:287)
 6         at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:272)
 7         at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:245)
 8         at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:54)
 9         at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:340)
10         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
11         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
12         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
13         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
14         at java.lang.Thread.run(Thread.java:764)
15      Caused by: java.io.IOException: shutdown failed: ENOTCONN (Transport endpoint is not connected)
16         at java.net.PlainSocketImpl.socketShutdown(PlainSocketImpl.java:275)
17         at java.net.AbstractPlainSocketImpl.shutdownInput(AbstractPlainSocketImpl.java:619)
18         at java.net.Socket.shutdownInput(Socket.java:1570)
19         at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:280)
20         at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:27221         at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:24522         at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:5423         at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:34024         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:45825         at java.util.concurrent.FutureTask.run(FutureTask.java:26626         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:116727         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:64128         at java.lang.Thread.run(Thread.java:76429      Caused by: android.system.ErrnoException: shutdown failed: ENOTCONN (Transport endpoint is not connected)
30         at libcore.io.Linux.shutdown(Native Method)
31         at libcore.io.ForwardingOs.shutdown(ForwardingOs.java:177)
32         at java.net.PlainSocketImpl.socketShutdown(PlainSocketImpl.java:273)
33         at java.net.AbstractPlainSocketImpl.shutdownInput(AbstractPlainSocketImpl.java:61934         at java.net.Socket.shutdownInput(Socket.java:157035         at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:28036         at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:27237         at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:24538         at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:5439         at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:34040         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:45841         at java.util.concurrent.FutureTask.run(FutureTask.java:26642         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:116743         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:64144         at java.lang.Thread.run(Thread.java:76445 W/HttpProxyCacheServer: Failed to close socket on proxy side: shutdown failed: ENOTCONN (Transport endpoint is not connected). It seems client have already closed connection.
46 E/HttpProxyCacheServer: HttpProxyCacheServer error
47     com.danikula.videocache.ProxyCacheException: Error closing socket input stream. Version: 2.7.1
48         at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:287)
49         at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:272)
50         at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:245)
51         at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:54)
52         at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:340)
53         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
54         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
55         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
56         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
57         at java.lang.Thread.run(Thread.java:764)
58      Caused by: java.io.IOException: shutdown failed: ENOTCONN (Transport endpoint is not connected)
59         at java.net.PlainSocketImpl.socketShutdown(PlainSocketImpl.java:275)
60         at java.net.AbstractPlainSocketImpl.shutdownInput(AbstractPlainSocketImpl.java:619)
61         at java.net.Socket.shutdownInput(Socket.java:1570)
62         at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:280)
63         at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:27264         at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:24565         at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:5466         at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:34067         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:45868         at java.util.concurrent.FutureTask.run(FutureTask.java:26669         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:116770         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:64171         at java.lang.Thread.run(Thread.java:76472      Caused by: android.system.ErrnoException: shutdown failed: ENOTCONN (Transport endpoint is not connected)
73         at libcore.io.Linux.shutdown(Native Method)
74         at libcore.io.ForwardingOs.shutdown(ForwardingOs.java:177)
75         at java.net.PlainSocketImpl.socketShutdown(PlainSocketImpl.java:273)
76         at java.net.AbstractPlainSocketImpl.shutdownInput(AbstractPlainSocketImpl.java:61977         at java.net.Socket.shutdownInput(Socket.java:157078         at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:28079         at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:27280         at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:24581         at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:5482         at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:34083         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:45884         at java.util.concurrent.FutureTask.run(FutureTask.java:26685         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 

 

posted on 2020-12-17 15:46  一叶舟鸣  阅读(1521)  评论(0编辑  收藏  举报

导航