Torizon IDE extension - v3.0.4 - can't search for torizon devices anymore

Since the update (April 7, I believe…), I can sometimes use the hostname to SSH into the device, I can always use the IP address to SSH into the device, but I can never use the “scan for network devices” in the IDE extension, it always come up blank. It’s been 3 days and I’ve restarted the PC.

Can’t tell if this is a bug, or something is changed in my PC.

VS code version is 1.99.0, running on Windows 11.

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello!

It sounds like you’re able to SSH into your device, but the scanning feature isn’t working as expected. Here are some steps you can try to resolve this issue:

  1. Manually Add the Device: You can manually add your device in Visual Studio Code by clicking the ‘+’ icon and entering the device’s IP address. This can sometimes bypass scanning issues. Learn more here.

  2. Toggle Auto-Scan Feature: Try disabling and then re-enabling the auto-scan feature in VS Code:

  3. Verify Network Connectivity: Ensure your network connection is stable by running the following command:

    $ ping -W 1 -c 1 <your-device-ip>
    

    If you encounter an “Operation not permitted” error, you can resolve it by executing:

    $ sudo setcap cap_net_raw+ep /bin/ping
    

    Check this link for more troubleshooting tips.

Please ensure that your target device is on the same network as your development machine for the best results. Refer to this guide for more information.

If the issue persists, you can check the VS Code logs by opening the command palette and selecting ‘Developer: Toggle Developer Tools’. This can provide more insight into what’s happening. Here’s how to access the logs.

I hope these steps help you get back on track.

Best regards,
Toradex AI Assistant.

Hey @srzm,

When you SSH into the device, is this via the extension?

Are you able to search for the device manually via the + button next to Network Devices?

-Eric

yep there. I cannot use the scan feature, but I can manually add using IP address. The problem will come up when the IP address of the verdin module changes, in which I’ll have to use the USB for serial communication and figure out the IP address there in order to connect to the docker via torizon ide.