It is proceeding well until I try to debug the Python application when it fails on the following task:
Executing task: DOCKER_HOST=172.20.38.7:2375 LOCAL_REGISTRY=172.27.3.191 TAG=arm64 GPU=-imx8 DEBUG_SSH_PORT=6502 DEBUG_PORT1=6512 DEBUG_PORT2= DEBUG_PORT3= docker compose --ansi never pull quickstart-debug
WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string.
WARN[0000] /home/ttp/quickstart/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
quickstart-debug Pulling
quickstart-debug Warning Get "http://172.27.3.191:5002/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
WARNING: Some service image(s) must be built from source by running:
docker compose build quickstart-debug
1 error occurred:
* Error response from daemon: Get "http://172.27.3.191:5002/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I am using VSCode to create and run the application.
My hardware is Verdin IMX 8M Plus 2GB WB IT V1.1A on Malow V1.1A Carrier Board running Torizon 6.8.0
Please could you advise how I can get this working?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, it seems you are encountering a timeout error when trying to pull the quickstart-debug image from your local Docker registry. Here are some steps you can take to resolve this issue:
Check Registry Status:
Ensure that the local Docker registry at 172.27.3.191:5002 is running and accessible. You can test this by accessing the registry URL in a web browser or using a command like curl http://172.27.3.191:5002/v2/ to see if it responds.
Network Configuration:
Verify that your network settings allow connections to the specified IP address and port. Check for any firewall rules that might be blocking access to the registry.
Docker Daemon Configuration:
Make sure your Docker daemon is configured correctly to connect to the specified DOCKER_HOST (172.20.38.7:2375). Any misconfiguration here could lead to connection issues.
Build Images from Source:
If the image is not available in the local registry, you may need to build it from source. Run the following command to build the image:
docker compose build quickstart-debug
Check Docker Installation:
Ensure that your Docker installation is functioning correctly and that you have the necessary permissions to access the Docker daemon.
By following these steps, you should be able to resolve the timeout issue and proceed with debugging your Python application. If the problem persists, double-check your hardware setup and ensure compatibility with Torizon 6.8.0.
Please, also check if these links can help you solve your problem:
It would appear that there’s some issue with the registry container running on your development PC, or even a network issue of some kind.
To explain, the task that you saw fail is trying to pull your built application container from a local registry hosted on your development PC ( 172.27.3.191). It’s trying to pull this onto the Toradex device ( 172.20.38.7). And for some reason this is failing.
Some things to check, could you check there is even a registy container running on your development PC?
If there is, then that would suggest there’s some network issue between your development PC and the Toradex device. Maybe a firewall or network restriction of some kind could be responsible.