CLI Device Move Timesout Intermittentl

Hi All,

Wondering if anyone has encountered this before?

When trying to move a device between fleets with this command:

balena device move 123456 --fleet SomeFleet

It intermittently times out after 30 seconds. I have to execute this command 9 or 10 times until it is eventual successful.

All other commands are instant, list devices, get device info, add tag, or remove tag etc are all instant.

Wondering if anyone has any idea what might cause this?

Cheers,
Chris

balena device register

is timing out too

network timeout at: https://api.balena-cloud.com/device/register

FetchError: network timeout at: https://api.balena-cloud.com/device/register
    at Timeout.<anonymous> (/snapshot/balena-cli/node_modules/node-fetch/lib/index.js:1498:13)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

Just confirming for me this is with openBalena - not balenaCloud.

Hi Chris,

There could be several reasons why you’re experiencing timeouts when trying to move a device between fleets with the balena device move command. Here are a few potential causes and troubleshooting steps you can try:

  1. Network or connectivity issues: Check your network connection and ensure that the device and the machine running the command are properly connected. You can try pinging the device to verify its connectivity.
  2. Device load or performance: If the device is under heavy load or experiencing performance issues, it may cause timeouts. You can check the device’s resource usage, such as CPU and memory, to see if it’s operating normally.
  3. Fleet-specific issues: It’s possible that there might be specific issues with the fleet you’re trying to move the device to. Check if there are any fleet-related restrictions or conditions that could be causing the timeouts.
  4. Balena API or server issues: There could be issues with the Balena API or server that are causing the timeouts. You can check the Balena status page or reach out to their support team to see if there are any known issues.
  5. Command-specific issues: It’s also worth checking if there are any known issues or limitations with the balena device move command in the version you’re using. Upgrading to the latest version of the Balena CLI might help resolve any potential bugs.

If you’ve tried the above steps and are still experiencing timeouts, I would recommend reaching out to the Balena support team or community forums. They will have more specific knowledge and may be able to provide further assistance based on your specific setup and environment.

I hope this helps!