whilenull / 7777-support

Documentation and support for 7777.
https://port7777.com
53 stars 3 forks source link

Connections timing out after a few minutes. #30

Closed BenCoffeed closed 8 months ago

BenCoffeed commented 2 years ago

I have a user reporting an issue where 7777 is disconnecting after a few minutes if he takes a phone call or steps away from his computer. The time ranges appear to be far lower than the 2 hour default TTL. Are there any known issues with MacOS features such as app nap or disk sleep that will cause the connection to die?

deleugpn commented 1 year ago

Hey there, sorry for the long response time. What you described here does seem likely to cause issues because if your operating system goes into suspension mode, the TCP connection might get affected and closed down. If you use --verbose on 7777 and the computer causes a disk sleep, maybe you might be able to see the information of 7777 shutting down once the computer is woken up?

mnapoli commented 8 months ago

FYI I published a new version of 7777 with built-in "keep-alive" for SSH connexions. This should help make the connection/tunnel more stable.

I'll be closing this since it's more than a year old and a fix is out. Let us know if you have issues still.