I installed ApolloX on my Ubuntu 22.04 machine (Virtualbox Guest OS) and I followed the documentation here.
I created the project from template TypeScript / Node.js
When I try to debug the project, the task build-container-torizon-debug-arm64 fails with the following error:
* Executing task: sshpass -p mypassword ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no torizon@192.168.1.99 LOCAL_REGISTRY=10.0.2.15 TAG=arm64 GPU= docker-compose down --remove-orphans
Warning: Permanently added '192.168.1.99' (ED25519) to the list of known hosts.
time="2022-12-22T10:10:08Z" level=warning msg="The \"DOCKER_LOGIN\" variable is not set. Defaulting to a blank string."
Container torizon-weston-1 Stopping
Container torizon-weston-1 Stopping
Container torizon-kiosk-1 Stopping
Container torizon-kiosk-1 Stopping
Container torizon-nextjs-verdin-1 Stopping
Container torizon-nextjs-verdin-1 Stopping
Container torizon-nextjs-verdin-1 Stopped
Container torizon-nextjs-verdin-1 Removing
Container torizon-nextjs-verdin-1 Removed
Container torizon-weston-1 Stopped
Container torizon-weston-1 Removing
Container torizon-weston-1 Removed
Container torizon-kiosk-1 Stopped
Container torizon-kiosk-1 Removing
Container torizon-kiosk-1 Removed
Network torizon_default Removing
Network torizon_default Removed
* Terminal will be reused by tasks, press any key to close it.
* Executing task: docker-compose build --build-arg SSHUSERNAME=torizon --build-arg IMAGE_ARCH=arm64 --build-arg SSH_DEBUG_PORT=2229 apollox-nextjs-debug
execvp(3) failed.: Permission denied
* The terminal process "docker-compose 'build', '--build-arg', 'SSHUSERNAME=torizon', '--build-arg', 'IMAGE_ARCH=arm64', '--build-arg', 'SSH_DEBUG_PORT=2229', 'apollox-nextjs-debug'" failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
From the command line I can connect to the module in SSH
can you run docker without sudo? Try on a new terminal:
docker run --rm -it hello-world
The extension expects that your default user is in the Docker group and that it is possible to run docker without sudo. Please follow this Docker Engine post-installation steps | Docker Documentation . We will add a note about this on the documentation (it’s missing).
I had installed here the VBox to try the same environment and I was able to debug the application successfully. But I had to allow the ports 8090 and 5002 on the windows firewall (for inbound and outbound):
I confirm that I can run docker without sudo.
Moreover I created the two rules to allow ports 8090 and 5002 on the windows firewall for my Host Windows 10 machine (Guest VM is Ubuntu 22.04), but I have the same error.
Executing task: docker-compose build --build-arg SSHUSERNAME=torizon --build-arg IMAGE_ARCH=arm64 --build-arg SSH_DEBUG_PORT=2229 apollox-nextjs-debug
execvp(3) failed.: Permission denied
* The terminal process "docker-compose 'build', '--build-arg', 'SSHUSERNAME=torizon', '--build-arg', 'IMAGE_ARCH=arm64', '--build-arg', 'SSH_DEBUG_PORT=2229', 'apollox-nextjs-debug'" failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
It comes to my mind that I can connect to the Verdin in ssh; the username is torizon but the password is a custom one (I had to change at the first connection).
Is this the same for your test environment?
sorry for the delay. As @henrique.tx said adding torizon_psswd might do the trick. But that must have been a side effect of one of our break changes that changed the device storage mechanism. Could you please uninstall and reinstall the extension. If the previously registered devices are still listed, I also ask that you to remove and register them again. Once a device is set as default settings.json data is automatically set.