NutzCN Logo
问答 nutzboot ngrok url 变成随机的了吗
发布于 1833天前 作者 Hamming 1264 次浏览 复制 上一个帖子 下一个帖子
标签:

nutzboot ngrok url 变成随机的了吗
我配置了指定名称 但没有生效

ngrok.client.to_port=8080
ngrok.client.hostname=EasyToRent
ngrok.client.enable=true
[DEBUG] 11:43:11.213 org.nutz.resource.Scans.scan(Scans.java:280) - Found 364 resource by src( io/nutz/nutzsite/ ) , regex( ^.+[.]class$ )
[DEBUG] 11:43:11.534 org.nutz.plugins.ngrok.common.NgrokAgent.readMsg(NgrokAgent.java:60) - read msg = {"Type":"AuthResp","Payload":{"Version":"2","MmVersion":"1.7","ClientId":"tjceoh6gkuieoqq0gipip5kb7h","Error":""}}
[DEBUG] 11:43:11.536 org.nutz.plugins.ngrok.common.NgrokAgent.writeMsg(NgrokAgent.java:35) - write msg = {"Type":"ReqTunnel","Payload":{"ReqId":"7g0rioa0biio0qv4r716g5fg02","Protocol":"http","Hostname":"EasyToRent","Subdomain":"","HttpAuth":"","RemotePort":0}}
[DEBUG] 11:43:11.761 org.nutz.plugins.ngrok.common.NgrokAgent.readMsg(NgrokAgent.java:60) - read msg = {"Type":"NewTunnel","Payload":{"ReqId":"7g0rioa0biio0qv4r716g5fg02","Url":"http://tjceoh.wendal.cn","Protocol":"http","Error":""}}
[DEBUG] 11:43:11.761 org.nutz.plugins.ngrok.client.NgrokClient.handle(NgrokClient.java:223) - ReqId=7g0rioa0biio0qv4r716g5fg02 URL=http://tjceoh.wendal.cn
5 回复

token合法才会分配一个固定前缀

token合法 指定了 还是没有用

[DEBUG] 11:50:21.311 org.nutz.resource.Scans.scan(Scans.java:280) - Found 364 resource by src( io/nutz/nutzsite/ ) , regex( ^.+[.]class$ )
[DEBUG] 11:50:21.668 org.nutz.plugins.ngrok.common.NgrokAgent.readMsg(NgrokAgent.java:60) - read msg = {"Type":"AuthResp","Payload":{"Version":"2","MmVersion":"1.7","ClientId":"ttnr02g9h6hobr8u48krq561bk","Error":""}}
[DEBUG] 11:50:21.670 org.nutz.plugins.ngrok.common.NgrokAgent.writeMsg(NgrokAgent.java:35) - write msg = {"Type":"ReqTunnel","Payload":{"ReqId":"3oj59carpgiqkokbrkl6ceg4am","Protocol":"http","Hostname":"EasyToRent","Subdomain":"","HttpAuth":"","RemotePort":0}}
[DEBUG] 11:50:21.932 org.nutz.plugins.ngrok.common.NgrokAgent.readMsg(NgrokAgent.java:60) - read msg = {"Type":"NewTunnel","Payload":{"ReqId":"3oj59carpgiqkokbrkl6ceg4am","Url":"http://tonyyule.ngrok.wendal.cn","Protocol":"http","Error":""}}
[DEBUG] 11:50:21.932 org.nutz.plugins.ngrok.client.NgrokClient.handle(NgrokClient.java:223) - ReqId=3oj59carpgiqkokbrkl6ceg4am URL=http://tonyyule.ngrok.wendal.cn

是固定,不是指定。。。

不支持指定

得改造一下ngrok server才能支持

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