Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

sshcode disconnects and locks up terminal #159

Open
fonnesbeck opened this issue Dec 19, 2019 · 8 comments
Open

sshcode disconnects and locks up terminal #159

fonnesbeck opened this issue Dec 19, 2019 · 8 comments

Comments

@fonnesbeck
Copy link

fonnesbeck commented Dec 19, 2019

Using the current version of sshcode built from source (--version does not reveal the version number), I am getting frequent unrecoverable disconnections despite having a strong connection (50MBps+). Clicking on reconnect in the popup never reconnects, and moreover, the local terminal from which I am connecting locks up and must be manually closed. I've gotten this behavior multiple times now on multiple different network connections, so I am satisfied the network is not the issue.

The remote session I am connecting to is a GCS VM instance, which I use reliably for other remote computing tasks (e.g. Jupyter notebook hosting).

@Merith-TK
Copy link
Contributor

How did you install?
What is the Host OS? Your shell? your terminal?

@fonnesbeck
Copy link
Author

fonnesbeck commented Dec 20, 2019

HostOS: Debian Linux
Shell: zsh
Terminal: xterm

As I said above, I installed it from source.

@IngCr3at1on
Copy link

IngCr3at1on commented Dec 27, 2019

I noticed similar behavior using my KVM instance (on my homelab server) running Ubuntu, when I dug into it a bit I came to the conclusion my other running tasks were actually the cause; I upped the memory on my VM and it was resolved (currently my VM has 5GB of memory allocated to it; not much all things considered).

@fonnesbeck
Copy link
Author

Thanks. I have not had this happen recently, so it sounds like a likely cause. I will close this.

@fonnesbeck
Copy link
Author

fonnesbeck commented Dec 31, 2019

I'm going to reopen this. Though my terminal no longer locks up, I still get frequent disconnections. This has nothing to do with my network connection, as I am on a fast Google Fiber wired connection. It never stays connected for more than 10-15 min, and when it disconnects it never successfully reconnects.

@fonnesbeck fonnesbeck reopened this Dec 31, 2019
@Merith-TK
Copy link
Contributor

Is your connection stable? I used my Cell data multiple times over a VPN and can retain a connection for upwards of three hours

@fonnesbeck
Copy link
Author

fonnesbeck commented Dec 31, 2019

It is a stable connection, as I am frequently using remote Jupyter (Python) sessions to the same GCS VM instance and they do not disconnect. Perhaps it has something to do with the Python extension in VS Code? Not sure.

@Merith-TK
Copy link
Contributor

it is probably the direct connection to the server via SSH,

try using plain SSH for a bit, see if issues arise. If so it is the connection between client and server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants