edgedb-cli
edgedb-cli copied to clipboard
ClientConnectionFailedError: could not resolve address `("localhost", 10700)`
Good day!
Gratz with release of 1.0!
Wanted to try EdgeDB and went to 'quickstart tutorial'
At step 'edgedb package init' I got error:
edgedb error: ClientConnectionFailedError: could not resolve address ("localhost", 10700)
: failed to lookup address information: Name does not resolve
What can be done to fix it? Thank you!
localhost ping is fine and [email protected] runs too
- EdgeDB Version: 1.0
- OS Version: Archlinux
BR,
Roman
Does this happen consistently or intermittently? What does host localhost
show?
Problem survived reboot:
This seems like a problem with your system. host localhost
cannot resolve it either. Check if it's in /etc/hosts
and that /etc/hosts
are used by your system resolver.
@tailhook, any reason why we can't switch to 127.0.0.1
to make things work better in cases like this?
I think used localhost
because rustls doesn't work with IPs. But we have a workaround for that anyway, so I think we can switch to 127.0.0.1.
My /etc/hosts is empty and network is generic wifi configured by NetworkManager with DNS 8.8.8.8:
Not quite sure if this is a bug or feature, but I adjusted NetworkManager.conf and problem got away. Thank you for clues and good luck with your project!