Comments (26)
from kitty.
from kitty.
Yes, I have the same problem!
At time the only solution it's "Duplicate Session", but this is a pain.
So, I suggest to add the option to enforce a reconnection, even if the client doesn't see that the connection is closed (that's quite easy: the client disconnects and reconnects... the disconnect action never fails even when it's really disconnected).
Regards.
from kitty.
Unfortunately I was not able to reproduce your issue, with or without "reconnect on system wakeup enabled".
from kitty.
Hi @cyd01 ,
I'm using the Portable binary with certificates and with passwords. I'm not sure, but the problem seems to appears only using one of the two modes. I'll try to provide a more detailed description.
Regards.
from kitty.
HI @cyd01,
I'm on Windows 10 1903. And, same as @lars18th, I'm using portable version. Although for me, it does not matter if I'm using ssh key or password based login. In both cases connection is not auto-reconnected after I put my PC to sleep.
Regards!
from kitty.
from kitty.
Hi!
The beta doesn't solve it for me. I currently test it by disabling the network interface shortly.
0.70.0.9: Works as expected.
0.71.0.2: No reconnect
0.71.0.3 (beta): No reconnect (no settings stored at all in this one)
All versions do seem to detect the network loss directly (icon directly changes to the disconnect variant), but only the 0.70 version actually displays "(inactive)" as title, while the 0.71 variants still display the shell title.
Edit: I'm using the classic variant btw, happens with both key and password authentication.
from kitty.
Also no luck here (with beta).
from kitty.
Event logs for 0.70.0.10:
...
2019-06-10 22:32:28 Started a shell/command
2019-06-10 22:32:53 Connection closed by remote host
2019-06-10 22:32:53 Network error: Software caused connection abort
2019-06-10 22:32:53 KiTTY Fatal Error: Network error: Software caused connection abort
2019-06-10 22:33:11 No connection on key pressed, trying to reconnect...
2019-06-10 22:33:11 ----- Session restarted -----
2019-06-10 22:33:11 Connecting to 192.168.2.214 port 22
...
For 0.71.0.3:
...
2019-06-10 22:32:33 Started a shell/command
2019-06-10 22:32:53 Network error: Network error: Software caused connection abort
<nothing more>
And for 0.71.0.3.beta:
...
2019-06-10 22:32:38 Started a shell/command
2019-06-10 22:32:53 Network error: Network error: Software caused connection abort
<nothing more>
I can provide full event logs, if needed.
from kitty.
Can you test this new build: https://www.9bis.net/kitty/data/beta/kitty.exe ?
Works like a charm!
from kitty.
I can also confirm that this build fixes the reconnection problem 😃
from kitty.
from kitty.
Is there also a way to reconnect manually with 0.71?
I am asking because the "restart session" option is gone in the new version and I don't know if this bug here is the issue to not reconnecting when hitting enter in an disconnected session.
In the past restart session helped in this case, really liked the option :-)
from kitty.
Hi @hnz101,
If I put my PC to sleep and it wakes up, connection is broken, but looks like it's not detected, as in menu I can only see option to duplicate session, but not to restart session.
Yes, this is a bug. Please try beta version provided by cyd01:
Can you test this new build: https://www.9bis.net/kitty/data/beta/kitty.exe ?
from kitty.
Oh you're right, didn't see this part. @pszlazak
Tested the beta before but didn't recognized that the restart session option just appears when the session is disconnected and not before. Beta works fine and the option appears when needed 👍
thank you guys!
from kitty.
Hi @cyd01 ,
Thank you! In version 0.71.0.4 it works. 👍
However, I detected that in some cases when reconnecting the old password is not used
Someone has experienced this too?
Regards.
from kitty.
Hi @cyd01 ,
Before close this issue, I have a related trouble (but not directly the same): When connecting over a Socks Proxy (created with a Dynamic forwarding of another KiTTY session), when the Proxy fails KiTTY doesn't detects that the session is closed. So, we can't reconnect.
Please, can you review the code when connecting over a Socks Proxy?
Or almost add one "close-and-reconnect" command (for forcing to close the connection)?
This will increment the usability.
Thank you!
from kitty.
Hi,
When connecting over a Socks Proxy (created with a Dynamic forwarding of another KiTTY session), when the Proxy fails KiTTY doesn't detects that the session is closed. So, we can't reconnect.
I'm the only one experimenting this issue?
from kitty.
I've started to fix it by adding a new menu item "Restart session".
Here the beta build.
from kitty.
I've started to fix it by adding a new menu item "Restart session".
Here the beta build.
Thank you! Now testing it...
Comments:
- Instead on put the new menu item "Restart Session" after the "Full Screen", I feel it's preferable to insert it after "Duplicate Session" and before "Saved Sessions..." so it will be more easy to fount it!
from kitty.
Hi @cyd01 ,
From my point of view this new beta with "Restart session" works wihtout troubles. My suggestion is to release a new version v0.71.0.5 with this change (and perhaps others).
You agree?
from kitty.
Hi,
Perhaps the version 0.71.0.5 not fixes the problem entirely. But I suggest to close this issue, and reopen another if the problem continues but using this new version. As the code handle has changed it's possible that the behaviour has changed too.
You agree?
from kitty.
To be closed IMHO. Original problem solved in 0.71.0.4.
from kitty.
To be closed IMHO. Original problem solved in 0.71.0.4.
Then, please @pszlazak select "CLOSE", as only you (and the main developer) can close the issue. 😉
from kitty.
Initial problem with auto-reconnect solved in 0.71.0.4
.
Additional functionality requested by @lars18th to add 'Close+Restart' option in menu delivered in 0.71.0.5
.
from kitty.
Related Issues (20)
- download executables mixed up?
- Feature: mDNS service discovery
- Issue with Multi Tab Putty HOT 1
- Make prompt for "Allow far2l clipboard sync?" optional.
- Different interface between Win10 and Win11 HOT 5
- [Feature request]Please provide an installer with silent options
- Can the autoreconnect feature be added to the command line parameters? HOT 3
- [Feature request] "New duplicated session..." with default Host Name
- Terrapin vulnerability mitigation HOT 2
- How do I change 16 sessions for displaying opened sessions horizontally to just 3 sessions ?
- Kageant: Cannot get rid of bogus "Couldn't load this key" popup HOT 1
- UTF-8 encoded `Windows Title` is not decoded properly HOT 3
- How to adjust the space between lines?
- Buffer Overflow Vulnerabilities in KiTTY Start Duplicated Session Hostname (CVE-2024-25003) & Username (CVE-2024-25004) Variables
- Command Injection Vulnerability in KiTTY Get Remote File Through SCP Input (CVE-2024-23749)
- Is this project dead? Search for alternatives HOT 14
- [HELP] Is there a way to store auto-login username and password PER SESSION / per IP adress? HOT 2
- DetachedCertificate supported in Putty but not in Kitty HOT 1
- I can't see the option 'Wam before OSC52 clipboard sync' on low resolution display?
- CVE-2024-31497: Secret Key Recovery of NIST P-521 Private Keys Through Biased ECDSA Nonces in PuTTY Client HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.