Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ngrok tunnels to localhost reconnecting issue [closed]

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
like image 702
bobbydf Avatar asked Nov 01 '15 15:11

bobbydf


2 Answers

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.

like image 91
Antonín Slejška Avatar answered Sep 28 '22 10:09

Antonín Slejška


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!

like image 36
Zeusox Avatar answered Sep 28 '22 09:09

Zeusox