Comments (9)
How did you get your Okteta:Up to work? Mine fails at that command.
from remote-kubernetes.
Easy: It just worked....until it didn't :)
from remote-kubernetes.
thanks for reporting, we're looking into it! What kubernetes version distribution are you using @stefanfritsch @waddahAldrobi ?
from remote-kubernetes.
@rberrelleza thanks for looking into it.
The cluster was created with rke 1.2
from remote-kubernetes.
I also tried it with a k3s cluster. Same issue
from remote-kubernetes.
we haven't been able to replicate this issue. Could you try and see if it still reproduces with the version 0.3.4 of the extension? If it does reproduce, could you share your $HOME/.ssh/config file with us, as well as the version of your SSH client?
from remote-kubernetes.
Sorry this took so long:
ssh-version
CommandType Name Version Source
----------- ---- ------- ------
Application ssh.exe 8.1.0.1 C:\WINDOWS\System32\OpenSSH\ssh.exe
.ssh/config
And the entry in .ssh/config is
# entry generated by okteto
Host hello-world.okteto
ForwardAgent yes
PubkeyAcceptedKeyTypes +ssh-rsa
HostName localhost
Port 22100
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentityFile "C:\Users\StefanFritsch\.okteto\id_rsa_okteto"
Everything else in .ssh/config are other host directives that do not conflict with this one.
New developments
VPN
The connection is through a wireguard VPN which might be the problem? But using ssh-remote to other servers over the VPN works fine.
ssh-connection
The ssh-connection itself is fine. I can connect to the container from a powershell window using the .ssh/config
entry. I
PS C:\Users\StefanFritsch> ssh hello-world.okteto
Warning: Permanently added '[localhost]:22100' (RSA) to the list of known hosts.
Welcome to your development container. Happy coding!
stefan-fritsch:hello-world okteto>
Error message
The error message has changed slightly since the last time. It now also complains about "channel 3", whatever that is.
Warning: Permanently added '[localhost]:22100' (RSA) to the list of known hosts.
SSH_AUTH_SOCK=/tmp/auth-agent230119601/listener.sock
Connected to SSH Host - Please do not close this terminal
channel 2: open failed: unknown channel type: unsupported channel type
channel 3: open failed: unknown channel type: unsupported channel type
channel 2: open failed: unknown channel type: unsupported channel type
The following error notification is also new (although I'm not yet 100% certain it's okteto as some extensions just got updated):
Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006)
from remote-kubernetes.
This is fixed in the 0.4.1 release
from remote-kubernetes.
@rberrelleza today I had the opportunity to try the extension again and it's still broken in 0.4.3. Both with Windows ssh 8.9 as well as with git ssh 8.8 (see below)
Same issue as before:
The ssh tunnel terminal
Warning: Permanently added '[localhost]:22100' (RSA) to the list of known hosts.
Connected to SSH Host - Please do not close this terminal
channel 2: open failed: unknown channel type: unsupported channel type
channel 3: open failed: unknown channel type: unsupported channel type
channel 2: open failed: unknown channel type: unsupported channel type
The javascript console in the developer tools
ERR WebSocket close with status code 1006: Error: WebSocket close with status code 1006
at WebSocket.<anonymous> (vscode-file://vscode-app/c:/Users/StefanFritsch/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:611:39219)
Current OS
- OS: Windows 11 21H2
- SSH: OpenSSH_for_Windows_8.9p1, LibreSSL 3.4.3
I also tried it using the ssh of git bash (C:\Program Files\Git\usr\bin\ssh.exe):
- SSH: OpenSSH_8.8p1
With WSL2 it doesn't work because okteto only listens on localhost and is not accessible from WSL2 afaics.
from remote-kubernetes.
Related Issues (20)
- Okteto Up fails to launch the remote SSH window HOT 3
- Field selector not found HOT 2
- SSH connection unstable / reconnecting endlessly HOT 3
- Oketeto up not deploying to active context HOT 3
- Okteto up - VSCode can't open SSH session DNS issues HOT 1
- create manifest command doesn't work on 0.4.1 HOT 1
- Question on converting okteto v1 manifest to v2 manifest HOT 4
- "Unexpected token 'up' in expression or statement" when running "okteto up" via vscode HOT 1
- Unknown flag: --loglevel HOT 2
- Support paths with spaces
- The remote window fails to start if `scp` is not installed in the dev image HOT 3
- "No matching results" for Ctrl-P-"Okteto"after extension install HOT 5
- `okteto up` not working after cli `2.5.0` upgrade HOT 1
- Remote SSH window fails to open with “Error missing proxy instance MainThreadDebugService” HOT 1
- Okteto destroy doesn't work as expected in VS Code plugin
- Unable to use the extension Cannot read properties of undefined (reading 'track')) HOT 9
- In development containers, environment variables are inherited from the base image, with the exception of PATH. HOT 4
- Command 'okteto.up' not found. HOT 1
- Terminal on IDE connected to Remote Environment crashes HOT 1
- Environment variables are not being honored by extension
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 remote-kubernetes.