So basically I have a server where I have bitbucket git repository set up. I\'ve been using it for months and now out of the blue sky when I try to pull I get the following erro
For linux - restarting the network may help:
sudo service networking restart
As sreekumar said, the idea is to preset the DNS and it is detailed here
Changing DNS server settings on Windows 7
I am using git through Linux Subsystem on Windows 10, and only the answer from @Saviour Dela above, worked for me. Process I followed is as follows:
bitbucket
, by ping bitbucket
from Windows command prompt./etc/hosts
file. The error message suggests a DNS or network issue.
If this is a linux box you could investigate the output of a few networking commands such as ifconfig
, host bitbucket.org
, and follow some guides on troubleshooting DNS issues for your specific environment.
This worked for me. I had added google DNS server details in NetworkPreference.
I had the same problem until I turned off my VPN. I am not sure of the reason though I will be happy if someone explains.