fatal: unable to access 'https://github.com/xxx/xxxx.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:10809
看起来像是代理出了问题,直接使用网页是可以连接到 github 的
fatal: unable to access 'https://github.com/xxx/xxxx.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:10809
看起来像是代理出了问题,直接使用网页是可以连接到 github 的
|
Rache1Aug 18, 2024
1
所以你的 10809 端口这个代理有在正常工作么,如果有的话,更新一下你的订阅试试?如果没有,那清理掉代理试试?
|
|
3
10809 端口的代理是正常工作的,我在 git 中测试`curl -x http://127.0.0.1:10809 -I https://www.google.com` 返回结果正确
|
|
yjxjnAug 18, 2024
4
换 fastgithub 就行了,之前我的 git 也不稳定。懒得去深究端口问题了。
|
|
apuslilieAug 18, 2024
5
gitconfig 试一下配置成 socks5 代理?
|
|
Rache1Aug 18, 2024
6
@404www #2 看看 V2Ray N 的日志上有什么报错没,另外确认一下,在浏览器上访问 GitHub 时,走代理了吗,因为 GitHub 有的时候还是能够直连的,有可能你浏览器访问的时候没走到代理,终端又走到了,
|
|
user1284Aug 18, 2024
7
直接开 tun 模式, 给它惯的😡
|
|
darkengineAug 18, 2024
8
设置一下 shell 的 proxy
|
|
StarUDreamAug 18, 2024
9
```
Host github.com User git HostName ssh.github.com Port 443 ProxyCommand /usr/bin/nc -X connect -x 127.0.0.1:7890 %h %p ``` 配置一下 `HostName ssh.github.com` 就可以了 |
|
eaststarpenAug 18, 2024
10
|
|
itningAug 18, 2024
12
@epiphyllum #11 👍
|
|
Nile20Aug 18, 2024
13
配置~/.ssh/config 文件,为 ssh 启用代理。linux 的写法参考 StarUDream 的回答,Windows 的写法如下
Host github.com ProxyCommand "C:\Program Files\Git\mingw64\bin\connect.exe" -H localhost:10809 %h %p |
|
14
@epiphyllum 感谢大佬,我试一下
|