zoukankan      html  css  js  c++  java
  • 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) 
  • 相关阅读:
    EggJs+Vue服务端渲染实践
    使用Charles代理功能将网络请求定向至本地文件
    iOS内存管理(一)
    RumTime实践之--UITableView和UICollectionView缺省页的实现
    CollectionView水平和竖直瀑布流的实现
    解决在HTTPS页面里嵌套HTTP页面浏览器block的问题
    利用servlet做转发,实现js跨域解决同源问题
    js将数字转换成大写的人民币表达式
    《将博客搬至CSDN》 分类: 勉励自己 2014-09-05 14:29 43人阅读 评论(0) 收藏
    jquery插件,美化select标签
  • 原文地址:https://www.cnblogs.com/yiyezhouming/p/14150059.html
Copyright © 2011-2022 走看看