在使用小程序的tunnel的时候遇到的错误信息:(我怀疑是微信小程序信道服务器产生了bug)
Jan 9 19:01:21 localhost server: java.lang.Exception: 请求信道 API 失败,网络异常或鉴权服务器错误
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:111)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:82)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.Tunnel.close(Tunnel.java:62)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelserver.ManageTunnelInfo.close(ManageTunnelInfo.java:44)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelserver.ManageTunnelHandler.onTunnelManageMessage(ManageTunnelHandler.java:122)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelManage.TunnelManageService.handlePost(TunnelManageService.java:249)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelManage.TunnelManageService.handle(TunnelManageService.java:87)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.demo.servlet.TunnelManageServlet.service(TunnelManageServlet.java:39)
Jan 9 19:01:21 localhost server: at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
Jan 9 19:01:21 localhost server: at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
Jan 9 19:01:21 localhost server: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
Jan 9 19:01:21 localhost server: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
Jan 9 19:01:21 localhost server: at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
Jan 9 19:01:21 localhost server: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
Jan 9 19:01:21 localhost server: at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
Jan 9 19:01:21 localhost server: at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
Jan 9 19:01:21 localhost server: at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
Jan 9 19:01:21 localhost server: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Jan 9 19:01:21 localhost server: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Jan 9 19:01:21 localhost server: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Jan 9 19:01:21 localhost server: at java.lang.Thread.run(Thread.java:745)
Jan 9 19:01:21 localhost server: Caused by: java.net.SocketTimeoutException: Read timed out
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.socketRead0(Native Method)
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:170)
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:141)
Jan 9 19:01:21 localhost server: at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
Jan 9 19:01:21 localhost server: at sun.security.ssl.InputRecord.read(InputRecord.java:503)
Jan 9 19:01:21 localhost server: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
Jan 9 19:01:21 localhost server: at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
Jan 9 19:01:21 localhost server: at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
Jan 9 19:01:21 localhost server: at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
Jan 9 19:01:21 localhost server: at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
Jan 9 19:01:21 localhost server: at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
Jan 9 19:01:21 localhost server: at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
Jan 9 19:01:21 localhost server: at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
Jan 9 19:01:21 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
Jan 9 19:01:21 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
Jan 9 19:01:21 localhost server: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.HttpRequest.post(HttpRequest.java:92)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:109)
Jan 9 19:01:21 localhost server: … 28 more
Jan 9 19:01:21 localhost server: com.qcloud.weapp.tunnel.EmitError: 网络不可用或者信道服务器不可用
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:94)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.Tunnel.close(Tunnel.java:62)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelserver.ManageTunnelInfo.close(ManageTunnelInfo.java:44)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelserver.ManageTunnelHandler.onTunnelManageMessage(ManageTunnelHandler.java:122)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelManage.TunnelManageService.handlePost(TunnelManageService.java:249)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnelManage.TunnelManageService.handle(TunnelManageService.java:87)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.demo.servlet.TunnelManageServlet.service(TunnelManageServlet.java:39)
Jan 9 19:01:21 localhost server: at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
Jan 9 19:01:21 localhost server: at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
Jan 9 19:01:21 localhost server: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
Jan 9 19:01:21 localhost server: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
Jan 9 19:01:21 localhost server: at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
Jan 9 19:01:21 localhost server: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
Jan 9 19:01:21 localhost server: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
Jan 9 19:01:21 localhost server: at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
Jan 9 19:01:21 localhost server: at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
Jan 9 19:01:21 localhost server: at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
Jan 9 19:01:21 localhost server: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Jan 9 19:01:21 localhost server: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Jan 9 19:01:21 localhost server: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Jan 9 19:01:21 localhost server: at java.lang.Thread.run(Thread.java:745)
Jan 9 19:01:21 localhost server: Caused by: java.lang.Exception: 请求信道 API 失败,网络异常或鉴权服务器错误
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:111)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:82)
Jan 9 19:01:21 localhost server: … 27 more
Jan 9 19:01:21 localhost server: Caused by: java.net.SocketTimeoutException: Read timed out
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.socketRead0(Native Method)
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:170)
Jan 9 19:01:21 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:141)
Jan 9 19:01:21 localhost server: at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
Jan 9 19:01:21 localhost server: at sun.security.ssl.InputRecord.read(InputRecord.java:503)
Jan 9 19:01:21 localhost server: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
Jan 9 19:01:21 localhost server: at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
Jan 9 19:01:21 localhost server: at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
Jan 9 19:01:21 localhost server: at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
Jan 9 19:01:21 localhost server: at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
Jan 9 19:01:21 localhost server: at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
Jan 9 19:01:21 localhost server: at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
Jan 9 19:01:21 localhost server: at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
Jan 9 19:01:21 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
Jan 9 19:01:21 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
Jan 9 19:01:21 localhost server: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.HttpRequest.post(HttpRequest.java:92)
Jan 9 19:01:21 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:109)
Jan 9 19:01:21 localhost server: … 28 more
Jan 9 19:01:29 localhost server: java.lang.Exception: 请求信道 API 失败,网络异常或鉴权服务器错误
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:111)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:82)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitMessage(TunnelAPI.java:64)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitMessage(TunnelAPI.java:44)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnelserver.ManageTunnelInfo.sendMessage(ManageTunnelInfo.java:53)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnelserver.DeviceCmdTask.run(DeviceCmdTask.java:1114)
Jan 9 19:01:29 localhost server: Caused by: java.net.SocketTimeoutException: Read timed out
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.socketRead0(Native Method)
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:170)
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:141)
Jan 9 19:01:29 localhost server: at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
Jan 9 19:01:29 localhost server: at sun.security.ssl.InputRecord.read(InputRecord.java:503)
Jan 9 19:01:29 localhost server: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
Jan 9 19:01:29 localhost server: at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
Jan 9 19:01:29 localhost server: at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
Jan 9 19:01:29 localhost server: at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
Jan 9 19:01:29 localhost server: at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
Jan 9 19:01:29 localhost server: at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
Jan 9 19:01:29 localhost server: at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
Jan 9 19:01:29 localhost server: at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
Jan 9 19:01:29 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
Jan 9 19:01:29 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
Jan 9 19:01:29 localhost server: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.HttpRequest.post(HttpRequest.java:92)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:109)
Jan 9 19:01:29 localhost server: … 5 more
Jan 9 19:01:29 localhost server: com.qcloud.weapp.tunnel.EmitError: 网络不可用或者信道服务器不可用
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:94)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitMessage(TunnelAPI.java:64)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitMessage(TunnelAPI.java:44)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnelserver.ManageTunnelInfo.sendMessage(ManageTunnelInfo.java:53)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnelserver.DeviceCmdTask.run(DeviceCmdTask.java:1114)
Jan 9 19:01:29 localhost server: Caused by: java.lang.Exception: 请求信道 API 失败,网络异常或鉴权服务器错误
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:111)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:82)
Jan 9 19:01:29 localhost server: … 4 more
Jan 9 19:01:29 localhost server: Caused by: java.net.SocketTimeoutException: Read timed out
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.socketRead0(Native Method)
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:170)
Jan 9 19:01:29 localhost server: at java.net.SocketInputStream.read(SocketInputStream.java:141)
Jan 9 19:01:29 localhost server: at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
Jan 9 19:01:29 localhost server: at sun.security.ssl.InputRecord.read(InputRecord.java:503)
Jan 9 19:01:29 localhost server: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
Jan 9 19:01:29 localhost server: at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
Jan 9 19:01:29 localhost server: at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
Jan 9 19:01:29 localhost server: at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
Jan 9 19:01:29 localhost server: at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
Jan 9 19:01:29 localhost server: at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
Jan 9 19:01:29 localhost server: at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
Jan 9 19:01:29 localhost server: at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
Jan 9 19:01:29 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
Jan 9 19:01:29 localhost server: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
Jan 9 19:01:29 localhost server: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.HttpRequest.post(HttpRequest.java:92)
Jan 9 19:01:29 localhost server: at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:109)
Jan 9 19:01:29 localhost server: … 5 more