balena-cli
balena-cli copied to clipboard
mDNS resolution failing on Ubuntu 19.10, when doing local push with .local name.
When doing balena push
in local mode using the .local device address, the first step (GET call to /ping) fails with Could not communicate with local mode device at address da508c.local
, indicating a mDNS resolution error.
- balena CLI version: 11.18.3
- Operating system version: PopOS (Ubuntu) 19.10
- 32/64 bit OS and processor: e.g. 64
- Install method: npm
- If npm install, Node.js and npm version: Node v12.113.0 and npm v6.12.0
On windows(install method: installer) and trying to push to a device running standalone balenaOS, balena push <hostname>.local
does not work while balena push <device ip>
works
@rahul-thakoor Is it failing with an error message?
hey @srlowe yes, with:
ENOTFOUND: getaddrinfo ENOTFOUND standalone.local standalone.local:2375
I ran into the same issue but I had missed enabling local development mode mentioned in the docs. Both the .local address and actual IP address where giving me the original error.