KiTTY icon indicating copy to clipboard operation
KiTTY copied to clipboard

windows closes if dns resolution fails after network reconnect

Open clem4962 opened this issue 2 years ago • 0 comments

I use kitty so my window will reconnect after a blip in an unreliable internet connection. However, after my broken connection returns, I sometimes (temporarily) get a dns error on the hostname, and kitty will then close its window, meaning I have to start again. It would be helpful if the window could survive this without closing, eg by remaining in its previous disconnected state?

Eg to simulate behaviour (using hosts file):

set a hostname in hosts file for some remote server connect ssh session using kitty break internet connection remove hostname from hosts file restore internet connection perform some activity in the window to trigger reconnnection Error will occur: Unable to open connection to XXXXX Host does not exist Click OK -> Window will close

clem4962 avatar Jan 20 '22 10:01 clem4962