NutzCN Logo
问答 ngrok 超时的问题
发布于 2813天前 作者 Rekoe 2676 次浏览 复制 上一个帖子 下一个帖子
标签:

RT
多请求几次才可以再连上

2017-4-10 12:40:7.896 DEBUG [pool-1-thread-49] something happen. proxy conn is lose
java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:170)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
	at java.io.DataInputStream.readFully(DataInputStream.java:195)
	at java.io.DataInputStream.readFully(DataInputStream.java:169)
	at org.nutz.plugins.ngrok.common.NgrokAgent.readMsg(NgrokAgent.java:48)
	at org.nutz.plugins.ngrok.client.NgrokClient$ProxyConn.call(NgrokClient.java:302)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2017-4-10 12:40:7.931 DEBUG [pool-1-thread-55] something happen. proxy conn is lose
java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:170)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
	at java.io.DataInputStream.readFully(DataInputStream.java:195)
	at java.io.DataInputStream.readFully(DataInputStream.java:169)
	at org.nutz.plugins.ngrok.common.NgrokAgent.readMsg(NgrokAgent.java:48)
	at org.nutz.plugins.ngrok.client.NgrokClient$ProxyConn.call(NgrokClient.java:302)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2017-4-10 13:43:45.239 DEBUG [pool-1-thread-1] read msg = {"Type":"ReqProxy","Payload":{"ReqId":"p11k896038jvgqb11h4c5d0b40","Url":"http://rekoe.ngrok.wendal.cn","Protocol":"http","Error":""}}
2017-4-10 13:43:45.240 DEBUG [pool-1-thread-1] read msg = {"Type":"ReqProxy","Payload":{"ReqId":"p11k896038jvgqb11h4c5d0b40","Url":"http://rekoe.ngrok.wendal.cn","Protocol":"http","Error":""}}
2017-4-10 13:43:45.240 DEBUG [pool-1-thread-1] read msg = {"Type":"ReqProxy","Payload":{"ReqId":"p11k896038jvgqb11h4c5d0b40","Url":"http://rekoe.ngrok.wendal.cn","Protocol":"http","Error":""}}
2017-4-10 13:43:45.241 DEBUG [pool-1-thread-1] read msg = {"Type":"ReqProxy","Payload":{"ReqId":"p11k896038jvgqb11h4c5d0b40","Url":"http://rekoe.ngrok.wendal.cn","Protocol":"http","Error":""}}
2017-4-10 13:43:45.241 DEBUG [pool-1-thread-1] read msg = {"Type":"ReqProxy","Payload":{"ReqId":"p11k896038jvgqb11h4c5d0b40","Url":"http://rekoe.ngrok.wendal.cn","Protocol":"http","Error":""}}
4 回复

@wendal
是不是考虑加个 心跳检测?

这是你自己部署的那个ngrok吗?更新最新代码就能解决

@Rekoe 不是 是我连的你的那个服务端 你看里面的域名就明白了
最近你又更新代码了?

恩, 刚刚又提交了.

话说,这是1小时后报错误??

添加回复
请先登陆
回到顶部