Code Monkey home page Code Monkey logo

docker-ngrok-server's Issues

容器里一直不停的打印日志

您好,用你的镜像制作了ngrok容器,docker logs 容器id ,查看日志,发现容器里一直在打印日志,请问这是正常现象还是什么原因导致的。
image
image

problems making Certificate Request

init ngrok server!
Generating RSA private key, 2048 bit long modulus
.............................................................................................................................................................................................................................+++
........................................................................................................................................+++
e is 65537 (0x10001)
end of string encountered while processing type of subject name element #0
problems making Certificate Request

error: tls: bad certificate

服务端:

docker run --rm --name ngrok-server -p 3000:80 -p 3001:8082 -p 443:443 jueying/ngrok-server 192.168.2.13 3000 3001 443

客户端:

ngrok.cfg

server_addr: "192.168.2.13:443"
trust_host_root_certs: false

start.bat

ngrok.exe -subdomain=test -config=ngrok.cfg 80
[11:45:50 UTC 2019/02/21] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:571a60ec] Closing
[11:45:58 UTC 2019/02/21] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:3bbcc903] New connection from 172.17.0.1:43480
[11:45:58 UTC 2019/02/21] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:3bbcc903] Waiting to read message
[11:45:58 UTC 2019/02/21] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:3bbcc903] Failed to read message: remote error: tls: bad certificate

bad证书


[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [registry]             [tun] No affinity cache specified
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.Info:112) Listening for public http             connections on [::]:1400
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.Info:112) Listening for public https             connections on [::]:1480
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.Info:112) Listening for control and             proxy connections on [::]:1443
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting every 30 seconds
[09:41:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:42:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:42:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:43:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:43:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:44:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:44:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:44:58 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:5b6ff3            9d] New connection from 219.133.100.123:57951
[09:44:58 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:5b6ff            39d] Waiting to read message
[09:44:58 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:5b6ff3            9d] Failed to read message: remote error: tls: bad certificate
[09:44:58 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:5b6ff            39d] Closing
[09:44:59 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:596d11            c8] New connection from 219.133.100.123:57959
[09:44:59 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:596d1            1c8] Waiting to read message
[09:44:59 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:596d11            c8] Failed to read message: remote error: tls: bad certificate
[09:44:59 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:596d1            1c8] Closing
[09:45:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:45:01 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:56f4a5            38] New connection from 219.133.100.123:57972
[09:45:01 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:56f4a            538] Waiting to read message
[09:45:01 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:56f4a5            38] Failed to read message: remote error: tls: bad certificate
[09:45:01 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:56f4a            538] Closing
[09:45:05 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:6b8fec            62] New connection from 219.133.100.123:60297
[09:45:05 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:6b8fe            c62] Waiting to read message
[09:45:05 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:6b8fec            62] Failed to read message: remote error: tls: bad certificate
[09:45:05 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:6b8fe            c62] Closing
[09:45:14 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:18a861            fc] New connection from 219.133.100.123:60329
[09:45:14 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:18a86            1fc] Waiting to read message
[09:45:14 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:18a861            fc] Failed to read message: remote error: tls: bad certificate
[09:45:14 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:18a86            1fc] Closing
[09:45:15 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:7eb9f2            48] New connection from 219.133.100.123:60342
[09:45:15 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7eb9f            248] Waiting to read message
[09:45:15 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:7eb9f2            48] Failed to read message: remote error: tls: bad certificate
[09:45:15 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7eb9f            248] Closing
[09:45:17 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:7b70b0            38] New connection from 219.133.100.123:60348
[09:45:17 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7b70b            038] Waiting to read message
[09:45:17 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:7b70b0            38] Failed to read message: remote error: tls: bad certificate
[09:45:17 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7b70b            038] Closing
[09:45:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:46:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:46:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R            eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m            1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count            ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
root@OpenWrt:~#

error

2018-05-26T18:25:11.426092000Z [18:25:11 UTC 2018/05/26] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] Reporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
2018-05-26T18:25:21.215313000Z [18:25:21 UTC 2018/05/26] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [pub:29fdf7e3] Failed to read valid https request: malformed HTTP request "~\x00\x00\x00\x00\x00\x00\x00{"Type":"Auth","Payload":{"Version":"2","MmVersion":"1.7","User":"","Password":"","OS":"darwin","Arch":"amd64","ClientId":""}

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.