Torizon IDE extension not scanning for connected devices

It was working the other day. But now it’s broken. It says

´´´
There is no data provider registered that can provide view data.
´´´
in the side bar, and when I press the refresh button I get the error alert :-

´´´
Error running command apollox.NetworkDevicesRefresh: command ‘apollox.NetworkDevicesRefresh’ not found. This is likely caused by the extension that contributes apollox.NetworkDevicesRefresh.
´´´
I tried running the Install wizard again. And I clicked the uninstall then install for the extension in VSCode.

For sure I can connect to my device with ssh so it’s on the network.

I must have broken ApolloX somehow. Anyone know how that’s installed ? Any other ideas ?

TIA

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Hello! I understand you’re encountering issues with the ApolloX extension in VSCode, specifically with errors related to missing data providers and commands. While there’s no specific information about ApolloX in the Toradex documentation, I can suggest general troubleshooting steps that may help restore your development environment:

  1. Restart VSCode: Sometimes, simply restarting VSCode can resolve extension loading issues.

  2. Check Extension Dependencies: Make sure all required VSCode extensions and updates for ApolloX are installed properly. Some extensions depend on others or on a specific Python or Node.js version.

  3. Clear Extension Cache: You might try clearing the VSCode extension cache, which can help if the extension state is corrupted.

    • On Linux, you can clear caches with:
      rm -rf ~/.vscode/extensions
      
      This will remove all extensions, so you’ll need to reinstall them. Alternatively, just remove the affected extension’s directory.
  4. Reinstall the Extension: As you already tried uninstalling and reinstalling the extension via the VSCode UI, consider removing it manually and then reinstalling via the Marketplace or via the VSIX file, if available.

  5. Check VSCode Output Panel: Open the Output panel in VSCode and look for logs related to ApolloX. This may provide more detailed information about what’s failing.

  6. Check For Known Issues: Visit the Toradex GitHub page to check if there are any open issues or updates related to the extension.

  7. Verify the Toradex Easy Installer: It’s possible an issue with the image on your device could influence development workflows. You can use the Toradex Easy Installer to check and reflash your device if needed.

  8. Network Connectivity: Since you can access your device via SSH, network connectivity seems fine. Ensure there are no firewall rules or network profile changes that might impact VSCode’s ability to detect devices.

If you need more general guidance on setting up Toradex development environments with TorizonCore, let me know! For ApolloX-specific issues, you can also consult the Toradex Community forums.

Best regards, Toradex AI Assistant.

Ah. I reverted to v3.0.4 and it seems to be working again… Well, the network scanning at least…

Let me know what to do to help debugging v3.1.0 :grimacing:

We’re facing the same issue and had to do the same workaround.

Hi @Timo and @Giona!

Please reproduce the error again, but with the developer tools activated on VSCode.

To get the developer tools, press F1, type “Developer tools”, and select the option Developer: Toggle Developer Tools. It will open a new window, select the tab Console, and reproduce the error.

With this, you’ll get additional log errors. Please post the log here, so our IDE team can take a look.

Best regards.

Done, but not very helpful, it just reports the same error. No warnings or anything before-hand. It’s always the way :wink:

I put a break point on the notification display line and looked at the stack, but that’s not much better…

The only other clue I can offer is that I’ve only installed VSC/Torizon IDE in the last couple of weeks - thinking that developers/existing users have something set up slightly differently for historic reasons.

Hope it helps !

Tim

Hey @Timo

Please do not clear the logs before trying to reproduce the issue. Post here all the logs, please.

BR,

So, I re-installed 3.1.0, then restarted VSC, opened the developer tools, and then clicked the button to try to refresh the devices.

