本文共 2107 字,大约阅读时间需要 7 分钟。
�often encounter git clone issues when the proxy settings are incorrectly configured. This problem often occurs when git is set to use a proxy server, but the proxy server isn't accessible or isn't functioning properly. In this case, let's guide you through troubleshooting and resolution.
fatal: unable to access 'https://github.com/frida/frida.git/': Failed to connect to 127.0.0.1 port 1087: Connection refused
or
fatal: unable to access 'https://github.com/frida/frida.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
open ~/.gitconfig
and remove the proxy settings if they exist:
[user] name = qwer email = alikai812@qq.com[http] # proxy = http://127.0.0.1:1087[https] # proxy = http://127.0.0.1:1087
Remove incorrect proxy settings:
~/.gitconfig
file.[http]
and [https]
.Check network connectivity:
Verify git config has been updated:
git config --system list --global
to confirm that proxy settings have been reset.**Consider using https instead of https://]:If the issue persists, try using git clone https://github.com/frida/frida.git
instead of git clone git://github.com/frida/frida.git
.
Check environmental variables:
__Proxy
or http_proxy
variables are not set in your shell configuration files.By following these steps, you should be able to resolve the "connection refused" error and successfully clone the repository.
转载地址:http://dskmz.baihongyu.com/