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:

  1. Connect to any server
  2. Idle for at least 15minutes
  3. 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

  1. Open User Settings.

    • On Windows/Linux - File > Preferences > Settings
    • On macOS - Code > Preferences > Settings
  2. Set sftp.debug to true and reload vscode.

  3. 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)

Most upvoted comments

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.

+1, Also on Cloudways (Digital Ocean)

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.