Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{SSH} clicking on a large file causes entire connection to hang #118227

Closed
JacksonKearl opened this issue May 14, 2020 · 2 comments
Closed

{SSH} clicking on a large file causes entire connection to hang #118227

JacksonKearl opened this issue May 14, 2020 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug remote-connection Issues about the remote connection

Comments

@JacksonKearl
Copy link
Contributor

  1. Click a large file (~50 MB zip, for instance) by accident in the explorer. Close the editor while it's still loading.
  2. Attempt to open a different file. It will hang for many seconds, presumably until earlier file completes transfer.

Ideally the transfer could be cancelled when I close the editor.

@dcheung2
Copy link

dcheung2 commented Jan 27, 2021

Similar problem on opening a large JSON file (~400MB)

Steps to reproduce

  • Limited network speed (I think it is 1MB/s)
  • Launch remote vscode with SSH
  • Open a large/400MB JSON file (generated stats.json by webpack)
  • Close the editor

Expected behavior
A) show partial content while it loading
B) say something about difficulty to handle large file
C) Terminal still can work
D) get back to normal as soon as I close the editor

Actual behavior

  • editor keep loading; nothing loaded
  • Prompt to reconnect on ssh on every ~20 seconds
  • All terminals freeze
  • Reconnect doesn't help
  • Close the editor doesn't help
  • SSH reconnect even after editor closed

Workaround

  1. Close the editor
  2. Reload window
  3. open ssh terminal
  4. happy vim

note: the json file is around 30~35 after gzip.

@alexdima alexdima transferred this issue from microsoft/vscode-remote-release Mar 5, 2021
@alexdima alexdima added remote Remote system operations issues bug Issue identified by VS Code Team member as probable bug labels Mar 5, 2021
@alexdima alexdima added remote-connection Issues about the remote connection and removed remote Remote system operations issues labels Oct 15, 2021
@bpasero
Copy link
Member

bpasero commented Dec 20, 2022

Duplicate of #57585 and microsoft/vscode-remote-release#6517

@bpasero bpasero closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug remote-connection Issues about the remote connection
Projects
None yet
Development

No branches or pull requests

5 participants