Downloading updated container images not working

This seems like a very basic problem. I could not download the updated container images during the initial set up. It just says “Downloading updated container images, this may take a few minutes”. It did not complete the download even after an hour.

Backend service and docker are up and running. I could see that docker is running properly from checking it in Hyper-V-Manager. The installation of Toradex/Torizon C/C++ Support extension looks correct (I can even start a new Torizon C++ project). Am I missing something?

Greetings @rudhi31,

This is a somewhat known issue with the current version of the extension. Sometimes it happens that it can appear to “hang” or take forever on this step. One thing you can do to “unhang” it is on the output window press the enter key a couple of times and see if that progresses the messages to “done”.

Alternatively you can enable the debug window for the extension like so: Tools > Options > Torizon > Show backend console > True. You’ll need to relaunch Visual Studio and also kill the moses.exe process. Now when you launch Visual Studio a command prompt screen should appear showing the API requests made by our extension. Try updating the container and monitor the output in the debug console.

So far I’ve had it happen to me a couple times where it appears the process never actually completes. But I don’t think I’ve ever not had it actually do it in the background. It’s just the “done” message never appears.

But please let me know if you’re having further issues or if the process isn’t actually doing anything.

Best Regards,
Jeremias

Hi @jeremias.tx

Thanks for your support.

Pressing the enter key did not work. So I turned on the backend console and could read the error: docker.credentials.errors.StoreError: "Credentials store docker-credential-desktop exited with “error getting credentials - err: exit status 1”

So, I realized that I was not signed in on my docker account. Now I tried to download the containers signed into Docker and it worked like charm, after waiting for like 2 minutes!!
May be you should mention it in your documentation that one should be signed into their docker account before they attempt the download for containers.

Thanks a lot!

Rudhi

Hi @rudhi31,

I’m glad to see that you managed to make it work.
Yes, we’ll emphasize that.

Thank you.

Best regards,
André Curvello