chisel icon indicating copy to clipboard operation
chisel copied to clipboard

chisel doesn't reconnect once connection is lost

Open gvsurenderreddy opened this issue 5 years ago • 3 comments

Hello sir Chisel app from Client cannot reconnect when it disconnect from server .Manually we have to kill the app on Client and restart. Can you please fix this error

gvsurenderreddy avatar Nov 08 '20 14:11 gvsurenderreddy

Can you copy and paste the terminal logs with verbose enabled ?

On Mon, 9 Nov 2020 at 1:55 am gvsurenderreddy [email protected] wrote:

Hello sir Chisel app from Client cannot reconnect when it disconnect from server .Manually we have to kill the app on Client and restart. Can you please fix this error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpillora/chisel/issues/213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X47DCLJFVZEN3N4Q4WDSO2WNTANCNFSM4TOLVZDQ .

jpillora avatar Nov 08 '20 15:11 jpillora

Also can you try with v1.7.3

jpillora avatar Nov 16 '20 17:11 jpillora

Hi. I believe this was discussed in some other issue, I will try to find it. My workaround is to relaunch chisel. I am hesitant to call it a workaround, though, since it is good it leaves handling relaunching to the caller. Essentially when the connection goes down (which I emulate by shutting down the server), chisel immediately gives up. Both client and server are using version 1.7.4. Example of client log:

2021/02/16 13:52:41 client: Connecting to ws://pointoforigin.ddns.net:3714
2021/02/16 13:52:41 client: Fingerprint ***
2021/02/16 13:52:41 client: Connected (Latency 63.940905ms)
# shutdown server #
2021/02/16 13:52:47 client: Disconnected
2021/02/16 13:52:47 client: Connection error: read tcp **->**: read: connection reset by peer
2021/02/16 13:52:47 client: Give up
# chisel client exits #

LunarLanding avatar Feb 16 '21 13:02 LunarLanding