GitHubDesktop的Proxifier代理规则

2022年3月8日 597点热度

写在前面:

GitHubDesktop桌面客户端Fetch origin会报错:

fatal: unable to access 'https://github.com/xxx/xxx.git/': OpenSSL SSL_read: Connection was reset, errno 10054

只需要git-remote-https.exe添加进规则走代理即可排除报错。

解决过程记录:

1、推送报错,把GitHubDesktop.exe添加规则走代理依旧报错。
2、代理开全局模式,则可以成功推送。
3、使用EveryThing搜索出GitHubDesktop安装目录下全部exe文件,导出Excel,从Excel复制到Notepad++使用替换,将“\r\n”批量替换为";"(不包含引号)。

GitHubDesktop.exe;git-lfs.exe;git.exe;git-remote-https.exe;git-http-push.exe;git-http-fetch.exe;squirrel.exe;sh.exe;git-sh-i18n--envsubst.exe;rebase.exe;brotli.exe;ssh.exe;awk.exe;desktop-trampoline.exe;ssh-add.exe;ssh-agent.exe;cygwin-console-helper.exe;getprocaddr64.exe;find.exe;getprocaddr32.exe;grep.exe;diff.exe;sed.exe;Atlassian.Bitbucket.UI.exe;ls.exe;GitHub.UI.exe;edit-git-bash.exe;xmllint.exe;mv.exe;date.exe;dash.exe;cp.exe;expr.exe;touch.exe;sort.exe;gencat.exe;xzcat.exe;xz.exe;unxz.exe;chattr.exe;lsattr.exe;getfacl.exe;mkdir.exe;xargs.exe;printf.exe;git-credential-manager-core.exe;test.exe;rm.exe;git-credential-helper-selector.exe;diff3.exe;rmdir.exe;tail.exe;b2sum.exe;xzdec.exe;lzmadec.exe;xmlcatalog.exe;sdiff.exe;basenc.exe;tr.exe;readlink.exe;blocked-file-util.exe;proxy-lookup.exe;wc.exe;fido2-token.exe;cmp.exe;env.exe;uniq.exe;head.exe;mktemp.exe;cut.exe;comm.exe;cat.exe;git.exe;git-wrapper.exe;git-upload-pack.exe;git-remote-http.exe;git-receive-pack.exe;pwd.exe;echo.exe;basename.exe;uname.exe;pathchk.exe;dirname.exe;fido2-assert.exe;true.exe;false.exe;fido2-cred.exe;lzmainfo.exe;headless-git.exe;git-askyesno.exe;getopt.exe;

4、将格式化后的文本添加到Proxifier规则表。
5、打开GitHubDesktop执行Fetch origin。Proxifier观测到GitHubDesktop.exe和git-remote-https.exe网络连接。
6、删除规则表,仅保留GitHubDesktop.exe和git-remote-https.exe。推送不报错。
7、删除GitHubDesktop.exe,仅保留git-remote-https.exe,推送不报错。
目标定位成功。故障解决。

SSJ

不积跬步无以至千里