-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to query DNS from host: lookup api.crc.testing
#3916
Comments
When you try to connect to the cluster, are you by any chance connected to a VPN (I do see AnyConnect)? Note that VirtualBox is also installed. Since the hypervisor needs to run in exclusive mode, this might have effects on the way Hyper-V will work. |
Can you use:
to make sure this is referring to |
api.crc.testing
Im was not connected to any VPN. Closed the software vpn to be certain. and
tried again.
Den tis 14 nov. 2023 kl 09:04 skrev Gerard Braad ***@***.***>:
… When you try to connect to the cluster, are you by any chance connected to
a VPN (I do see AnyConnect)?
—
Reply to this email directly, view it on GitHub
<#3916 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQL4N7HDRVB3MUV7HFUDP3YEMQX7AVCNFSM6AAAAAA7KLU2UCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZG4YTAOBWGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
```
Ping request could not find host api.crc.testing. Please check the name and try again.
```
|
the address |
```
192.168.1.20 gateway.docker.internal host.docker.internal
127.0.0.1 kubernetes.docker.internal kubernetes.docker.internal
view-localhost api.crc.testing
canary-openshift-ingress-canary.apps-crc.testing
console-openshift-console.apps-crc.testing
default-route-openshift-image-registry.apps-crc.testing
downloads-openshift-console.apps-crc.testing
oauth-openshift.apps-crc.testing # view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server view localhost server view localhost server view localhost
server
```
|
the entries hmmm... Can you edit this by removing |
Note that those references |
Removed it and ran:
```
crc setup
crc start <-- WARN Failed to query DNS from host: lookup api.crc.testing:
getaddrinfow: This is usually a temporary error during hostname resolution
and means that the local server did not receive a response from an
authoritative server.
```
|
Something on your system prevents the correct lookup to happen, as can be seen in: #3916 (comment) Add a new line to the hosts file with
and see if this can be resolved. Otherwise, please check if you have other tools installed that might cause issues with networking, such as an application firewall, antivirus, etc. |
Any updates? |
Sorry for the late response Gerard!
Good news, i removed the view localhost in my hosts file, added 127.0.0.1
api.crc.testing. Rebooted computer and ran crc setup followed by crc start
and now it works fine.
Thank you so much for your help, you da real mvp!
Den ons 15 nov. 2023 kl 12:49 skrev Gerard Braad ***@***.***>:
… Any updates?
This is not reproducible for me, so it is a local issue with your
(networking) setup.
—
Reply to this email directly, view it on GitHub
<#3916 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQL4N35OA4I6GCU2CRYAEDYEST43AVCNFSM6AAAAAA7KLU2UCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSGM4TANZRGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Closing this since it is worked. Please reopen or create new if you face it again. |
This could have helped maybe: crc-org/admin-helper#42 @crc-org/crc-team PTAL |
General information
crc setup
before starting it (Yes/No)? YesCRC version
# Put `crc version` output here CRC version: 2.29.0+da5f55 OpenShift version: 4.14.1 Podman version: 4.4.4
CRC status
CRC config
Host Operating System
Steps to reproduce
crc setup
crc start
oc login -u developer https://api.crc.testing:6443
Expected
Login with cli.
Actual
Error message:
Logs
Before gather the logs try following if that fix your issue
Please consider posting the output of
crc start --log-level debug
on http://gist.github.com/ and post the link in the issue.The text was updated successfully, but these errors were encountered: