When I ran:
balena whoami --debug
I saw that balena cli was looking for a host named data.
[debug] new argv=[/usr/local/lib/balena-cli/bin/node,/usr/local/lib/balena-cli/bin/run,whoami] length=3 [debug] Deprecation check: 0.04881 days since last npm registry query for next major version release date. [debug] Will not query the registry again until at least 7 days have passed. [debug] Event tracking error: getaddrinfo ENOTFOUND data.balena.sifly.ai
BalenaRequestError: Request error:
When I ran: balena whoami --debug I saw that balena cli was looking for a host named data.
[debug] new argv=[/usr/local/lib/balena-cli/bin/node,/usr/local/lib/balena-cli/bin/run,whoami] length=3 [debug] Deprecation check: 0.04881 days since last npm registry query for next major version release date. [debug] Will not query the registry again until at least 7 days have passed. [debug] Event tracking error: getaddrinfo ENOTFOUND data.balena.sifly.ai BalenaRequestError: Request error:
So I added data.mydomain.com to DNS