Giter Site home page Giter Site logo

Comments (7)

yuan1994 avatar yuan1994 commented on June 21, 2024

附加一句,我的系统是 OS X 10.11.6

from ngrok-one-key-install.

clangcn avatar clangcn commented on June 21, 2024

近期我测试一下,好久不用ngrok了,我找个服务器装一下

from ngrok-one-key-install.

yuan1994 avatar yuan1994 commented on June 21, 2024

好的,辛苦了

from ngrok-one-key-install.

danni-cool avatar danni-cool commented on June 21, 2024

如何生成windows客户端,我试了下make release老是失败

from ngrok-one-key-install.

craone avatar craone commented on June 21, 2024

@clangcn Windows客户端使用时密码设置也无效
只有服务器端配置成

bin/ngrokd -domain="xxx.com" -httpAddr=":8080" -httpsAddr=":8443" -tlsKey="./server.key" -tlsCrt="./server.crt" -pass=""  -tunnelAddr=":4443"

-pass=""才可以
@danielchan27 项目里有编译好的下载过来就行了 名称client_ngrok_windows_amd64.exe

from ngrok-one-key-install.

wenbenyun avatar wenbenyun commented on June 21, 2024

打印出的日志如下,Password处值为空,身份认证失败,在Linux系统下正常

[03/30/17 13:32:53] [INFO] Reading configuration file ./config.conf
[03/30/17 13:32:53] [INFO] [client] Trusting root CAs: [assets/client/tls/ngrokroot.crt]
[03/30/17 13:32:53] [INFO] [view] [web] Serving web interface on 127.0.0.1:4040
[03/30/17 13:32:53] [INFO] Checking for update
[03/30/17 13:32:54] [DEBG] [ctl:34155a33] New connection to: xxx.xxx.xxx.xxx:4443
[03/30/17 13:32:54] [DEBG] [ctl:34155a33] Writing message: {"Type":"Auth","Payload":{"Version":"2","MmVersion":"1.7","User":"xx","Password":"","OS":"darwin","Arch":"amd64","ClientId":""}}
[03/30/17 13:32:54] [DEBG] [ctl:34155a33] Waiting to read message
[03/30/17 13:32:54] [DEBG] [ctl:34155a33] Reading message with length: 95
[03/30/17 13:32:54] [DEBG] [ctl:34155a33] Read message {"Type":"AuthResp","Payload":{"Version":"","MmVersion":"","ClientId":"","Error":"Auth failed"}}
[03/30/17 13:32:54] [DEBG] [ctl:34155a33] Closing
[03/30/17 13:32:54] [EROR] control recovering from failure EOF
[03/30/17 13:32:54] [INFO] Waiting 1 seconds before reconnecting

Writing message: {"Type":"Auth","Payload":{"Version":"2","MmVersion":"1.7","User":"wenbenyun","Password":"","OS":"darwin","Arch":"amd64","ClientId":""}}
[10/19/19 02:15:14] [DEBG] [ctl:4d1fc12c] Waiting to read message
[10/19/19 02:15:14] [DEBG] [ctl:4d1fc12c] Reading message with length: 95
[10/19/19 02:15:14] [DEBG] [ctl:4d1fc12c] Read message {"Type":"AuthResp","Payload":{"Version":"","MmVersion":"","ClientId":"","Error":"Auth failed"}}
Failed to authenticate to server: Auth failed
[10/19/19 02:15:14] [DEBG] [ctl:4d1fc12c] Closing
[10/19/19 02:15:14] [INFO] [controller] Shutting down
[10/19/19 02:15:14] [INFO] Waiting 1 seconds before reconnecting

我的也是一样的

from ngrok-one-key-install.

yihuiluo235 avatar yihuiluo235 commented on June 21, 2024

centos7.6也是一样的,使用在运行命令中也不好使
Writing message: {"Type":"Auth","Payload":{"Version":"2","MmVersion":"1.7","User":"aiuser:9LM47oMNBykE3zeP","Password":"","OS":"linux","Arch":"amd64","ClientId":""}}
Read message {"Type":"AuthResp","Payload":{"Version":"","MmVersion":"","ClientId":"","Error":"Auth failed"}}
设置-httpauth
ngrok.conf配置文件中增加password,json中password始终为空,返回认证失败

from ngrok-one-key-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.