Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 不跟随系统vpn代理 #222

Merged
merged 3 commits into from
Apr 19, 2022
Merged

Conversation

onanying
Copy link
Contributor

@onanying onanying commented Apr 14, 2022

在使用 VPN 代理时,没有跟随环境代理,并且源码中的跳过 SSL 失效,会抛出以下异常,我修改了跟随系统 Proxy 与 SSL 跳过的源码来修复这个问题

Connect Apollo Server Fail,url:%s,Error:%s [https://****.com/services/config?appId=****&ip=192.168.2.102 Get "https://****.com/services/config?appId=****&ip=192.168.2.102": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]

@mergify
Copy link
Contributor

mergify bot commented Apr 14, 2022

感谢您提出Pull Request,我会尽快Review。我会在1-2日内进行查看或者回复,如果遇到节假日可能会处理较慢,敬请谅解。

@onanying onanying changed the title fix: 在使用vpn代理时,源码中的跳过ssl失效 fix: 不跟随系统vpn代理,并且跳过ssl失效 Apr 14, 2022
@zouyx zouyx changed the base branch from master to develop April 16, 2022 07:25
@onanying
Copy link
Contributor Author

onanying commented Apr 18, 2022

protocol/http/request.go:73: unknown field 'DialTLSContext' in struct literal of type http.Transport ci 用的go版本太低了,不支持这个属性,好吧,我修改一下

@onanying onanying changed the title fix: 不跟随系统vpn代理,并且跳过ssl失效 fix: 不跟随系统vpn代理 Apr 18, 2022
@mergify mergify bot merged commit 7d536c0 into apolloconfig:develop Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants