ngrok tunnels to localhost reconnecting issue [closed]
Asked Answered
V

4

11

I have a camera set up on my ARM based system running ubuntu 12.0.4 LTS. I am accessing internet from an ethernet cable of my modem. I am able to view the live stream from my camera using motion software on my local network. However to view these streams from the internet, I found this software ngrok. After installation, when I type

./ngrok http 80

or

./ngrok tcp 22

or anything else, it says connecting initally but then, goes to

Tunnel Status                 reconnecting (x509: certificate has expired or is

How do I resolve this ?

Other information which might be useful:

Version                       2.0.19/
Web Interface                 http://127.0.0.1:4040

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00
Vivianaviviane answered 1/11, 2015 at 15:37 Comment(2)
sudo ngrok -log=stdout 80 to see the problemConcerted
ngrok http --region=eu 3000 helpedInfraction
B
7

I have sometimes the same issue. I have found, that when the ngrok can not connect, the browser can the site https://ngrok.com open, but in the console the command:

ping ngrok.com

returns: 'Request timeout'.

In my case is the problem in VPN. When I terminate the VPN, then I can connect to ngrok. And the ngrok continues to work after I log in to the VPN again.

Beutler answered 7/9, 2020 at 10:23 Comment(2)
try ngrok http -region=eu {port_number}Pleurisy
cant not ping ngrok.com but cant visit ngrok.comAwful
D
6

Please disconnect and reconnect your wifi connection. For me it worked

Doall answered 2/5, 2021 at 15:7 Comment(2)
Same for me. It worksCorpuscle
I disconnect from Wifi and connect with mobile hotspot worked for me.Dysphoria
S
4

Could you access the website though? Like try to access https://ngrok.com using any browser and see. If it does not work, then maybe the portal is blocked by your internet!

Sokol answered 30/4, 2019 at 18:1 Comment(0)
Q
-3

You could use other tunnel solution.

Please have a look

https://pagekite.net/support/quickstart/

Please follow these steps to use new way to create tunnel from localhost

website: `https://pagekite.net/support/quickstart/`
1) run
=> curl -s https://pagekite.net/pk/ |sudo bash
2) Signup
=> pagekite.py --signup
3) Completed all the details
4) pagekite.py 3000 yourname.pagekite.me
Ex:
pagekite.py 80 vijaychouhan.pagekite.me

MORE

To remove pagekite account

pagekite.py --remove vijaychouhan.pagekite.me

if your pagekite account is expired then signup on pagekite.me with new email and get new account.
once you will signup successfully with new account then you can get Default Kite Secret into account tag.

now goto home folder and find .pagekite.rc file and replace your
kitename   = NEW PAGE KITE
kitesecret = SECRET KEY

Enjoy with new account
Quantic answered 18/5, 2016 at 15:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.