Can't connect to azure: unreachable or not Linux x86_64 (FreeBSD amd64 )
Since the Electron support is premature on FreeBSD, running vscode in my laptop and connect to my FreeBSD server seems to be a great solution. I'm looking forward to the support on FreeBSD platforms.
Would love to have this too, seems like the most work would be around vscode server but considering the deps you list for Linux it seems entirely possible.
The remote server architecture is not supported
The server's OS is FreeBSD.
[20:21:58.866] > Running remote connection script
>
[20:21:58.875] > Unsupported architecture: FreeBSD amd64
> a993f545-b325-411d-80a3-23ece1e3d1b3##27##
>
[20:21:58.875] Received install output: a993f545-b325-411d-80a3-23ece1e3d1b3##27##
[20:21:58.875] Unsupported architecture
[20:21:58.875] The remote server architecture is not supported
What would happen if the architecture check was simply ignored/skipped? Would it just work? I can't imagine what kind of esoteric commands being issued over a standard SSH connection would be so architecture-dependent that Linux would work but not FreeBSD. If it's just a matter of using full paths to executables or environment variables, I'm sure we FreeBSD users could create a compatible environment.
I actually tried to work around that it does work if u fake it (meaning it passes this check) but it will then try to install things using what would be expected in linux, some would need to be convert to FreeBSD, but more importantly we need vscode-server built for FreeBSD
Yes. I saw that it creates a .vscode-server directory. Client software that silently installs stuff in the user's account is unexpectedly hacky and unfriendly. (I just got a horrible flashback to those ghastly server-side FrontPage web extensions provided by Microsoft 20 years ago!)
I think Microsoft should specify the server environment they require and leave it up to the developer community to create their own compatibility packages for their OS. Then it can be cleanly built and maintained by the best folks who know best, managed using standard package management tools (e.g., pkg under FreeBSD). The user's home directory would then have a set of symlinks or similar mechanism for providing the expected support interfaces.
This can't come soon enough for me. I'm finding that vscode's git features over the Internet to a remote Samba server is excruciatingly slow -- taking a full minute to do a simple commit. (Any tips/workarounds are appreciated!)
more importantly we need vscode-server built for FreeBSD
I'm just guessing, but this shouldn't be too hard, since the server is probably built with TS/JS, right? If the source is available, I'd like to help with this.
Thats the issue though the source is not available AFAIK, Microsoft would need to built it and release it, so it can be downloaded on first setup, this is the critical part here.
I didn't find any reference to the source so far.
I suppose if someone has the Linux zip we could look into it and see if freebsd Linux emulation works.
Same problem. I can contribute to solve this problem. What is main problem that prevents VS Code from supporting FreeBSD? Is it fault of FreeBSD ssh server or Open SSH or VS Code remote SSH extension problem?
The main problem is what I described, the vscode server component is not built/distributed for FreeBSD, since its also not open source only Microsoft can do it.
Alternately perhaps we could look into using Linux emulation and then patch the extension side to use the Linux version and do whatever is necessary to get it to install on freebsd, the issue is not ssh or the extension it self (that probably easy to handle).
This is currently the issue blocking me from using VS Code. Please let me know if there's anything I can do to help make this work.
+1 to please add support for FreeBSD!!! I am sure there are many others who would use it also. It can't be too hard to adapt it to FreeBSD given that it is largely based on the SSH protocol. Thanks!!!
Agreed, please add FreeBSD support!
+1 Agreed, please add FreeBSD support!
+1 Agreed, please add FreeBSD support!
Please add FreeBSD support ASAP. I can't work on my favorite text editor coz of this.
Please add FreeBSD support.
It's great that we have some spiking activity here, the issue might get some attention, but I'm not sure how constructive it is.
I'd like to add something: Please point us to the server source code so we can add FreeBSD support! I'd be willing to help, and I'm sure others would be, too.
@Follpvosten +1 I've pointed out the same before, they would need to either release that themselves or open source it so someone can try to build it. AFAIK this is not open sourced (the server code I mean).
Please add FreeBSD support!
+1 for FreeBSD support.
+1 for FreeBSD support.
+1, nice to have FreeBSD support.
Concur on adding support for FreeBSD. I'm currently relegated to using Eclipse, and while it is sufficient, it's very heavy-handed compared to VSCode.
+1
+1
+1
+1, it would be great if you could support FreeBSD !
+1
+1
+1, it would be great to have FreeBSD support.
+1
+1
+1
+1
+1
+1
+1
+1
+1, nice to have FreeBSD support. (in 2020)
+1
Please add Remote SSH support, freebsd is always as server, remotely develop will convenient
+1
+1
+1
+1 for FreeBSD support
+1 for FreeBSD support
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
Hello, is there an expected date for this ? thanks
I don't think they will even consider it, unfortunately :(
code-server works on FreeBSD! It's VS Code but running in the browser instead of electron.
Thanks and that sure helps, but remote vscode allows you to connect to several machines via ssh from the same place, now that there is port in freebsd seems to work fine and even code server works as you posted this shouldn't be hard to implement I imagine, its just a matter of getting prioritized, its one of the most voted features here so there is "demand" for it :) 馃
i will literally delete and remake a few cloud instances i made this past month once this gets settled. i had them all set up on freebsd it never even crossed my mind this would not work. so at the moment they are ubuntu.
a few people here seem to be confusing remote working upon freebsd and literally using vscode while sitting at a freebsd machine though.
Does someone knows how can I actually clone the code of vscode-remote? So, I can try to add something by my self and then try to contribute.
Does someone knows how can I actually clone the code of vscode-remote? So, I can try to add something by my self and then try to contribute.
It's unfortunately closed source.
Does someone knows how can I actually clone the code of vscode-remote? So, I can try to add something by my self and then try to contribute.
It's unfortunately closed source.
which is really interesting considering microsoft's recent pushes about things.
This was an unfortunate surprise and makes it difficult to work with NearlyFreeSpeech hosting. :-(
Any update on this?
+1
Does someone knows how can I actually clone the code of vscode-remote? So, I can try to add something by my self and then try to contribute.
It's unfortunately closed source.
We are hopeless 馃槩
I must admit I'm a bit disappointed at Microsoft since this is so high voted here, and since vscode works on FreeBSD now there's really no excuse I think .... Its fine if they want to keep this part closed source, but considering how many people have requested this a least a word on if this planed or not would be nice..
I'm too, but to be fair it's understandable. I mean, they started to offer support for Linux, I think they never said will start to be open for all *nix world, which is really sad unfortunately 馃槥
Please support for FreeBSD
+1 Please add support
+1
+1
+1 for FreeBSD
It'll be pretty great to support FreeBSD
+1 for this feature
Hi everyone,
Adding my 2 cents to ask for FreeBSD support.
Needs freebsd support too!
Any update?
Sadly nope... It remains one of the most requests features though: https://github.com/Microsoft/vscode-remote-release/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc
I was truly hoping this would be in the roadmap at least since there's even a port for vscode itself, and code-server works in a FreeBSD host (https://github.com/cdr/code-server, this has been my workaround until eventually, Microsoft picks this up)
+1 for FreeBSD
I was truly hoping this would be in the roadmap at least since there's even a port for vscode itself, and code-server works in a FreeBSD host (https://github.com/cdr/code-server, this has been my workaround until eventually, Microsoft picks this up)
@mike-pt I've tried code-server on a jail some days ago. It just shows "Cannot reconnect. Please reload the window." over and over again. So no way to work with it. I'll appreciate if you can share your configuration so I can see if I'm able to run it on my jail. I'm Using FreeBSD 12.1p10
I haven't tried in a Jail yet, but I had issues in the host using yarn and npm worked (or the other way around ). I later had issue using search and replace and was able to find help on their GitHub. You might get faster help if you just open an issue there.
another +1 for FreeBSD support
+1 for FreeBSD.
+1 for FreeBSD.
code-server, should be work, but not official supply freebsd build binary
+1 for FreeBSD.
+1 for FreeBSD.
I am using MacOS to connect to FreeBSD Jail.
I am can ssh into FreeBSD jail without any issues. However, when connecting via vscode I get this error:
[17:58:32.289] Log Level: 2
[17:58:32.291] [email protected]
[17:58:32.291] darwin x64
[17:58:32.293] SSH Resolver called for "ssh-remote+ha_jail", attempt 1
[17:58:32.293] "remote.SSH.useLocalServer": true
[17:58:32.294] "remote.SSH.sshPath": undefined
[17:58:32.294] "remote.SSH.sshConfigurationFile": undefined
[17:58:32.294] "remote.SSH.useFlock": true
[17:58:32.294] "remote.SSH.lockfilesInTmp": false
[17:58:32.294] "remote.SSH.localServerDownload": auto
[17:58:32.295] "remote.SSH.remoteServerListenOnSocket": false
[17:58:32.295] "remote.SSH.showLoginTerminal": false
[17:58:32.295] "remote.SSH.maxReconnectionAttempts": 9007199254740991
[17:58:32.295] SSH Resolver called for host: ha_jail
[17:58:32.295] Setting up SSH remote "ha_jail"
[17:58:32.299] Acquiring local install lock: /var/folders/2s/jzqgfm0x5qddggpk0__qv2dh0000gn/T/vscode-remote-ssh-homeassistant_jail-install.lock
[17:58:32.313] Looking for existing server data file at /Users/Fahad/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-homeassistant_jail-e5a624b788d92b8d34d1392e4c4d9789406efe8f-0.61.0/data.json
[17:58:32.314] Using commit id "e5a624b788d92b8d34d1392e4c4d9789406efe8f" and quality "stable" for server
[17:58:32.318] Install and start server if needed
[17:58:32.325] Checking ssh with "ssh -V"
[17:58:32.334] > OpenSSH_8.1p1, LibreSSL 2.7.3
[17:58:32.337] askpass server listening on /var/folders/2s/jzqgfm0x5qddggpk0__qv2dh0000gn/T/vscode-ssh-askpass-6552e9c10564a38e60cfabc27fba2de6f5cd09e2.sock
[17:58:32.338] Spawning local server with {"ipcHandlePath":"/var/folders/2s/jzqgfm0x5qddggpk0__qv2dh0000gn/T/vscode-ssh-askpass-d4118b1aa570228a1c8100f53270c17224915774.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","55805","-o","ConnectTimeout=60","homeassistant_jail"],"dataFilePath":"/Users/Fahad/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-ha_jail-e5a624b788d92b8d34d1392e4c4d9789406efe8f-0.61.0/data.json"}
[17:58:32.338] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/Fahad/.vscode/extensions/ms-vscode-remote.remote-ssh-0.61.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer)","VSCODE_SSH_ASKPASS_MAIN":"/Users/Fahad/.vscode/extensions/ms-vscode-remote.remote-ssh-0.61.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/2s/jzqgfm0x5qddggpk0__qv2dh0000gn/T/vscode-ssh-askpass-6552e9c10564a38e60cfabc27fba2de6f5cd09e2.sock"}
[17:58:32.341] Spawned 78295
[17:58:32.459] > local-server> Spawned ssh: 78296
[17:58:32.463] stderr> OpenSSH_8.1p1, LibreSSL 2.7.3
[17:58:32.568] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:xpSFxeKEjm+pzDWop+2GRoWp+alaHqOSKxL31k0D3tE
[17:58:32.675] stderr> Authenticated to XXX.XXX.X.XXX ([XXX.XXX.X.XXX]:22).
[17:58:32.708] > Having trouble using fetch through a firewall? Try setting the environment
> variable FTP_PASSIVE_MODE to yes, and see fetch(3) for more details.
[17:58:32.709] > ready: 6c8849c640ca
[17:58:32.716] > FreeBSD 12.2-RC3 FreeBSD 12.2-RC3 7c4ec6ff02c(HEAD) TRUENAS
[17:59:34.342] Terminating local server
[17:59:34.350] Resolver error: Error: Connecting with SSH timed out
at Function.Timeout (/Users/Fahad/.vscode/extensions/ms-vscode-remote.remote-ssh-0.61.0/out/extension.js:1:82451)
at Timeout._onTimeout (/Users/Fahad/.vscode/extensions/ms-vscode-remote.remote-ssh-0.61.0/out/extension.js:1:351807)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
[17:59:34.352] Local server exit: 15
[17:59:34.357] ------
thanks
+1
Most helpful comment
Please support for FreeBSD