Skip to content

SSH connection drops with image build locally #2

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

Closed
KunalMGupta opened this issue Jan 29, 2022 · 2 comments
Closed

SSH connection drops with image build locally #2

KunalMGupta opened this issue Jan 29, 2022 · 2 comments

Comments

@KunalMGupta
Copy link

Hi,

Thanks again for releasing the Dockerfile for code-server and PyTorch. I was trying to customize it for my own use case however I stumbled upon a problem. Before I begin, I must say that using your prebuilt image ghcr.io/works-on-my-machine/pytorch-code-server:1.9.1 works perfectly fine. It's just that when I build the docker file in this repo on my end and launch it, the connection keeps on dropping.
Screen Shot 2022-01-29 at 6 17 02 PM

Screen Shot 2022-01-29 at 6 17 43 PM

I am running on the image on a Linux machine which otherwise never had any problem with ssh. I tested both by port-forwarding it to my local machine (Mac OS, Chrome) as well as accessing it on the very same machine. In both cases, I am getting the same problem. Do you know what can be the problem? Can you share the original docker file you used to build original image?

Thanks!

@ghokun
Copy link
Contributor

ghokun commented Jan 30, 2022

Hi,

The image is built by github workflow and the dockerfile is already in the root folder of this repo.

Similar issues are seen here:
microsoft/vscode-remote-release#2192

Can it be related to an extension you have installed?

@KunalMGupta
Copy link
Author

I think the issue is related to the latest release v4.0.2 as mentioned here: coder/code-server#4693

I was able to resolve this problem by downgrading to version 3.12.0. I simply set the coder-server version in the docker file to 3.12.0 and it started working normally.

Thanks again for the prompt response!

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

No branches or pull requests

2 participants