jprq icon indicating copy to clipboard operation
jprq copied to clipboard

Kick after a week or so

Open u9g opened this issue 2 years ago • 2 comments

Hi, after having jprq up for about a week, it seems to get shut down with this error message: error receiving connection received event: EOF

Would love to know what's happening / know how it can be fixed.

u9g avatar Mar 30 '23 20:03 u9g

Hello, it's not a kick but rather a server restart.

My guess is that it's happening due to CPU utilization reaching 100% due to goroutine leaks. I will try to figure out how to release resources after each tunnel closes, but still I wouldn't suggest depending purely on the server to keep the connection for days/weeks - only good for a few hours.

There's an idea to add "--reconnect" flag to the CLI to automatically reconnect whenever it gets disconnected. Feel free to contribute if you can, jprq needs your support :)

azimjohn avatar Mar 30 '23 22:03 azimjohn

i can help

husanIbragimov-zz avatar Aug 12 '23 07:08 husanIbragimov-zz