BirdZhang
BirdZhang
``` ngrok-java v1.4(2018/8/20) recvstr:{"Type":"AuthResp","Payload":{"Version":"2","MmVersion":"1.7","ClientId":"51ac4c443f5edc7b8378bef25e2bbdf2","Error":""}} AuthResp .....OK.... recvstr:{"Type":"ReqProxy","Payload":{}} recvstr:{"Type":"NewTunnel","Payload":{"ReqId":"8d03cd41","Url":"http://72199f94.tunnel.qydev.com","Protocol":"http","Error":""}} NewTunnel .....OK.... recvstr:{"Type":"Pong","Payload":{}} recvstr:{"Type":"ReqProxy","Payload":{}} recvstr:{"Type":"StartProxy","Payload":{"Url":"http://72199f94.tunnel.qydev.com","ClientAddr":"14.23.164.60:61520"}} handshake failure Exception in thread "pool-1-thread-1" java.nio.BufferOverflowException at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:206) at com.geek.ngrok.SSLProvider$2.run(SSLProvider.java:75) 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)...
改成128在我电脑上还是不行,打包成jar在linux下跑,第一次用浏览器打开可以显示,后面就卡住了
一样的错误。我在打印 https://github.com/dosgo/ngrok-java/blob/e2adfc047f6b0342133df7621010937313558955/src/com/geek/ngrok/NgrokClient.java#L76 下面把异常打印了一下,是这样的 ``` ... ecvstr:{"Type":"Pong","Payload":{}} recvstr:{"Type":"StartProxy","Payload":{"Url":"http://72199f94.tunnel.qydev.com","ClientAddr":"14.23.164.60:63874"}} recvstr:{"Type":"ReqProxy","Payload":{}} handshake failure javax.net.ssl.SSLException: Received fatal alert: unexpected_message at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634) at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800) at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) at...
jre 1.8
没有,我下载的zip包然后把几个`.java`文件替换了,eclipse里面clean了几次,然后改了一下`ngrok.java`的subdomain及hostname,如下: ``` public static void main(String args[]) throws Exception{ //new NgrokClient ngclient=new NgrokClient(); String subDomain = "72199f94"; String hostName = "72199f94.tunnel.qydev.com"; //addtunnel ngclient.addTun("127.0.0.1",8080,"http",hostName,subDomain,0,""); //start ngclient.start(); } ```
一样的
Note: When a workflow run or its jobs are queued for more than one hour, the token may expire before the job starts. https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#about-the-github_token-secret
@wctliu sorry, i only know why failed, i don't know how to fix it now
@wctliu I fixed it. Create your own token, add to your repo settings, and change the name in your yaml. For example https://github.com/0312birdzhang/ubports-ci/blob/flashable/.github/workflows/build.yml#L106 
> > > I am having a separate issue that is related. After creating my token and adding it to the repo settings I updated the yaml and it worked....