cannot install snap base "core22": persistent network error

Hi, I am installing nodejs snap application,  steps are

1) Simple nodejs application, with simple express server.

2) npm install, and then build its snap application with snapcraft --debug

3) then in virtualControl ctrlX core,  in service mode, i just install from file, uploaded successfully, after that is shows following error 

Error when installing app "jr-node-api": cannot perform the following tasks: - Ensure prerequisites for "jr-node-api" are available (cannot install snap base "core22": persistent network error: Post https://snapstore.boschrexroth.com/v2/snaps/refresh: dial tcp: lookup snapstore.boschrexroth.com: Temporary failure in name resolution)

Best reply by Sgilk

From your installed apps, it looks like you are using ctrlX OS firmware v1.20 which utilizes Ubuntu core20. The app you are attempting to install uses Ubuntu core22. During the install process, the Virtual CORE then attempts to install core22 as a dependency for your app but cannot access the snap store likely due to a network configuration problem. You technically can install core22 on the core20 based firmware, but I believe there will be conflicts with other apps, as this was not the intention.

You have a couple of options...

  1. Create a new Virtual CORE with ctrlX WORKs v2.2 which will have ctrlX OS firmware v2.2 and Ubuntu core22. You should be able to install the current app here.
  2. Build your app on core20 and install in the existing Virtual CORE
View original
3 replies