Project scenario:
Mac uses git push or hexo deploy to push GitHub
Problem Description:
Bug contains
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Cause analysis:
Because the agent is attached locally, you can clone
but when pushing, you need to attach the agent to the terminal
Solution:
vim ~/.gitconfig
View the port of the native agent and replace the following XXXX
[http]
proxy = socks5://127.0.0.1:xxxx
[https]
proxy = socks5://127.0.0.1:xxxx
You can also push by turning off the agent and accessing it normally