I am using VSCode. I can debug my program on a device that is on my local network. I have another device that is on a different subnet, I can ping and ssh into it with no issues. However, when I try to debug my C++ program, if fails trying to pull the compiled container down to the device:
Executing task: sshpass -p xxxxxx ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no torizon@192.168.3.1 LOCAL_REGISTRY=192.168.3.2 TAG=arm64 docker-compose pull gimbal3bcontainer-debug
Warning: Permanently added ‘192.168.3.1’ (ED25519) to the list of known hosts.
time=“2022-04-28T18:59:01Z” level=warning msg=“The “DOCKER_LOGIN” variable is not set. Defaulting to a blank string.”
gimbal3bcontainer-debug Pulling
gimbal3bcontainer-debug Warning
WARNING: Some service image(s) must be built from source by running:
docker compose build gimbal3bcontainer-debug
1 error occurred:
* Error response from daemon: Get “https://192.168.3.2:5002/v2/”: http: server gave HTTP response to HTTPS client
I have added 192.168.3.0:5002 to my “insecure-registries” on my local desktop, but it still doesn’t work. Since I have 2 cases, I have 2 statements, one for my main network and one for this other subnet that my other device is on.
Why can’t I debug my .3 subnet device?