The following error occurred when pushing from Xcode to GitHub in the proxy environment.
curl error: Failed to connect to github.com port 443: Operation timed out(-1)
Please tell me the cause and the solution.Thank you for your cooperation.
operating environment
Xcode 9.2
macOS 10.12.6
.gitconfig is configured as follows:
$cat to /.gitconfig
[https]
proxy=http://{proxy server}:{port}
[http]
proxy=http://{proxy server}:{port}
[user]
name = {user}
In GitHub Desktop, Atom, pull, push works fine, so I think gitconfig works.
.curlrc is configured as follows:
$cat to /.curlrc
proxy=http://{proxy server}:{port}
.gitconfig is configured as follows:
$cat to /.gitconfig
[https]
proxy=http://{proxy server}:{port}
[http]
proxy=http://{proxy server}:{port}
[user]
name = {user}
In GitHub Desktop, Atom, pull, push works fine, so I think gitconfig works.
.curlrc is configured as follows:
$cat to /.curlrc
proxy=http://{proxy server}:{port}
.gitconfig has user information, but .curlrc does not.Which setting is correct?
Also, since it's 443, is there anything related to the certificate?If you can't access it in the first place,
Other errors appear in .
That's it
© 2024 OneMinuteCode. All rights reserved.