log.ts:450  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vsliveshare.vsliveshare' wants API proposal 'notebookCellExecutionState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ log.ts:450
log.ts:450  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.gather' wants API proposal 'notebookCellExecutionState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ log.ts:450
log.ts:450  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.vscode-pylance' wants API proposal 'mcpConfigurationProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ log.ts:450
log.ts:440  INFO Started local extension host with pid 12440.
log.ts:440  INFO ComputeTargetPlatform: win32-x64
log.ts:460   ERR navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.: PendingMigrationError: navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.
    at get (file:///c:/Users/Tim%20Pitt/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:361:1437)
    at Ye (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:9241)
    at R (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:5197)
    at c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:9094
    at k (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:349286)
    at c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:394676
    at Object.f [as use] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:420128)
    at c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:419482
    at Object.watch (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:419493)
    at b (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:421365)
    at e.<computed> [as initialize] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:393954)
    at e.r [as initialize] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:369211)
    at c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:402753
    at p (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:361772)
    at e.<computed> [as initialize] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:401943)
    at t.r [as initialize] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:369211)
    at Array.<anonymous> (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:15835)
    at Et (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:10747)
    at l (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:15796)
    at he (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:126455)
    at e.<computed> (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:129719)
    at Object.initialize (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:369965)
    at c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:33988
    at p (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:361772)
    at e.<computed> [as initialize] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:33913)
    at t.r [as initialize] (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:369211)
    at c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:287771
    at async t.oneDataSystemClientFactory (c:\Users\Tim Pitt\.vscode\extensions\ms-vscode-remote.remote-wsl-0.99.0\dist\node\extension.js:2:287171)
