$ DEBUG=1 balena logs <uuid>
[debug] original argv0="node" argv=[/usr/local/bin/node,/usr/local/bin/balena,logs,f3f1b790b5d0cded4bdf06f4f389c637] length=4
FetchError: network timeout at: https://api.balena-cloud.com/device/v2/f3f1b790b5d0cded4bdf06f4f389c637/logs?
at Timeout._onTimeout (/usr/local/lib/node_modules/balena-cli/node_modules/node-fetch/index.js:126:13)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
This issue is intermittent and appears to be related to balenaCloud DB provisioning, but the actionable point regarding the CLI would probably be to improve the error message to indicate more clearly that the network timeout comes from attempting to contact the balenaCloud backend (API servers), and perhaps to automatically retry. Automated issue reporting could also be considered.
This issue is intermittent and appears to be related to balenaCloud DB provisioning, but the actionable point regarding the CLI would probably be to improve the error message to indicate more clearly that the network timeout comes from attempting to contact the balenaCloud backend (API servers), and perhaps to automatically retry. Automated issue reporting could also be considered.