Trivial Balena cloud test does not work

Here is a github with a trivial Balena push project that does not create a working image.

In the Balena io terminal window I see the following recurring errors:

Error listing ----------

SSH session disconnected
SSH reconnecting…
Spawning shell…
Error response from daemon: Container b1b5d7e523efcf471527301abda0a6ce90cc21b7582d1c5b78e89c1c3fdf3859 is restarting, wait until the container is running
Error response from daemon: Container b1b5d7e523efcf471527301abda0a6ce90cc21b7582d1c5b78e89c1c3fdf3859 is restarting, wait until the container is running
SSH session disconnected
SSH reconnecting…

Where I am now, the internet is pretty terrible. Could this problem be related to internet bandwidth?

Thanks for any suggestions,
Val
San Juan Island, WA

@val the process that you run in the container needs to run continuously. Looking at the Python script, it performs an action and then exits. The container then stops and is restarted, producing the output you’re seeing.

If you’d like to print the output just once, you need some way of making the container idle and wait after your script is finished - this can be a simple as an infinite loop with a sleep in it. As it stands now the container will exit upon completion and start again.

I hope this helps!