-
Notifications
You must be signed in to change notification settings - Fork 236
Board Manager / Library Manager are Empty on VirtualBox / Remote SSH #1064
Comments
Same issue. All the same versions. Getting Error: /snap/arduino/current/arduino: line 35: java: command not found |
Yey, I am not the only one. P.S.: I am using a headless server, which is (or at least was) an issue for Arduino, so maybe there is still a problem with it. Edit: Just as I thought. I can't select serial port, so it is kinda useless for me as of now 😞 |
For what it's worth I have switched to WSL (Windows Subsystem for Linux) and it works much better. It does have its own problem though: code formatting takes FOREVER and I have no idea why. But that's the C++ plugin's fault, not this one. |
I have exactly the same encounters as you, but, tbh, our setups are kind of an odd one... but hopefully, things will get better. and, regarding the problem, the only information I've found that i thought might relates to the issue is in the "System Requirements" section of the Overview page of the "Remote Development" extension, quote: this hit bullseye for me, as I'm using an raspberry pi 4b+ as my remote device, which is indeed an ARM device. but I'm NOT knowledgeable enough about the Arduino extension to be sure about whether it's really the x86 code in it that's causing the issues. |
The empty windows / tabs show a web-view. I tried it locally and it looks good. The URL is something like When opening the dev-tools / inspector in VSCode, indeed a web-view will load and fails (in case of remote). When I try to open this URL on the remote machine (via curl), I get something back. Of course, when the extension is installed on the remote machine, this will not work out-of-the-box. The localhost:// must be replaced somehow and the http-server must allow external connections. This should be the source for the Web-Server:
I don't know creating a local web server is common practice for extensions and if the problem can be solved by this extension or by remote-ssh extension. There's an option for port-forwarding in the remote-ssh extension, but since the port seems to be random, this won't work. I don't know the details about VSCode extension development, but maybe this helps. EDIT: Webviews seem to be common-practice: https://code.visualstudio.com/api/extension-guides/webview |
@MitchTalmadge I think I found the issue. When serving the view to the UI extension, the workspace extension sends a link using |
Reactivating because the fix is merged to |
This issue has been fixed in the latest release of this extension, which is available in the VS Code extension marketplace. |
Howdy. I am trying to use this plugin over remote SSH on a VirtualBox machine because I'd like to develop in Linux even though I run Windows. Unfortunately the board manager and library manager just show empty windows and I cannot find any errors related to this.
Any ideas of where to go from here? I know this may be an odd setup so I appreciate any help.
The text was updated successfully, but these errors were encountered: