IT박스

GitHub-github 443 창에 연결하지 못했습니다 / gitHub에 연결하지 못했습니다-오류 없음

itboxs 2020. 6. 10. 22:49
반응형

GitHub-github 443 창에 연결하지 못했습니다 / gitHub에 연결하지 못했습니다-오류 없음


Q-최신 버전의 Angular를 얻기 위해 자식을 설치했습니다. 내가 전화했을 때

git clone https://github.com/angular/angular-phonecat.git

github 443 오류에 연결하지 못했습니다

나는 심지어 시도했다

git clone git://github.com/angular/angular-phonecat.git

그것은 오류 메시지를 연결하지 못했습니다.

회사 방화벽 뒤에 있습니다. 나는 control panel->Internet Options -> connections -> lan setting.IT 사람들이 프록시 정보를 공유하지 않고 프록시 정보를 볼 수 없습니다 . 나는 무엇을 해야할지 모르겠다 ??

나는 마침내 그것을 관리했다. 작업을 수행하기 위해 수행 한 모든 단계를 컴파일하고 싶었던 절차를 업데이트하겠습니다.


글쎄, 나는 단계를 수행했다

  1. 구글 오류

  2. 프록시 설정을 위해 Git Config를 업데이트해야한다는 동일한 것을 제안 한 SO Links ( here , here )로 이동했습니다.

  3. 젠장, 제어판에서 프록시 정보를 볼 수 없습니다. IT 직원은 숨겨야합니다. 프록시를 사용하지 않도록 설정을 변경할 수도 없습니다.

  4. 어떤 프록시가 연결되어 있는지 찾아내는 훌륭한 튜토리얼 을 찾았습니다.

  5. http.proxy다음 명령으로 git config 키를 업데이트했습니다.

git config --global http.proxy http [s] : // userName : password @ proxyaddress : 포트

  1. 오류 – 프록시를 해결할 수 없습니다 some@proxyaddress:port. 내 비밀번호에 @ 기호가있는 것으로 나타났습니다.

  2. git은 프록시 설정을 @로 나누기 때문에 @비밀번호를로 인코딩 하십시오.%40

  3. userName이 이메일 주소 인 @경우로 인코딩하십시오 %40. ( 이 답변 참조 )

git config --global http.proxy http [s] : // userName (encoded) : password (encoded) @proxyaddress : port

바암! 그것은 효과가 있었다!

참고-나는 SO에 대한 답을 찾는 사람과 같은 영혼을 위해이 질문에 대답하고 싶었습니다.


귀하의 국가 또는 작업 환경이 Github와 같은 사이트를 차단하는 경우

그런 다음 프록시를 구축 할 수 있습니다 (예 : xxnet 사용 ). 이는 무료이며 Google 기반 GAE이며 Windows/ Linux/에 사용할 수 있습니다 Mac.

그런 다음 git의 프록시 주소를 설정하십시오.

git config --global http.proxy 127.0.0.1:8087

자식이 이미 설정되어 있고 해당 폴더를 다른 위치로 복사 한 경우 다음을 실행하십시오.

git config --global http.proxy ""

그리고 git은 똑바로 설정됩니다.


이 명령을 사용하여 광산을 수정했습니다 :-

      >git config --global http.proxy XXX.XXX.XXX.XXX:ZZ

여기서 XXX.XXX.XXX.XXX는 프록시 서버 주소이고 ZZ는 프록시 서버의 포트 번호입니다.

필자의 경우 사용자 이름이나 비밀번호를 지정할 필요가 없었습니다.


나는 그렇게했다 :

git config --global http.proxy http://{domain}\\\{username}:{password}@{proxy ip}:{proxy port}

git config --global http.sslverify false

(이 답변이 나와 같은 사람을 도와주세요.)

Windows에서 git을 사용하는 Windows에서도 동일한 문제가 발생했습니다 .

평소처럼 프록시 설정을 설정했습니다.

