ApolloX Multicontainer project ssh

Hallo,

i am trying to test the ApolloX multicontainer project but one of the projects always fails its ssh connection and is therefore not launched.

Launching them individual works without a problem. But as soon as i try to launch both, one of them always fails.

To reproduce this just create a multicontainer project with apollox an add two projects. I tried different combination of .net Avalona GTK and .net console applications.

Best Regards
Simon

Hello @SimonBaur ,

Thanks for bringing this information to our attention.
We will try to reproduce this behavior and come back to you as soon as we have new information.

Best regards,
Josep

Hi @SimonBaur !

Could you please the logs of the issue you are facing?

Please share the messages from:

  • Terminal from the last task that you ran.
  • Output from “ApolloX Torizon”
    • you need to select “ApolloX Torizon” from the dropdown menu of Output window

Both are from VS Code IDE.

Best regards,

Hallo @henrique.tx,

here are the logs that you requested.

Terminal (pre-cleanup-arm64)

 *  Executing task in folder Frontend: bash -c [[ ! -z "colibri-imx8x-07252196" ]] && true || false 

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

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

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

 *  Executing task in folder Frontend: sleep 2 

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

 *  Executing task in folder Frontend: sshpass -p abcdabcdabcd scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /home/USER/repos/Project/ApolloX_Multi/ApolloXMulti/Frontend/../docker-compose.yml torizon@colibri-imx8x-07252196:~/ 

Warning: Permanently added 'colibri-imx8x-07252196,192.168.8.104' (ECDSA) to the list of known hosts.
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task in folder Frontend: sleep 2 

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

 *  Executing task in folder Frontend: sshpass -p abcdabcdabcd ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no torizon@colibri-imx8x-07252196 LOCAL_REGISTRY=192.168.8.12 TAG=arm64 GPU=-vivante docker-compose down --remove-orphans 

ssh: connect to host colibri-imx8x-07252196 port 22: Invalid argument

 *  The terminal process "sshpass '-p', 'abcdabcdabcd', 'ssh', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', 'torizon@colibri-imx8x-07252196', 'LOCAL_REGISTRY=192.168.8.12 TAG=arm64 GPU=-vivante docker-compose down --remove-orphans'" terminated with exit code: 255. 
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task in folder Frontend: bash -c [[ ! -z "colibri-imx8x-07252196" ]] && true || false 

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

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

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

 *  Executing task in folder Frontend: sleep 2 

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

 *  Executing task in folder Frontend: sshpass -p abcdabcdabcd scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /home/USER/repos/Project/ApolloX_Multi/ApolloXMulti/Frontend/../docker-compose.yml torizon@colibri-imx8x-07252196:~/ 

Warning: Permanently added 'colibri-imx8x-07252196,192.168.8.104' (ECDSA) to the list of known hosts.
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task in folder Frontend: sleep 2 

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

 *  Executing task in folder Frontend: sshpass -p abcdabcdabcd ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no torizon@colibri-imx8x-07252196 LOCAL_REGISTRY=192.168.8.12 TAG=arm64 GPU=-vivante docker-compose down --remove-orphans 

ssh: connect to host colibri-imx8x-07252196 port 22: Invalid argument

 *  The terminal process "sshpass '-p', 'abcdabcdabcd', 'ssh', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', 'torizon@colibri-imx8x-07252196', 'LOCAL_REGISTRY=192.168.8.12 TAG=arm64 GPU=-vivante docker-compose down --remove-orphans'" terminated with exit code: 255. 
 *  Terminal will be reused by tasks, press any key to close it. 

Output “ApolloX Torizon”

[02-01 15:58:59.900] Activating ApolloX Torizon ...
[02-01 15:58:59.901] Resolving host IP address ...
[02-01 15:59:00.463] Host IP address OK
[02-01 15:59:00.468] Docker installed OK
[02-01 15:59:00.513] Docker running OK
[02-01 15:59:00.596] Docker compose OK
[02-01 15:59:00.604] PowerShell OK
[02-01 15:59:00.616] git OK
[02-01 15:59:00.623] avahi-resolve OK
[02-01 15:59:00.631] nmap OK
[02-01 15:59:00.637] iputils-ping OK
[02-01 15:59:00.652] file OK
[02-01 15:59:00.653] Cloning project templates
[02-01 15:59:00.987] Project templates updated
[02-01 15:59:00.989] Checking connected devices ...
[02-01 15:59:00.989] Scanning Torizon devices ...
[02-01 15:59:01.06] ApolloX Torizon extension activated
[02-01 15:59:02.934] Debian packages list load OK
[02-01 15:59:04.378] Device colibri-imx8x-07252196 set as Docker Host

Best Regards
Simon

Hi @SimonBaur

could you check the version of the extension that you are using?
Should be version 0.0.66

Also check if it is possible to connect to the default device using the Open Terminal option:
image

Another test is to try to connect using your system terminal directly tiping the password when required:

ssh torizon@<your device hostname or ip>

Let me know if it’s possible to connect in these other ways.

Best Regards,

Hallo @matheus.castello

I updated to 0.0.66 and generated a new project. Then i changed the shh ports so both projects had different ports. And now everything works as expected an both project launch.

Best Regards
Simon

Hi @SimonBaur !

Thanks for the feedback!

Could you please mark as the Solution the most suitable message? This is very important :slight_smile:

Best regards,