ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

ngrok believe tunnels are open

Open luismachaner opened this issue 5 years ago • 4 comments

I am using free ngrok (v2.3.35), hence I am limited to one online tunnel and that's fine. However, the ngrok process is not running in my Win10 machine, but I cannot open a new tunnel.

The status tab on my ngrok profile page says I have two active tunnels, but I don't know where they come from. I am pretty sure I haven't run ngrok from any other laptop. But I cannot find how to shut the tunnels down. Is there a way to do that? Am I doing something wrong?

~\dev> ./ngrok http https://localhost:5001 --log "logoutput"
Your account '<redacted account name>' is limited to 1 simultaneous ngrok client session.
Active ngrok client sessions in region 'us':
  - 1XwWkwqU6w7G0ov9HnUtq0Znnqg (212.190.64.5)

ERR_NGROK_108

~\dev> cat .\logoutput
t=2020-02-26T19:01:50+0100 lvl=info msg="no configuration paths supplied"
t=2020-02-26T19:01:50+0100 lvl=info msg="using configuration at default config path" path=C:\\Users\\<redacted user>/.ngrok2/ngrok.yml
t=2020-02-26T19:01:50+0100 lvl=info msg="open config file" path=C:\\Users\\<redacted user>\\.ngrok2\\ngrok.yml err=nil
t=2020-02-26T19:01:50+0100 lvl=info msg="starting web service" obj=web addr=127.0.0.1:4040
t=2020-02-26T19:01:50+0100 lvl=info msg=start pg=/grpc/agent.Web/State id=be56bb0c54f42d4d
t=2020-02-26T19:01:50+0100 lvl=eror msg="failed to auth" obj=tunnels.session err="Your account '<redacted account name>' is limited to 1 simultaneous ngrok client session.\nActive ngrok client sessions in region 'us':\n  - 1XwWkwqU6w7G0ov9HnUtq0Znnqg (212.190.64.5)\r\n\r\nERR_NGROK_108\r\n"
t=2020-02-26T19:01:50+0100 lvl=eror msg="failed to reconnect session" obj=csess id=84fa4e6f1c0e err="Your account '<redacted account name>' is limited to 1 simultaneous ngrok client session.\nActive ngrok client sessions in region 'us':\n  - 1XwWkwqU6w7G0ov9HnUtq0Znnqg (212.190.64.5)\r\n\r\nERR_NGROK_108\r\n"
t=2020-02-26T19:01:50+0100 lvl=eror msg="session closing" obj=tunnels.session err="Your account '<redacted account name>' is limited to 1 simultaneous ngrok client session.\nActive ngrok client sessions in region 'us':\n  - 1XwWkwqU6w7G0ov9HnUtq0Znnqg (212.190.64.5)\r\n\r\nERR_NGROK_108\r\n"
t=2020-02-26T19:01:50+0100 lvl=info msg="received stop request" obj=app stopReq="{err:0xc000224280 restart:false}"
t=2020-02-26T19:01:50+0100 lvl=eror msg="terminating with error" obj=app err="Your account '<redacted account name>' is limited to 1 simultaneous ngrok client session.\nActive ngrok client sessions in region 'us':\n  - 1XwWkwqU6w7G0ov9HnUtq0Znnqg (212.190.64.5)\r\n\r\nERR_NGROK_108\r\n"
t=2020-02-26T19:01:50+0100 lvl=warn msg="failed to check for update" obj=updater err="Post https://update.equinox.io/check: context canceled"
t=2020-02-26T19:01:50+0100 lvl=crit msg="command failed" err="Your account '<redacted account name>' is limited to 1 simultaneous ngrok client session.\nActive ngrok client sessions in region 'us':\n  - 1XwWkwqU6w7G0ov9HnUtq0Znnqg (212.190.64.5)\r\n\r\nERR_NGROK_108\r\n"

~\dev> ps | findstr ngrok
~\dev> cat ~\.ngrok2\ngrok.yml
authtoken: <redacted auth token>

luismachaner avatar Feb 26 '20 18:02 luismachaner

Facing the same issue, on a Basic plan. Is there really no way of remotely terminating these? I'm probably missing something, but this makes ngrok effectively unusable while auth'd now.

robcresswell avatar Feb 29 '20 16:02 robcresswell

anybody who can provide some help? :)

luismachaner avatar Mar 18 '20 12:03 luismachaner

In the same boat here :(

jmakGH avatar Jul 02 '20 02:07 jmakGH

I have same problem(

hoiihop avatar Jul 03 '20 21:07 hoiihop

Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.

This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.

russorat avatar May 09 '24 19:05 russorat