Git Error: The requested URL returned error: 504 Gateway Timeout while accessing http://

前端 未结 2 585
后悔当初
后悔当初 2021-01-04 01:05

I am using a VM provisioned by my company\'s internal cloud (KVM) - RHEL 6.4.

I am able to clone external repositories from the internet. Yet, I cannot figure out ho

2条回答
  •  孤独总比滥情好
    2021-01-04 01:37

    The 504 status is most likely because you're trying to access an internal server through the proxy so I don't think you should set the proxy but instead focus on the 401 status since that most likely comes from the server hosting the repositories.

    • Do you have anonymous access to the internal repositories?

    • Are you cloning them in the same way, i.e. using HTTP on both your laptop and on the server, or are you using SSH on the laptop and HTTP on the server?

    • Do you have any credentials stored on your laptop?

提交回复
热议问题