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
Closed
peterlaser opened this issue
Apr 14, 2015
· 8 comments
Assignees
Comments
There a regression after Bug fix: http://curl.haxx.se/mail/lib-2015-01/0170.html
The issue reproduce steps is below:
1.enable local proxy
2 input an unresolvable server address in Client to connect
Result:
The process will be hanging until an error message is prompted
The code used some happy eyeballs logic even after CONNECT has been
sent to a proxy, while the happy eyeball phase is already (should be)
over by then.
This is solved by splitting the multi state into two separate states
introducing the new SENDPROTOCONNECT state.
We reported that timeout issue to you, and the issue disappeared after our own fix was used instead of yours. Looks it was hung in the select poll of curl, see the below stack with your patch:
WARNING: Stack unwind information not available. Following frames may be wrong.
001bdc4c 756d6a28 000006d5 001bdf48 00000000 ntdll32!NtDeviceIoControlFile+0x15
001bdccc 522b218e 000006d5 001bdf48 00000000 WS2_32!select+0x9f
001be064 522986a2 000006d4 ffffffff ffffffff libcurl!Curl_socket_check+0x47e [d:buildwin32curl-7.41.0curl-7.41.0libselect.c @ 327]
001be134 5229816f 06bec540 00000000 06becc50 libcurl!Curl_proxyCONNECT+0x492 [d:buildwin32curl-7.41.0curl-7.41.0libhttp_proxy.c @ 233]
001be1c4 522929c1 06bec540 cccccccc 001be2e0 libcurl!Curl_proxy_connect+0x8f [d:buildwin32curl-7.41.0curl-7.41.0libhttp_proxy.c @ 74]
001be1d4 522a2d5c 06bec540 001be2bc 001be324 libcurl!Curl_http_connect+0x21 [d:buildwin32curl-7.41.0curl-7.41.0libhttp.c @ 1391]
001be2e0 522a4bd8 06bef708 000ae2a9 000182b8 libcurl!multi_runsingle+0x5ec [d:buildwin32curl-7.41.0curl-7.41.0libmulti.c @ 1181]
001be324 522a4d62 06bef708 00000000 000006d4 libcurl!multi_socket+0x198 [d:buildwin32curl-7.41.0curl-7.41.0libmulti.c @ 2270]
001be344 004d2518 06bef708 000006d4 00000000 libcurl!curl_multi_socket_action+0x22 [d:buildwin32curl-7.41.0curl-7.41.0libmulti.c @ 2416]
Can you please help us and describe the issue more? That stack trace isn’t helping us a whole lot without more info. The best case would be if you can provide source code and a scenario on how to repeat it!
Hi Daniel,
The reproduce steps is below:
1.Enable proxy in client host
2 Input an invalid server address in our client to connect
Result:
The process will be hanging until an error message is prompted
Thanks!
On Tuesday, April 14, 2015 4:16 PM, Daniel Stenberg <notifications@github.com> wrote:
Can you please help us and describe the issue more? That stack trace isn’t helping us a whole lot without more info. The best case would be if you can provide source code and a scenario on how to repeat it!—
Reply to this email directly or view it on GitHub.
Something like this?
curl -p -x localhost:80 non-existing.haxx.se -v
In your case, what does the proxy respond? I could not repeat the problem, I need more details.
Hi Daniel,
Do you have applied the patch for http://sourceforge.net/p/curl/bugs/1479/ in your curl executable file? It should be only repro after the patch checked in.
I have not the curl executable file in hand, Could you please provide the build to me so that I can try it in my host? Thanks.
I use the current git master. You can build your own from git or from a daily snapshot: http://curl.haxx.se/snapshots/ — I don’t have any suitable executable to share.
bagder
changed the title
Subject: [PATCH] multi: fix *getsock() with CONNECT
CONNECT over proxy to non-existing host fails
Apr 20, 2015
Hi Daniel,
I tried curl 7.42 executable from http://www.paehl.com/open_source/downloads/curl_X64_ssl.7z
The main thread will be hang for a while after Proxy-Connection: Keep-Alive below, please let me know if there is a way to collect the curl executable logs or need additional information, thanks.
C:curl_X64_sslopenssl>curl -x proxy.xx.xx:3128 -v https://
- Rebuilt URL to: https://10.117.46.1/
- Trying x.x.x.x…
- Connected to x.x.x.x port 3128 (#0)
- Establish HTTP proxy tunnel to 10.117.46.1:443
CONNECT 10.117.46.1:443 HTTP/1.1
Host: 10.117.46.1:443
User-Agent: curl/7.42.0
Proxy-Connection: Keep-Alive
The main thread will be hang for a while in here
< HTTP/1.0 503 Service Unavailable
< Server: squid/2.6.STABLE21
< Date: Thu, 23 Apr 2015 06:03:52 GMT
< Content-Type: text/html
< Content-Length: 1074
< Expires: Thu, 23 Apr 2015 06:03:52 GMT
< X-Squid-Error: ERR_CONNECT_FAIL 110
<
- Received HTTP code 503 from proxy after CONNECT
- Closing connection 0
curl: (56) Received HTTP code 503 from proxy after CONNECT
On Wed, Apr 22, 2015 at 11:12:31PM -0700, peterlaser wrote:
Hi Daniel,
I tried curl 7.42 executable from http://www.paehl.com/open_source/downloads/
curl_X64_ssl.7z
The main thread will be hang for a while after Proxy-Connection: Keep-Alive
below, please let me know if there is a way to collect the curl executable logs
or need additional information, thanks.C:curl_X64_sslopenssl>curl -x proxy.xx.xx:3128 -v https://
• Rebuilt URL to: https://10.117.46.1/
• Trying x.x.x.x…
• Connected to x.x.x.x port 3128 (#0)
• Establish HTTP proxy tunnel to 10.117.46.1:443 > CONNECT 10.117.46.1:443
HTTP/1.1 > Host: 10.117.46.1:443 > User-Agent: curl/7.42.0 >
Proxy-Connection: Keep-Alive >The main thread will be hang for a while in here
< HTTP/1.0 503 Service Unavailable < Server: squid/2.6.STABLE21 < Date: Thu, 23 Apr 2015 06:03:52 GMT < Content-Type: text/html < Content-Length: 1074 < Expires: Thu, 23 Apr 2015 06:03:52 GMT < X-Squid-Error: ERR_CONNECT_FAIL 110 < □ Received HTTP code 503 from proxy after CONNECT □ Closing connection 0 curl: (56) Received HTTP code 503 from proxy after CONNECT
This sounds like perfectly normal behaviour if the proxy is unable to reach the
server. Once the proxy times out trying, it will return the error code that
curl reports.
Dan
lock
bot
locked as resolved and limited conversation to collaborators
May 7, 2018
I am trying to clone from a corporate git repo, but always receive this error message after a while:
fatal: unable to access URL: Received HTTP code 503 from proxy after CONNECT
I have the following .gitconfig file:
[https]
sslVerify = false
proxy = https://proxy.corpadderess:8080
[http]
sslVerify = false
proxy = http://proxy.corpadderess:8080
Rubén
33.5k9 gold badges66 silver badges164 bronze badges
asked Jan 29, 2017 at 16:39
If it is a corporate repo, you might want to ignore proxy settings. One possible solution to your problem is here:
-
Ignore proxy:
export no_proxy=YOUR_CORP_DOMAIN_ON_GITHUB
, where the domain name might be in the form ofgithub.acme.net
-
Ignore SSL verification:
git config --global http.sslVerify "false"
You could then clone the repo w/ git clone YOUR_HTTPS_CLONE_URL
answered Mar 10, 2017 at 2:31
srctahasrctaha
1,3761 gold badge14 silver badges16 bronze badges
2
In my case I needed to disable both the proxy and authenticating SSL certificates, I don’t really like this solution as it doesn’t sit well with me — turning off verifying SSL certificates doesn’t sound wise!
But here’s the command I ran to get it to work:
git clone <addr of repo> --config http.proxy= --config http.sslVerify=false
answered Apr 23, 2018 at 13:02
EM-CreationsEM-Creations
4,0854 gold badges41 silver badges55 bronze badges
If you want to ignore proxy for a single git command you can use -c option, for example:
git clone http://user@yourcompany.com/repo.git —config http.proxy=
answered Sep 10, 2017 at 10:34
you can add in your .gitconfig file for ignore your corporate proxy :
[http "http://proxy.corpadderess:8080"]
sslVerify = false
proxy =
answered Dec 5, 2018 at 9:01
Even I had the similar problem while pushing my code changes into corporate gitlab after I set «HTTP_PROXY» and «HTTPS_PROXY» into my environment variable to use the proxy for accessing other sites that are blocked by the company. I ran the following command in Git Bash console
to ignore the proxy before pushing the code and it worked for me.
export no_proxy=YOUR_CORP_DOMAIN_ON_GITLAB
,
where the domain name might be in the form of gitlab.aptask.com (I didn’t put any http:// or https://)
answered Aug 18, 2020 at 23:54
I faced the same issue and don’t want to bypass SSL verification.
I make it work thanks to these steps (Windows):
1. Launch in a console :
C:UsersME>nslookup gitlab.my-company.fr
Serveur : ken45d45.ntkd0.my-company.fr
Address: XXXX.XXXX.XXXX.XXXX
Réponse ne faisant pas autorité :
Nom : zep150y1fv0.something-else-company.fr
Address: XXXX.XXXX.XXXX.XXXX
Aliases: gitlab.my-company.fr
2. In order to clone git@gitlab.my-company:project/group/sources.git :
Replace by the original instead of alias :
git clone git@zep150y1fv0.something-else-company.fr:project/group/sources.git
answered Feb 25, 2019 at 9:50
DelphineDelphine
8427 silver badges20 bronze badges
sometimes previous proxy settings makes this kind of problem. I had unset some proxy settings and run the git clone/fetch again. then it was working.
git config --global --unset http.proxy
git config --global --unset https.proxy
git config --global --unset core.gitproxy
answered Dec 30, 2022 at 5:51
use git ssh command
git clone «ssh:/
answered Mar 9, 2021 at 5:00
Contents
- 1 Saslauth Failed (curl_easy_perform error)
- 1.1 Problem
- 1.2 Solution
- 1.2.1 Why does this issue occur?
- 1.2.2 How SASL works
Saslauth Failed (curl_easy_perform error)
KB 24091 | Last updated on 2021-11-15 | |
---|---|---|
0.00
|
||
Problem
IMAP/POP clients get a password pop-up window and are not able to send and receive any e-mails. When using the correct username and password, the following authentication error in /var/log/zimbra.log file is observed :
Nov 28 15:06:57 mbox1 saslauthd[45799]: auth_zimbra: ztest@xxxxxx.com auth failed: curl_easy_perform: error(56): Received HTTP code 503 from proxy after CONNECT Nov 28 15:06:57 mbox1 saslauthd[45799]: do_auth : auth failure: [user=ztest@xxxx.com] [service=smtp] [realm=xxxx.in] [mech=zimbra] [rea son=Unknown] Nov 28 15:06:57 mbox1 postfix/smtpd[18938]: warning: unknown[10.0.7.162]: SASL LOGIN authentication failed: authentication failure Nov 28 15:06:57 mbox1 postfix/smtpd[18938]: lost connection after AUTH from unknown[10.0.7.162]
Solution
Check if any additional forward proxy is enabled (like Nginx or Squid)
Run following command to check the additional proxy:
# env | grep -i proxy
Run the following command to check saslauth with the mailbox node. The same curl command works in the backend during saslauth.
$ curl -X POST -u zimbra.user2@example.com:test@123 -d 'authType=sasl' https://mbox1.example.com:7073/service/admin/soap/ -k
Remove additional proxy and restart the MTA service to invalidate the old saslauth connection which was established.
$ zmmtactl restart
Why does this issue occur?
When saslauth happens on MTA server, it checks ZCS saslauthd lookup server on port 7073 which is a mailbox server. If a local forward proxy is configured, this request will be handled by this proxy. Since this proxy doesn’t know where to forward this request to, it shows HTTP 503 and 502 errors.
How SASL works
SASL is not a protocol but is a framework that can be used with protocols such as SMTP. For each protocol that uses SASL, there will be a specification as to how the protocol uses SASL. This means that SASL can be used with a wide range of protocols, and can be adapted to the details of how any specific protocols work.
The basic operation of SASL is straightforward. The server provides a list of supported authentication mechanisms, and then the client says which one will be used (based on the client’s capabilities and security requirements).
Protocols that contain SASL support include:
- LDAP (Internet Standard Lightweight Directory Access Protocol)
- SMTP (Internet Standard Simple Message Transfer Protocol)
- POP3 (Internet Standard Post Office Protocol v3)
- IMAP (Internet Standard Internet Mail Access Protocol)
- XMPP: Extensible Messaging and Presence Protocol
- Isode’s SOM (Switch Operations and Management) Protocol
This external link contains more information about SASL.
Submitted by: Gopal Singh Bhandari
Try Zimbra
Try Zimbra Collaboration with a 60-day free trial.
Get it now »
Want to get involved?
You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »
Looking for a Video?
Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »
I am having my CentOS 6.5 installed with Puppet Entrprise 3.3.
The dashboard is running fine.
Now I want to add a puppet agent on another CentOS 6.5 box.
Since both are same OS type, Following the guidelines available in puppet docs site https://docs.puppetlabs.com/pe/latest/install_agents.html, I run the following
curl -k https://<mymasterserverFQDN>:8140/packages/current/install.bash | sudo bash
But I receive the error
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) Received HTTP code 503 from proxy after CONNECT
I checked my master server iptables.I have added rule for 8140 port and did sudo service iptables save.
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
ACCEPT tcp -- anywhere anywhere tcp dpt:8140
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
The supposed to be agent box can resolve the master server hostname, the ping responds properly.
I have tried to run curl by additionally providing the proxy address (using -x [protocol://proxy:port] (login credentials not needed), as I am actually behind proxy, but not sure how that will effect this installation here.
But no benefit.
Also tried with
curl -k https://<mymasterserverFQDN>:8140/packages/current/el-6-x86_64.bash | sudo bash
but no result.
I can see the install.bash/el-6-x86_64.bash exists /opt/puppet/packages/public/current in the master server [It was a standard monolitic installation, I did not do anything funky with it]
Can anyone please help me out on this. I searched in net but not getting much information on this error.
Reply/Update #1
Hi Zordache,
Thanks for looking into.
I see the same error messege. I am trying to make use of wireshark/tcpdump to see if those tools help someway to understand the problem.
curl -k https://<mymasterserverFQDN>:8140/packages/current/el-6-x86_64.bash | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) Received HTTP code 503 from proxy after CONNECT
I did not touch the install.bash. One thought though, I was playing with puppestmaster.conf file to make a different server as CA server. Can that effect the install.bash. My understanding was installation will create trouble but an agent run might cause down the line.
UPDATE 2014-10-24
The following command if I use, it runs fine.
sudo curl -k https://<mymasterserverFQDN>:8140/packages/current/el-6-x86_64.bash | sudo bash
Open
Issue created Aug 04, 2020 by
Unable to connect to GlobalProtect VPN using Username and PIN + Passcode
Problem description
Unable to connect to company GlobalProtect VPN using OpenConnect client.
Official GlobalProtect Linux client connects correctly.
Step to reproduce
- run
openconnect --protocol=gp vpn.mycompany.com -vvvv --dump-http-traffic --dump --authenticate -u rleinardi --certificate /etc/pki/payback/myhostname.pem
- entered the PEM pass phrase
- entered the PIN + Passcode (the passcode is a generated token valid only for 60s)
Expected result
The connection should be established
Actual result
After correctly entering the PIN + Passcode I am asked to authenticate again, this time using a password, but I’m not aware of any password associated to my VPN account: I only and always authenticated using Username and PIN + Passcode.
If I type again my PIN + Passcode instead of the password, the client exit without establishing a connection nor showing a specific error.
Additional info
The official GlobalConnect client version 5.1.5.0-8 is able to successfully establish a connection:
$ globalprotect
vpn.mycompany.com - Please enter your PIN and Passcode
username(rleinardi):
Password:
Retrieving configuration...
Discovering network...
Connecting...
Connected
Operating system and openconnect version
openconnect version:
openconnect --version
OpenConnect version v8.10
Using GnuTLS 3.6.14. Features present: TPM, TPMv2, PKCS#11, RSA software token, HOTP software token, TOTP software token, Yubikey OATH, System keys, DTLS, ESP
Supported protocols: anyconnect (default), nc, gp, pulse
operating system
$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 32 (Thirty Two)
Release: 32
Codename: ThirtyTwo
GlobalProtect VPN information
openconnect --protocol=gp vpn.mycompany.com --authenticate -u rleinardi --certificate /etc/pki/payback/myhostname.pem
POST https://vpn.mycompany.com/global-protect/prelogin.esp?tmp=tmp&clientVer=4100&clientos=Linux
Connected to [::1]:3128
Requesting HTTP proxy connection to vpn.mycompany.com:443
Enter PEM pass phrase:
Using client certificate 'myhostname.mycompany.com'
SSL negotiation with vpn.mycompany.com
Connected to HTTPS on vpn.mycompany.com with ciphersuite (TLS1.2)-(RSA)-(AES-256-GCM)
Please enter your PIN and Passcode
Password:
POST https://vpn.mycompany.com/global-protect/getconfig.esp
Portal set HIP report interval to 60 minutes).
1 gateway servers available:
vpn.mycompany.com (vpn.mycompany.com)
Please select GlobalProtect gateway.
GATEWAY: [vpn.mycompany.com]:vpn.mycompany.com
POST https://vpn.mycompany.com/ssl-vpn/login.esp
Got HTTP response: HTTP/1.1 512 Custom error
Unexpected 512 result from server
POST https://vpn.mycompany.com/ssl-vpn/prelogin.esp?tmp=tmp&clientVer=4100&clientos=Linux
Enter login credentials
Password:
POST https://vpn.mycompany.com/ssl-vpn/login.esp
GlobalProtect login returned authentication-source=RSA_RADIUS
GlobalProtect login returned usually-equals-4=4
GlobalProtect login returned usually-equals-unknown=unknown
COOKIE='authcookie=REDACTED&portal=LP_Public-N&user=rleinardi&domain=%28empty_domain%29&computer=myhostname'
HOST='vpn.mycompany.com'
FINGERPRINT='pin-sha256:REDACTED'
Edited Aug 05, 2020 by Roberto Leinardi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Я проверил много сообщений, связанных с этой проблемой, но ничего не исправляет мою проблему. Так что теперь я надеюсь, что вы, ребята, можете дать мне волшебный ответ.
Я использую Intellij (но также пробовал его с SourceTree), чтобы вытащить/нажать/клонировать репозиторий из Fisheye. Однако я получаю сообщение об ошибке:
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: unable to access 'https://myUser@myUrl/fisheye/git/myRepo.git/': Received HTTP code 503 from proxy after CONNECT
подсказки о 503 означает временное простои из-за обслуживания не работают для меня, так как эта проблема длится уже неделю.
подсказки о неправильном / отсутствующем прокси настройки тоже не работают. Я настраиваю HTTP и https-прокси для system git и для IDE (Intellij).
это сработало раньше, я смог клонировать репозиторий. Затем я создал новую ветку, внес некоторые изменения и хотел вернуть ее мастеру.
Я действительно с нетерпением жду некоторых умных советов.
Спасибо до сих пор
обновление
я добавил:
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
и я получил следующее log:
$ git fetch
trace: built-in: git 'fetch'
trace: run_command: 'git-remote-https' 'origin' 'https://Username@myWebService.de/randomGit.git/'
* Couldn't find host myWebService in the _netrc file; using defaults
* Trying 15.46.16.11...
* Connected to myProxy.com (15.46.16.11) port 8080 (#0)
* Establish HTTP proxy tunnel to myWebService.de:443
> CONNECT myWebService.de:443 HTTP/1.1
Host: webapp-entw.mlp.de:443
User-Agent: git/1.9.5.msysgit.1
Proxy-Connection: Keep-Alive
Pragma: no-cache
< HTTP/1.1 503 Service Unavailable
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Proxy-Connection: close
< Connection: close
< Content-Length: 732
<
* Received HTTP code 503 from proxy after CONNECT
* Closing connection 0
fatal: unable to access 'https://Username@myWebService.de/randomGit.git/': Received HTTP code 503 from proxy after CONNECT
2 ответов
у меня был тот же код ошибки. Для меня симптомом было то, что я мог успешно толкать к удаленному РЕПО, но не тянуть… В моем случае это оказалось проблемой разрешения имен.
во-первых, я нашел эти настройки, чтобы пролить больше света на сетевые события.
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
С этими настройками я получил такую трассировку:
PROMPT$ git pull
...
15:21:17.015575 run-command.c:351 trace: run_command: 'git-remote-https' 'origin' 'https://gitub.com/USERNAME/REPO'
* Couldn't find host gitub.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying PROXY-SERVER-IP-ADDRESS...
* Connected to (PROXY-SERVER-IP-ADDRESS) port 80 (#0)
* Establish HTTP proxy tunnel to gitub.com:443
> CONNECT gitub.com:443 HTTP/1.1
Host: gitub.com:443
User-Agent: git/2.3.2 (Apple Git-55)
Proxy-Connection: Keep-Alive
Pragma: no-cache
< HTTP/1.1 503 Service Unavailable
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Proxy-Connection: close
< Connection: close
< Content-Length: 787
<
* Received HTTP code 503 from proxy after CONNECT
* Connection #0 to host PROXY-SERVER-IP-ADDRESS left intact
fatal: unable to access 'https://gitub.com/USERNAME/REPO/': Received HTTP code 503 from proxy after CONNECT
Я сделал некоторые pinging, чтобы github.com тогда www.github.com, и заметил некоторые другие результаты. Этот предложил мне обновить исходный URL-адрес следующим образом.
git remote set-url origin https://www.github.com/USERNAME/REPO
просто добавив » www.»в исходном URL-адресе решена моя проблема с подключением в этом случае. Нет больше 503 — х-толкайте и тяните оба успеха.
обновление
основываясь на обновленной трассировке, это выглядит очень похоже на проблему, которую я имел. Вы можете попытаться временно заменить фактический IP-адрес сервера репозитория, который вы используете (а не имя хоста). Если это сработает, тогда посмотрите решения для разрешения имен, например, изменение/etc / hosts. Кроме того, вы можете подтвердить, что вы пытались git remote set-url origin включить полное имя хоста, а не только доменное имя?
Я обнаружил, что мой прокси не распознает адрес webapp, поэтому я установил Privoxy и сказал ему передать каждый запрос, кроме тех, которые предназначены для моего git. И это работает.
поэтому, если мне нужно подключиться к репозиторию, я пропускаю прокси и подключаюсь напрямую.
0
автор: 0x44656e6e795279616e