Open Clpsplug opened 2 years ago
Hello @Clpsplug, thanks for the detailed report. I've received such report over mail as well and I already started investigation. We have a small bug in our SSH gateway which I'm working on a fix to.
In the meantime, I've applied a workaround and you should be able to recreate the tunnel (it should no longer say that the tunnel is already running). Please let me know if that's working.
As I mentioned above I will continue working on it and will update this issue once the problem is gone.
@Morishiri, thank you for your reply. I am currently testing the behavior out. So far, the tunnel has not appeared to crash yet after about three hours, but I do see that the tunnel has died internally several times. The reconnection attempts seem to be working now. Interestingly, the crashes still occur precisely in a one-hour interval.
Should I keep this open until the underlying tunnel crashes are resolved, or close it because the reconnect is now working?
Nvm, I'll keep this one open.
As I mentioned above I will continue working on it and will update this issue once the problem is gone.
The re-connection happens because of our reverse proxy timeout which I will increase to 24h, but the reason for not being able to connect again is more problematic.
@Clpsplug the increased timeout is now deployed, let us know if you encounter any disconnect from now one (except the one every 24h).
Hi @Morishiri i set up a tunnel the other day, around lunchtime, and from the log I could see the tunnel connection dropping every hour and successfully reconnecting till late evening (11pm or similar) when the connection dropped and it didn't reconnect anymore. I am using loophole cli version 1.0.0-beta.15_linux_64bit running on my Synology NAS.
Describe the bug In the Desktop version of Loophole, I have noticed that an hour after creating my tunnel, it crashes with the red box saying "EOF." This box was green before it crashed and the tunnel was working.
I searched this repository for existing reports, and I have found one - #9. There is a topic about the EOF error (relationship to this issue is unknown.) The issue is also linked to #27, which means Loophole already has a reconnect feature. Unfortunately, this red box is staying red without any apparent attempt at reconnecting the tunnel.
Plus, no more manual attempt to recreate a tunnel succeeds after the tunnel crashes because apparently, the crashed tunnel "is already running." This is definitely not the case since the previous one died (further connections to the tunnel times out.) Notice that I have deleted the previously crashed tunnel at this point.
The logs for the specific tunnel contained this line for the reason for the crash:
I don't know which side (me or LH) you mean by "remote endpoint," the server I was running on localhost for tunneling was running fine. I can connect to the said server from localhost and get the correct response.
To Reproduce Steps to reproduce the behavior (to replicate my setup close enough:)
Expected behavior
Environment
Additional context
The last lines of logs look like the following. Some of the info is redacted because it had some of my information: