Comments (7)
I have this same issue, but only on wireless. When I resume from suspend with a network cable plugged in, it works as intended, but the additional time for the system to bring up the wireless causes the connect to fail and the window to be closed.
from puttytray.
I have not the slightest clue why window.c#connection_fatal decides to exit when wakeup_reconnect triggers start_backend, but not when IDM_RECONNECT triggers start_backend. "handlers", perhaps.
from puttytray.
Hi,
I use a HomePlug AV Powerline device. It goes to sleep when it detects the computer goes to sleep, so at wakeup, it does take a few seconds to reconnect. So I get the same "host does not exist" error and it does not reconnect automatically
from puttytray.
adding a sleep in windows/window.c (with a parameter) does fix my problem,though
case PBT_APMQUERYSUSPENDFAILED:
if(session_closed && !back) {
time_t tnow = time(NULL);
if(last_reconnect && (tnow - last_reconnect) < 5) {
Sleep(1000);
}
/* some UI configurable delay, needed by the interface to wake up and reconnect properly*/
Sleep(1000*SOME_DELAY_IN_SECONDS);
last_reconnect = tnow;
logevent(NULL, "Woken up from suspend, reconnecting...");
term_pwron(term, FALSE);
start_backend();
}
from puttytray.
Didn't realise i'd previously raised this :/
Would it be possible to just add the sleep in the next build? Not sure anyone would even notice, most screens take more than 1s to turn on. Unsure whether 1s would be enough in my scenario, however.
from puttytray.
User configurable wakeup delay (well, more of a hang), at the same place @ferreol suggested, done!
from puttytray.
Can this issue be reopened? 0.65-t026 has lost this delay widget meaning all my sessions won't reconnect on wake. Please put it back!
from puttytray.
Related Issues (20)
- Option to have Ctrl+minimize cause a minimization to system tray
- Screen refresh bug when start from cli
- Slow download network speed over plink HOT 1
- Emoji characters cause lingering ghost characters when screen updates HOT 1
- Cant send username and password with ASG-RemoteDesktop 2017 HOT 1
- Is the project dead? (Not compatible with Windows 10 Creator 1703) HOT 3
- Project status HOT 56
- Fatal Error (line==NULL in terminal.c) when opening Urls menu HOT 1
- "perl mkfiles.pl" doesn't work anymore? HOT 3
- Commit 16f019fee7 (url: merge a load of code from t67) creates many references to undefined variables in window.c HOT 1
- Session file location? HOT 3
- Build every commit on Appveyor HOT 8
- opacity in registry entry
- PuTTY release 0.71
- Howto use pagent functionality of PuTTYTray for PuTTY 0.71 or alternatives?
- Duplicate Session and New Session inactive
- ADB - Any way to auto-send a shell command once started?
- Putty Version 0.73 HOT 1
- New Encrypt method is needed for PuttyTray to connect SSH-2.0-OpenSSH_8.8 or higher !
- CVE-2024-31497 Secret Key Recovery of NIST P-521 Private Keys Through Biased ECDSA Nonces HOT 1
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 puttytray.