GitHub connection issues when connected to VPN #91
Answered
by
AAndersn
AAndersn
asked this question in
Installation
|
When attempting to clone GridAPPS-D repository during installation on Windows, receiving an error message "could not resolve github.com" What is the reason for this? |
Answered by
AAndersn
Feb 4, 2021
Replies: 1 comment
|
This typically has to do with connection to your lab / corporate VPN causing the virtual machine to be unable to reach a domain name server (DNS) On WSL2, first try disconnecting from the VPN. Then in the command window, enter
If you receive a response, you should be able to clone the repository now. If not, enter in the command window
Change the IP address after nameserver to 8.8.8.8 Save and close the file. This should correct the issue and you should be able to clone the repository |
0 replies
Answer selected by
AAndersn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This typically has to do with connection to your lab / corporate VPN causing the virtual machine to be unable to reach a domain name server (DNS)
On WSL2, first try disconnecting from the VPN. Then in the command window, enter
ping google.comIf you receive a response, you should be able to clone the repository now. If not, enter in the command window
sudo nano /etc/resolv.confChange the IP address after nameserver to 8.8.8.8
Save and close the file. This should correct the issue and you should be able to clone the repository