cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 VS Code Extension fails to connect on remote host (Remote-SSH)

valley_exe
Associate

Hello,

I'm having trouble getting the latest version of the STM32 VS Code Extension to work on my remote development setup. The extension works perfectly on my local Windows machine, but fails when I connect to my Linux VM via the Remote-SSH extension.

Environment:

  • Host OS: Windows 11

  • Remote OS: Ubuntu 22.04 (running in a VMware VM)

  • VS Code Version: 1.105.1

  • STM32 VS Code Extension Version: 3.6.4

  • Connection Method: Remote-SSH

Problems Encountered:

  1. Cannot Create New Project: The "Create  empty project" command fails to open the project creation wizard. Nothing happens.

    valley_exe_1-1760876536749.png

     

     

  2. Bundles Manager Server Unreachable: When trying to access the bundles manager for new MCUs or firmware packs, I receive a connection error. The log shows it cannot connect to the server.

    valley_exe_0-1760876515503.png

     

     

What I've Tried:

  • The extension functions correctly on my local Windows host. I can create projects and access the bundles manager without any issues.

  • I have checked the network connectivity on the Ubuntu VM, and it can access the internet (ping google.com works).

  • I have tried reinstalling the extension on the remote host.

It seems like there might be a network-related issue specific to how the extension operates within the Remote-SSH environment. Has anyone else encountered this? Is there a known workaround or a configuration I might be missing?

Thanks for your help!

1 REPLY 1
Julien D
ST Employee

@valley_exe, I just had the opportunity to give it a try.

I have been able to install STM32CubeIDE for VSCode extensions pack version 3.6.4, display the Bundle Manager table, create empty project, build and debug it fine.

In order to guide you a bit could you past here:

  1. The "STM32Cube core" output channel content
  2. The output of the 2 following commands executed in VSCode integrated Terminal
cube --verbose bundle list-online
cube --verbose pack sync​

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.