[* Error response from daemon: Get "http://10.0.2.15:5002/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)] - VS Code IDE Extension Issue Report (08a62caae10cb8ff29271ddad49788d4)

OS: linux :: x64
Distro: Debian GNU/Linux 12 (bookworm)
Extension activation logs:

 Activating Torizon IDE ...
 Telemetry is enabled
 Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information. Check: https://github.com/toradex/torizon-experimental-torizon-ide-v2-docs/blob/main/USAGE-DATA.md#opt-out
 Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
 Resolving host IP address ...
 Host IP address OK
 Docker installed OK
 Docker running OK
 Docker compose OK
 PowerShell OK
 git OK
 dig OK
 avahi-resolve OK
[01-19 11:29:23.03] nmap OK
 iputils-ping OK
 file OK
 sshpass OK
 ERROR :: net-tools is not installed.
 git iputils-ping nmap avahi-utils file sshpass net-tools bind9-dnsutils installation OK
 Cloning project templates
 ERROR :: Error trying to clone application templates
 Schwerwiegend: Zielpfad '/home/alazaj/.apollox' existiert bereits und ist kein leeres Verzeichnis.

 Checking connected devices ...
 Scanning Torizon devices ...
 Configuring debug id_rsa ...
 Debug id_rsa OK
 Torizon IDE extension activated
 Checking host ip sanity ...
 Host ip is OK
 Device 192.168.79.129 set as Docker Host
 Debian bookworm packages list load OK
 ERROR :: pull-container-torizon-debug-arm64 failed with exit code 18

Tasks logs:

Container Runtime: docker
Run Arguments: --rm --privileged torizon/binfmt
Container Name: binfmt
Error response from daemon: No such container: binfmt
Container does not exist. Starting ...
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: pwsh -nop .conf/validateDepsRunning.ps1 


儭 VALIDATING ENVIRONMENT


 Environment is valid!

 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: bash -c [[ ! -z "192.168.79.129" ]] && true || false 

 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: bash -c [[ "aarch64" == "aarch64" ]] && true || false 

 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: [ $(/bin/python3 -m pip --version | awk '{print $2}' | cut -d'.' -f1) -lt 23 ] && /bin/python3 -m pip install --upgrade pip || true 

 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: /bin/python3 -m pip install --break-system-packages -r requirements-debug.txt 

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: debugpy in /home/alazaj/.local/lib/python3.11/site-packages (from -r requirements-debug.txt (line 1)) (1.8.0)
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: sleep 1 

 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: sshpass -p Muegge123 scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /home/alazaj/quickstart/docker-compose.yml torizon@192.168.79.129:~/ 

Warning: Permanently added '192.168.79.129' (ED25519) to the list of known hosts.
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: DOCKER_HOST=192.168.79.129:2375 docker image prune -f --filter=dangling=true 

Deleted Images:
untagged: torizon/weston-vivante@sha256:05d7872679bb6b43fa3f2bf745701a4b45f2608722c35c740dc26c717e776c33
deleted: sha256:9d4b328d55ca130dce091718774330c5a52fe14e2e8a8ac0c15474b2f79c1d0f
deleted: sha256:860de74e202258944cceee1b3e0e5969b897ac35cdb00a82c6139b41abc16ad1
deleted: sha256:e2c33973a7eb87a88f1e23d0ec296e7292504b6530f6813c13c6e0848750d9f9
deleted: sha256:9aaee3cfa63560e7567d26d121bf16cf701222dd8b786e7ae75bd038df52242b
deleted: sha256:b9bb3bb2b9283236a438c713a1e8d39f65de9cc5b91ea9b9e89aba07a4cb31d5
deleted: sha256:dce80fbd2d014ed6cf99ea3ca317e1c53b09f763ffdd7ee2d121bade54585a04
deleted: sha256:eb40d81f9d48766dfb50b1aaa87662e76268e7148f6e22469869cf993b75bdd6
deleted: sha256:16b26cac9bc8cd2faa8d2b0b4a42991c3f1655270db70f11978e35a901fd3eb7
deleted: sha256:cab17018b8fffba11aa7ca616ea0f9743e6fe5d00fb0234490920dd0c9489392
deleted: sha256:4d0c4b14d079b8b7d0663e2f29a814a14d1c3908629011df8faa7ecc133cbcfe
deleted: sha256:26e8c2d84c7f37aec4e36692aa00c086b3175cc3ae7447f7525ecbe9d8f32148
deleted: sha256:71ad4035d2ad2ca13f315a07a44edfdf6c50bf6fb5d960d267ec5e3618907dc5
deleted: sha256:226c1691ebfd15173161c9e1a3394e1a788bbd2fb9954957b661f3f8ba7abdd4
deleted: sha256:894b25f77679b9c5ef15b8b771458d19dccd771800a8936b5161a88ece68932b
deleted: sha256:2df6113018ab59a373bd77502e4472f015d186383db7327656934c6a83aeea19
deleted: sha256:adb82f3551a778b93d8647fc366cece9c31699410fe22fca8aa2d30bc1ee61eb
deleted: sha256:c20b31089708eb9f55701730758bbbbb66bdd5c310546d56f01e015dc4ca08a9
deleted: sha256:670c67e29e5cd850eeabc25f39e493b2822e92cb861f0384139fb2f785be7ac7
deleted: sha256:e8a6848ef856d4501eb4508bf488d8d82bf0f9848cac95655cc7cdad2c8d427d
deleted: sha256:28a1fdc74d1fce99df3ac8d9cab4a5d225d84986a052a81c4f5a7daad94e4334
deleted: sha256:098bf8bbc866073cfd2e51286c455e831e96089b1f88c20647fa07c486966256
deleted: sha256:e4040086798e48378eeadcb7a932403640ad87c6bbc60d0460c9d43ea66e577b
deleted: sha256:0681212ccc0ebbce2b725fd7a85410b8c41944ce08402e3d983f978da5d4eb4b
deleted: sha256:55cd2e9e7414d5bcea5454e1e2710327c919a0914039d1d589b6c6faada73503
deleted: sha256:6e42c38ad0fbd6fa13aa39499e7ff55c567cb4d9d03a82d20db950e079a465f6
deleted: sha256:3c9b104da4764088cb415df5512016b85d5271b95e9cb612a165f1875f36daae
deleted: sha256:2ee7f30814e5db69b5638c9e6f8c5efda795d704b5ffa1b18dff55c999fdb05b
deleted: sha256:f0beb3e10cfd98bee42caa6683a6a8043c344f8d596a07a92c7c1dbea218f21c
deleted: sha256:8450f74cd36b8dee83cbb893350e167acb792b321fad0c2180abfd1ef0fcdf55

Total reclaimed space: 515MB
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: DOCKER_HOST=192.168.79.129:2375 docker compose -p torizon down --remove-orphans 

Warning: No resource found to remove for project "torizon".
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: DOCKER_HOST= docker compose build --pull --build-arg SSHUSERNAME=torizon --build-arg APP_ROOT=/home/torizon --build-arg IMAGE_ARCH=arm64 --build-arg SSH_DEBUG_PORT=6502 --build-arg GPU=-vivante quickstart-debug 

WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string. 
[+] Building 1.4s (15/15) FINISHED                                                                                                                                                                               docker:default
 => [quickstart-debug internal] load .dockerignore                                                                                                                                                                         0.1s
 => => transferring context: 117B                                                                                                                                                                                          0.0s
 => [quickstart-debug internal] load build definition from Dockerfile.debug                                                                                                                                                0.1s
 => => transferring dockerfile: 2.81kB                                                                                                                                                                                     0.0s
 => [quickstart-debug internal] load metadata for docker.io/torizon/debian:3.1.0-bookworm                                                                                                                                  1.1s
 => [quickstart-debug auth] torizon/debian:pull token for registry-1.docker.io                                                                                                                                             0.0s
 => [quickstart-debug 1/9] FROM docker.io/torizon/debian:3.1.0-bookworm@sha256:6fbb1be1ee08cfd61024e0fa4258ba152a9e2d44d36c3542bf00ce4783b5db0b                                                                            0.0s
 => [quickstart-debug internal] load build context                                                                                                                                                                         0.1s
 => => transferring context: 513B                                                                                                                                                                                          0.0s
 => CACHED [quickstart-debug 2/9] RUN apt-get -q -y update &&     apt-get -q -y install     openssl     openssh-server     rsync     file     screen     python3-minimal     python3-pip     python3-setuptools     pytho  0.0s
 => CACHED [quickstart-debug 3/9] RUN apt-get -q -y update &&     apt-get -q -y install     &&     apt-get clean && apt-get autoremove &&     rm -rf /var/lib/apt/lists/*                                                  0.0s
 => CACHED [quickstart-debug 4/9] RUN python3 -m venv /home/torizon/.venv --system-site-packages                                                                                                                           0.0s
 => CACHED [quickstart-debug 5/9] COPY requirements-debug.txt /requirements-debug.txt                                                                                                                                      0.0s
 => CACHED [quickstart-debug 6/9] RUN . /home/torizon/.venv/bin/activate &&     pip3 install --upgrade pip && pip3 install --break-system-packages -r requirements-debug.txt &&     rm requirements-debug.txt              0.0s
 => CACHED [quickstart-debug 7/9] COPY .conf/id_rsa.pub /id_rsa.pub                                                                                                                                                        0.0s
 => CACHED [quickstart-debug 8/9] RUN mkdir /var/run/sshd &&     sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g'         -i /etc/pam.d/sshd &&     if test torizon != root ;         then  0.0s
 => CACHED [quickstart-debug 9/9] RUN rm -r /etc/ssh/ssh*key &&     dpkg-reconfigure openssh-server                                                                                                                        0.0s
 => [quickstart-debug] exporting to image                                                                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                                                                                    0.0s
 => => writing image sha256:1129cb94fe9a3606bea9a27c3e97f6b2b6ef8e069202bafdc7b3678e074a2f36                                                                                                                               0.0s
 => => naming to localhost:5002/quickstart-debug:arm64                                                                                                                                                                     0.0s
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: DOCKER_HOST= docker compose push quickstart-debug 

WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string. 
[+] Pushing 0/0
  Pushing quickstart-debug: 384edf7a6609 Preparing                                                                                                                                                                        0.1s 
  Pushing quickstart-debug: 2665a7c8283a Preparing                                                                                                                                                                        0.1s 
  Pushing quickstart-debug: b9aed75462dd Preparing                                                                                                                                                                        0.1s 
[+] Pushing 0/18start-debug: f1c622ba6571 Preparing                                                                                                                                                                        0.1s 
  Pushing quickstart-debug: 384edf7a6609 Preparing                                                                                                                                                                        0.2s 
  Pushing quickstart-debug: 2665a7c8283a Preparing                                                                                                                                                                        0.2s 
  Pushing quickstart-debug: b9aed75462dd Preparing                                                                                                                                                                        0.2s 
[+] Pushing 0/18start-debug: f1c622ba6571 Preparing                                                                                                                                                                        0.2s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.3s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.3s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.3s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.3s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.4s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.4s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.4s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.4s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.5s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.5s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.5s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.5s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.6s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.6s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.6s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.6s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.7s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.7s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.7s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.7s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.8s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.8s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.8s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.8s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       0.9s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       0.9s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       0.9s 
[+] Pushing 0/18start-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       0.9s 
  Pushing quickstart-debug: 384edf7a6609 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 2665a7c8283a Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: b9aed75462dd Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: f1c622ba6571 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 19c23e6c8216 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 5d972b748652 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: e44b7091f2eb Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: e0f74b2c56dd Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 97eec37acd65 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 76411d35eb50 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 7f5937420874 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: b8e52d4e0904 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 19a3577ba1e9 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 6edd23fe0288 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 67702e04e8bc Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: 946fc890dcf3 Mounted from testapp-debug                                                                                                                                                       1.0s 
  Pushing quickstart-debug: fa1236104123 Mounted from testapp-debug                                                                                                                                  *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: sshpass -p Muegge123 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no torizon@192.168.79.129 LOCAL_REGISTRY=10.0.2.15 TAG=arm64 docker-compose pull quickstart-debug 

Warning: Permanently added '192.168.79.129' (ED25519) to the list of known hosts.
time="2024-01-19T10:31:23Z" level=warning msg="The \"DOCKER_LOGIN\" variable is not set. Defaulting to a blank string."
 quickstart-debug Pulling 
 quickstart-debug Warning 
 WARNING: Some service image(s) must be built from source by running:
    docker compose build %s quickstart-debug
1 error occurred:
        * Error response from daemon: Get "http://10.0.2.15:5002/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)



 *  The terminal process "sshpass '-p', 'Muegge123', 'ssh', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', 'torizon@192.168.79.129', 'LOCAL_REGISTRY=10.0.2.15 TAG=arm64 docker-compose pull quickstart-debug'" terminated with exit code: 18. 
 *  Terminal will be reused by tasks, press any key to close it. 

Reported by: @undefined

If you have more data that you think that is interesting from the context of the issue please reply below.

Thanks :robot:

Seems like your setup is missing some prerequisites:

 ERROR :: net-tools is not installed.
 git iputils-ping nmap avahi-utils file sshpass net-tools bind9-dnsutils installation OK

Please make sure your system is setup properly as documented here: Set up the Torizon IDE Extension 2 Environment | Toradex Developer Center

Best Regards,
Jeremias