Comments (15)
Alright, let er run for about 10 mins this morning.
from devpod.
I can confirm the same problems per other users above ... works with vscode browser and devpod ssh
... but fails with desktop version of vscode. Set timeout from 15s to 60s. I set up provider connection as [email protected]
. Just wondering, does it somehow expect a vscode
user to be pre-established on the remote machine? Thanks.
[09:15:53.351] Log Level: 2
[09:15:53.373] SSH Resolver called for "ssh-remote+idpbuilder-ref-impl-idp-macmini-2204.devpod", attempt 1
[09:15:53.374] "remote.SSH.useLocalServer": false
[09:15:53.375] "remote.SSH.useExecServer": false
[09:15:53.375] "remote.SSH.showLoginTerminal": false
[09:15:53.376] "remote.SSH.remotePlatform": {"192.168.192.13":"linux","192.168.192.49":"linux","192.168.192.63":"linux","192.168.192.21":"linux","192.168.192.50":"linux","192.168.192.48":"macOS","192.168.192.27":"macOS","192.168.192.42":"linux","192.168.192.56":"linux"}
[09:15:53.376] "remote.SSH.path": undefined
[09:15:53.376] "remote.SSH.configFile": undefined
[09:15:53.376] "remote.SSH.useFlock": true
[09:15:53.377] "remote.SSH.lockfilesInTmp": false
[09:15:53.377] "remote.SSH.localServerDownload": auto
[09:15:53.377] "remote.SSH.remoteServerListenOnSocket": false
[09:15:53.377] "remote.SSH.showLoginTerminal": false
[09:15:53.378] "remote.SSH.defaultExtensions": []
[09:15:53.378] "remote.SSH.loglevel": 2
[09:15:53.378] "remote.SSH.enableDynamicForwarding": true
[09:15:53.378] "remote.SSH.enableRemoteCommand": false
[09:15:53.379] "remote.SSH.serverPickPortsFromRange": {}
[09:15:53.379] "remote.SSH.serverInstallPath": {}
[09:15:53.387] VS Code version: 1.87.2
[09:15:53.387] Remote-SSH version: [email protected]
[09:15:53.387] win32 x64
[09:15:53.485] SSH Resolver called for host: idpbuilder-ref-impl-idp-macmini-2204.devpod
[09:15:53.485] Setting up SSH remote "idpbuilder-ref-impl-idp-macmini-2204.devpod"
[09:15:53.511] Using commit id "863d2581ecda6849923a2118d93a088b0745d9d6" and quality "stable" for server
[09:15:53.519] Install and start server if needed
[09:15:56.238] Checking ssh with "C:\Program Files (x86)\Google\Chrome\Application\ssh.exe -V"
[09:15:56.241] Got error from ssh: spawn C:\Program Files (x86)\Google\Chrome\Application\ssh.exe ENOENT
[09:15:56.242] Checking ssh with "C:\Program Files (x86)\VMware\VMware Workstation\bin\ssh.exe -V"
[09:15:56.247] Got error from ssh: spawn C:\Program Files (x86)\VMware\VMware Workstation\bin\ssh.exe ENOENT
[09:15:56.247] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V"
[09:15:56.254] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT
[09:15:56.254] Checking ssh with "C:\WINDOWS\ssh.exe -V"
[09:15:56.257] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT
[09:15:56.258] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V"
[09:15:56.260] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT
[09:15:56.260] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[09:15:56.263] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[09:15:56.263] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[09:15:56.340] > OpenSSH_for_Windows_8.6p1,
[09:15:56.341] > LibreSSL 3.4.3
[09:15:56.355] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 11088 "idpbuilder-ref-impl-idp-macmini-2204.devpod" bash
[09:15:56.357] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[09:16:17.081] > 09:16:17�[38;5;6minfoWaiting for devpod agent to come up...
> �]0;C:\WINDOWS\System32\cmd.exe�
[09:16:17.081] Got some output, clearing connection timeout
[09:16:40.110] > 09:16:40 �[38;5;6minfo Waiting for devpod agent to come up...
[09:17:03.137] > 09:17:03 �[38;5;6minfo Waiting for devpod agent to come up...
[09:17:26.147] > 09:17:26 �[38;5;6minfo Waiting for devpod agent to come up...
[09:17:49.163] > 09:17:49 �[38;5;6minfo Waiting for devpod agent to come up...
from devpod.
Also may be related to #521 in which case I see the response that theres need for work on the windows SSH and potentially missing unix utilities. So that may be the cause. If so, I suspect this can be closed and I can just +1 that.
from devpod.
Hi @jansselt, thanks for reporting the issue. Could you try to increase the vscode SSH timeout and see if that helps? (Second comment on this stackoverflow question: https://stackoverflow.com/questions/59978826/why-ssh-connection-timed-out-in-vscode)
from devpod.
I actually stumbled across that SO while trying to figure it out myself. I did try this and it did not work for me. I let it run for 10 mins or so. And it just keeps logging "Waiting for devpod agent to come up" occasionally.
However, I will try once more later when I'm back in my network to make sure that is still the case.
from devpod.
If it doesn't work out we'll take a look, thanks 👍
from devpod.
I just wanted to add to this bug. I am running into the same issue. Windows 11 Running DevPod. Provider is ssh to a linux system. Web VScode works fine, but local VScode never connects with same error reported earlier. I did test increasing the timeout, but that did not help. Here are all the different logs
Doing a direct SSH to the pod also fails with the same VSCode messages
However, if I use the DevPod CLI to connect via ssh, it works!
from devpod.
thanks @rodenj1
from devpod.
+1
I am facing the exact same problem my peers have.
The following is my setup:
- A laptop with Microsoft 11 as base OS.
- An Ubuntu VM launched with Multipass.
- DevPod provider with SSH to the Ubuntu VM.
Results are the same described above.
- IntelliJ works (with Jetbrains Gateway)
- VSCode Web works.
- VSCode Desktop returns same timeout error logs shared by @rodenj1 .
from devpod.
Same experience as me. I am connecting via tunnel to my remote machine and I am forwarding ssh ports manually (2222). Web vscode works though.
from devpod.
I have the same problem. vscode shows 'Opening Remote...' forever.
...
[23:10:38] debug Created logger
[23:10:38] debug Received ping from agent
[23:10:38] debug Start setting up container...
[23:10:39] debug Credentials server started on port 15235...
[23:10:40] debug Incoming client connection at /
[23:10:40] debug Credentials server started...
[23:10:40] debug Patch etc environment & profile...
[23:10:40] debug Run post create commands...
[23:10:41] debug Done setting up container
[23:10:41] debug Connection to SSH Server closed
[23:10:41] debug Done executing ssh server helper command
[23:10:41] debug Done creating devcontainer
[23:10:41] info Run 'ssh abc-web.devpod' to ssh into the devcontainer
[23:10:41] debug No dotfiles repo specified, skipping
[23:10:41] info Starting VSCode...
[23:10:42] debug Run vscode command code --disable-extension ms-vscode-remote.remote-containers --new-window --folder-uri=vscode-remote://ssh-remote+abc-web.devpod//workspaces/abc-web
Windows 11 Pro 23H2
64-bit operating system, x64-based processor
Please looking into this or if there is any workaround. Really appreciated.
from devpod.
Hi all!
Can you please attach the following tests:
-
try running
devpod ssh --debug name-of-project.devpod
in order to see if this problem occurs also with regular ssh, or it's a vscode thing -
also try adding
--debug
to rhe ProxyCommand in the ssh config, and try again from vscode, in order to get more logs
Thanks a lot!
from devpod.
devpod ssh --debug name-of-project.devpod
is working fine from my knowledge, it can ssh and keep output 'Start refresh' token or something.
try from vscode, there is no error, it just hang at Install and start server if needed
[00:20:16.811] Log Level: 2
[00:20:16.819] SSH Resolver called for "ssh-remote+abc.devpod", attempt 1
[00:20:16.819] "remote.SSH.useLocalServer": false
[00:20:16.819] "remote.SSH.useExecServer": true
[00:20:16.819] "remote.SSH.showLoginTerminal": false
[00:20:16.819] "remote.SSH.remotePlatform": {}
[00:20:16.819] "remote.SSH.path": undefined
[00:20:16.820] "remote.SSH.configFile": undefined
[00:20:16.820] "remote.SSH.useFlock": true
[00:20:16.820] "remote.SSH.lockfilesInTmp": false
[00:20:16.820] "remote.SSH.localServerDownload": auto
[00:20:16.820] "remote.SSH.remoteServerListenOnSocket": false
[00:20:16.820] "remote.SSH.showLoginTerminal": false
[00:20:16.822] "remote.SSH.defaultExtensions": []
[00:20:16.822] "remote.SSH.loglevel": 2
[00:20:16.822] "remote.SSH.enableDynamicForwarding": true
[00:20:16.822] "remote.SSH.enableRemoteCommand": false
[00:20:16.823] "remote.SSH.serverPickPortsFromRange": {}
[00:20:16.823] "remote.SSH.serverInstallPath": {}
[00:20:16.830] VS Code version: 1.89.0
[00:20:16.830] Remote-SSH version: [email protected]
[00:20:16.830] win32 x64
[00:20:16.834] SSH Resolver called for host: abc.devpod
[00:20:16.834] Setting up SSH remote "abc.devpod"
[00:20:16.838] Using commit id "b58957e67ee1e712cebf466b995adf4c5307b2bd" and quality "stable" for server
[00:20:16.840] Install and start server if needed
I have --debug
added but seems no more logs. I also increased the remote ssh timeout to 60s from 15s.
from devpod.
Yeah, I confirm I can ssh with devpod ssh name-of-project.devpod
as well.
from devpod.
update from my side. It was actually a false alarm from my side. For windows there is additional selection popup (I didn't noticed). After choosing 'Linux' it works for me. Thanks!
from devpod.
Related Issues (20)
- Support RustRover IDE HOT 1
- Run Python Application in PyCharm Client via JetBrains Gateway HOT 2
- Vendoring the rust dependencies for offline-building a package for openSUSE HOT 1
- Support native Wayland HOT 2
- The order of versions in "Or download a specific version" does not follow semver HOT 1
- Agent Url Override HOT 5
- Default workspace directory is not mounted in AWS provider HOT 1
- Temporary permissions issues on launch (detected dubious ownership in repository) HOT 2
- Cannot create ssh provider HOT 12
- Cannot forward gpg-agent in DigitalOcean machine HOT 4
- Cannot forward gpg-agent when "docker-in-docker" is enabled in devcontainer HOT 2
- git-remote-https: Undefined symbol: EVP_md2, version OPENSSL_3.0.0 HOT 3
- Docker Credentials Helper Fails after a few hours HOT 6
- Desktop DevPod fails to locate CLI due to incorrect path HOT 4
- Add support for cursor.com IDE (vscode compatible fork) HOT 1
- Spot/Preemptible cloud instance provisioning HOT 1
- devpod can not connect to docker deamon (colima) when use a dockerfile
- Support local projects inside WSL with Docker provider HOT 2
- Error upon cloning repository due to CA Cert HOT 2
- Offer a way to supply GIT credentials HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devpod.