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

使用代理访问faceid.tencentcloudapi.com出现异常 #156

Open
k4kentchow opened this issue Feb 17, 2022 · 0 comments
Open

使用代理访问faceid.tencentcloudapi.com出现异常 #156

k4kentchow opened this issue Feb 17, 2022 · 0 comments

Comments

@k4kentchow
Copy link

k4kentchow commented Feb 17, 2022

公司的开发环境本身就不能访问这个域名,但是在postman配置代理后可以连通。如是者,在同样环境用sdk配置代理后访问报错

IMG_7459

HttpProfile httpProfile = new HttpProfile();
httpProfile.setProxyHost("代理ip或者域名");
httpProfile.setProxyPort(代理端口);
httpProfile.setProxyUsername("代理用户名");
httpProfile.setProxyPassword("代理密码");

代理是有密码的,确认无误,但debug过程中在com.squareup.okhttp.internal.io.RealConnection类206行的createTunnel会进入407 Proxy Authentication Required最终报 unexpected end of stream on null

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

No branches or pull requests

1 participant