error @ log.ts:460
log.ts:440  INFO Invoking resolveAuthority(wsl)...
log.ts:440  INFO [LocalProcess0][resolveAuthority(wsl,1)][0ms] obtaining proxy...
log.ts:440  INFO [LocalProcess0][resolveAuthority(wsl,1)][0ms] invoking...
log.ts:440  INFO [LocalProcess0][resolveAuthority(wsl,1)][690ms] returned WebSocket(127.0.0.1:43284)
log.ts:440  INFO resolveAuthority(wsl) returned 'WebSocket(127.0.0.1:43284)' after 690 ms
log.ts:440  INFO Creating a socket (renderer-Management-97802759-3a79-4d87-b159-68ea8e7f51f8)...
log.ts:440  INFO Creating a socket (renderer-ExtensionHost-9f23b53e-a446-4100-85d5-618019b7bfda)...
log.ts:440  INFO Creating a socket (renderer-Management-97802759-3a79-4d87-b159-68ea8e7f51f8) was successful after 177 ms.
log.ts:440  INFO Creating a socket (renderer-ExtensionHost-9f23b53e-a446-4100-85d5-618019b7bfda) was successful after 290 ms.
log.ts:460   ERR Extension 'ms-python.vscode-pylance' wants API proposal 'mcpConfigurationProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
error @ log.ts:460
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.deprecatedMaintainer'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.emptyContinuationLine'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.directiveCasing'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.instructionCasing'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.instructionCmdMultiple'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.instructionEntrypointMultiple'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.instructionHealthcheckMultiple'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.instructionJSONInSingleQuotes'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.diagnostics.instructionWorkdirRelative'. This property is already registered.
warn @ log.ts:450
log.ts:450  WARN [ms-azuretools.vscode-docker]: Cannot register 'docker.languageserver.formatter.ignoreMultilineInstructions'. This property is already registered.
warn @ log.ts:450
log.ts:440  INFO Settings Sync: Account status changed from uninitialized to unavailable
log.ts:450  WARN No search provider registered for scheme: vscode-remote, waiting
warn @ log.ts:450
log.ts:440  INFO [perf] Render performance baseline is 24ms
log.ts:440  INFO Auto updating outdated extensions. ms-azuretools.vscode-docker
log.ts:460   ERR [Extension Host] (node:25819) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
error @ log.ts:460
console.ts:137 [Extension Host] (node:25819) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
J1s @ console.ts:137
notificationsAlerts.ts:42 An unsupported version of the Docker extension is installed. Please update the Docker extension to version 2.0.0 or later. The Container Tools extension will not activate.
c @ notificationsAlerts.ts:42
mainThreadExtensionService.ts:107 Activating extension 'ms-azuretools.vscode-containers' failed: An unsupported version of the Docker extension is installed. Please update the Docker extension to version 2.0.0 or later. The Container Tools extension will not activate..
$onExtensionActivationError @ mainThreadExtensionService.ts:107
mainThreadExtensionService.ts:107 Cannot activate the 'Torizon IDE Extension' extension because its dependency 'Container Tools' failed to activate
$onExtensionActivationError @ mainThreadExtensionService.ts:107
console.ts:137 [Extension Host] [06-13 15:52:42.255] TCB Extension activated
console.ts:137 [Extension Host] [06-13 15:52:42.262] TC Build IntelliSense schema loaded
console.ts:137 [Extension Host] [06-13 15:52:42.270] TC Build IntelliSense registered
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:42.746Z [info] [proc] Executing command: /usr/bin/cmake --version
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:42.770Z [info] [proc] Executing command: /usr/bin/cmake -E capabilities
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///c%3A/Users/Tim%20Pitt/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: vscode-remote://wsl%2Btorizon/home/tim/.vscode-server/extensions/redhat.vscode-yaml-1.18.0/syntaxes/yaml.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///c%3A/Users/Tim%20Pitt/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: vscode-remote://wsl%2Btorizon/home/tim/.vscode-server/extensions/redhat.vscode-yaml-1.18.0/syntaxes/yaml.tmLanguage.json
register @ TMScopeRegistry.ts:46
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:44.470Z [debug] [main] Safe constructing new CMakeProject instance
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:44.471Z [debug] [variant] Constructing VariantManager
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:44.472Z [debug] [main] Constructing new CMakeProject instance
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:44.473Z [debug] [main] Starting CMake Tools second-phase init
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:44.474Z [debug] [expand] expanded ${workspaceFolder}
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:44.717Z [debug] [kit] Reading kits file /home/tim/.local/share/CMakeTools/cmake-tools-kits.json
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.552Z [info] [kit] Successfully loaded 4 kits from /home/tim/.local/share/CMakeTools/cmake-tools-kits.json
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.671Z [debug] [kit] Not reading non-existent kits file: /home/tim/Qt2/.vscode/cmake-kits.json
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.708Z [info] [variant] Loaded new set of variants
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.709Z [debug] [main] CMakeProject instance initialization complete.
abstractTaskService.ts:641 Timed out activating extensions for task providers
(anonymous) @ abstractTaskService.ts:641
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.819Z [debug] [main] Not starting CMake driver: no kit selected
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.827Z [debug] [extension] Configuring workspace on open /home/tim/Qt2
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.832Z [debug] [kitsController] Start selection of kits. Found 7 kits.
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:45.833Z [debug] [kitsController] Opening kit selection QuickPick
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:46.651Z [debug] [main] Not starting CMake driver: no kit selected
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:50.666Z [debug] [main] Not starting CMake driver: no kit selected
console.ts:137 [Extension Host] [CMakeTools] 2025-06-13T13:52:59.472Z [debug] [kitsController] User cancelled Kit selection
notificationsAlerts.ts:42 Error running command apollox.NetworkDevicesRefresh: command 'apollox.NetworkDevicesRefresh' not found. This is likely caused by the extension that contributes apollox.NetworkDevicesRefresh.
c @ notificationsAlerts.ts:42
(anonymous) @ notificationsAlerts.ts:28
B @ event.ts:1219
C @ event.ts:1230
fire @ event.ts:1254
addNotification @ notifications.ts:228
error @ notificationService.ts:189
(anonymous) @ treeView.ts:1610
B @ event.ts:1219
C @ event.ts:1230
fire @ event.ts:1254
run @ actions.ts:190
await in run
onClick @ menuEntryActionViewItem.ts:210
(anonymous) @ actionViewItems.ts:153

Hope it helps…

Tim

Thanks @Timo

The cause of the issue:

An unsupported version of the Docker extension is installed. Please update the Docker extension to version 2.0.0 or later. The Container Tools extension will not activate.
c @ notificationsAlerts.ts:42
mainThreadExtensionService.ts:107 Activating extension 'ms-azuretools.vscode-containers' failed: An unsupported version of the Docker extension is installed. Please update the Docker extension to version 2.0.0 or later. The Container Tools extension will not activate..
$onExtensionActivationError @ mainThreadExtensionService.ts:107
mainThreadExtensionService.ts:107 Cannot activate the 'Torizon IDE Extension' extension because its dependency 'Container Tools' failed to activate
$onExtensionActivationError @ mainThreadExtensionService.ts:107

The new version of the Torizon IDE Extension is already updated to use the new Container Tools extension. So, you should uninstall the old one or update it to get the new one.

BR,

I was just getting used to ignoring that warning ! :joy:

Thanks Matheus,

Tim

1 Like