Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tunnel Timeout? #612

Open
Alynntheyelloweyed opened this issue Jul 2, 2023 · 3 comments
Open

Tunnel Timeout? #612

Alynntheyelloweyed opened this issue Jul 2, 2023 · 3 comments

Comments

@Alynntheyelloweyed
Copy link

Is there some kind of timeout built into this? I ask because it seems random, but while running some tests, on occasion, usually after a pause for a GET command I will get the "check your firewall settings" which again, has nothing to do with the firewall since it just worked a few minutes ago.

The only thing I can think of is some sort of timeout on the tunnel. Do I need to set up a keepalive to stop this from happening. Or is the tunnel itself just unstable?

@Parking-Master
Copy link

You can use a service like PM2 or Forever to keep the tunnel running forever. I use forever all the time and my site stays up for weeks (even months)

@Alynntheyelloweyed
Copy link
Author

You can use a service like PM2 or Forever to keep the tunnel running forever. I use forever all the time and my site stays up for weeks (even months)

The thing is that this is running as part of an application that is both the webserver and the tunnel. When the tunnel fails it takes down the entire application. This is due to an unhandled exception inside the tunnel code itself. I would suggest some sort of tunnel.crash callback or something similar since I could use that to restart the tunnel if that happens without it taking down the entire application.

@Marvin-Brouwer
Copy link

Another part of the issue may just be a connection hickup, there's a PR open with a retry policy: #311.
Maybe you can upvote it to bring it to the maintainers attention?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants