vscode-sftp: doesn't work after 10~15minutes idle
Do you read the FAQ?
- Yes.
Describe the bug SFTP connected to server at starts, when idle for 15 minutes or more. It doesn’t connect to the server for FTP syncing.
To Reproduce Steps to reproduce the behavior:
- Connect to any server
- Idle for at least 15minutes
- Doesn’t work as normal after that
Expected behavior Still be able to connect to server after long idle time.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Mac
- VSCode Version : 1.33.1
- Extension Version : 1.12.2
Extension Logs from Startup - required
-
Open User Settings.
- On Windows/Linux - File > Preferences > Settings
- On macOS - Code > Preferences > Settings
-
Set
sftp.debugtotrueand reload vscode. -
Reproduce the problem, get the logs from View > Output > sftp.
[debug] Outgoing: Writing MKDIR [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com)
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 2
- Comments: 32 (2 by maintainers)
This seems like an issue relating to Cloudways, I have forward this thread to them and they are looking into it 😃 Glad to see so many people using Cloudways too! Excellent service.
They have finally started to re-open the ports needed. Just start a chat and tell them you require
ssh-port-forwarding. I can confirm it’s now working for me as of last week.same… but with an other server…
Any news on this? Does extension have any connection timeout logic? IMO it should reconnect automatically.