git config --global http.proxy http://username:pass@proxy.com:port

내 상황에서 사용자 이름은 전자 메일이므로 @ 기호가 있습니다. username에서 % 40 으로 @ 기호를 인코딩하면 문제가 해결됩니다.

따라서 특수 문자를 비밀번호뿐만 아니라 사용자 이름으로 인코딩하십시오. ( 이 답변 에 대한 의견 참조 )


SourceTree에서 같은 오류가 있었로 이동 도구> 옵션> 네트워크 및 확인 힘내 / 의욕에 프록시 서버 구성을 추가 이미 프록시 설정을 설정 한 경우


회사 프록시 작업에 대한 폭 넓은 경험이 있습니다. 구성은 일반적으로 잘 작동합니다

그러나 프록시를 구성했지만 git (항상 443 오류가 발생)으로 작업 할 수없는 경우 구성을 무시하는 remote.origin.proxy가 있는지 확인하십시오.

git config --list --show-origin

"remote.origin.proxy"가 빈 값으로 구성되어 있는지 확인한 경우 설정을 해제하거나 회사 프록시로 설정하십시오.

git config --add remote.origin.proxy "http://[yourproxy]:[yourport]"

그리고 여러 엔터프라이즈 사이트에 신뢰할 수없는 인증서가 있으므로 SSL을 사용하는 경우 인증서 확인을 피하는 것이 좋습니다.

git config http.sslverify false    
git config --global http.sslverify false

Windows 7에서 프록시를 전역 구성으로 설정하면이 문제가 해결됩니다.

git config --global http.proxy http : // user : password @ proxy_addr : port

그러나 여기서 문제는 암호가 암호화되지 않는다는 것입니다. 대부분의 시간 동안 PC의 단독 소유자가되기 때문에 많은 문제가되지 않기를 바랍니다.


이 명령을 사용하여 내 문제가 해결되었습니다.

git config --global http.proxy http://login:password@proxyServer:proxyPort

ipconfig /renew -이 문제를 해결했습니다.


사용할 때 오류가 발생했습니다

<git config --global http.proxy http://user:password@proxy_addr:port>

The error is that the config file cannot be identified as there is no such file. I changed the command to

<git config --system http.proxy http://user:password@proxy_addr:port>

I am running git on the Windows 7 command prompt.
The above command references the config file in GIT_HOME/etc/gitconfig.
The --global option does not.


For me I have to set the https_proxy and http_proxy in addition to git proxy configuration then only it worked.


(Not an answer, but a very similar problem) I have Git Gui installed on a Windows system behind a proxy. Issuing 'git clone' from a Linux virtual machine running on the Windows system works, but Git Gui yields the 443 error mentioned in the heading.

To fix this, one must edit %USERPROFILE%\.gitconfig to add an [http] section:

[http]
    postBuffer = 1000000000
    proxy = the.proxy.address:the.proxy.port
    sslcainfo = C:/Users/username/Documents/the.certificate.name.cer

Note that the path to the security certificate file has had its backslashes ('\') replaced by slashes ('/').


You can also try deleting the remote and adding it again. It worked for me. However you need to setup up tracking information for all branches and other stuff which may not be ideal for large projects.

Basically the steps are :
git remote rm origin git remote add origin
git@github.com:user/repo.git
git push origin master
https://coderwall.com/p/7begkw/fatal-remote-error-you-can-t-push-to-git


Before you try the fancy stuff, try disabling the firewall and antivirus and see if it works. That was my problem.


I am using Tortoise Git and simply going to Git in Settings and applying the same settings to Global. Apply and Ok. Worked for me.


In Visual Studio go to

Tools/NuGet Package Manager / Package Manager Console

Type git config --global http.proxy http://xxx.xxxx.xxxx:Port

참고URL : https://stackoverflow.com/questions/18356502/github-failed-to-connect-to-github-443-windows-failed-to-connect-to-github

반응형