带有公司代理的模拟器上没有Internet连接 [英] No Internet connection on emulator with company proxy

查看:169
本文介绍了带有公司代理的模拟器上没有Internet连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不得不问我在Android Studio上遇到的最后一个问题.使用Zscaler代理证书(带有keytool)成功完成IDE配置后,我无法在Android仿真器内部建立Internet连接.

I have to ask for the last problem I've encountered on Android Studio. After finishing successfully the IDE configuration with the Zscaler proxy certificates (with keytool), I can't have Internet connection inside the Android Emulator.

我已经输入了仿真器代理设置IP,端口(由公司的公司信息系统委员会的管理员提供)和我的代理身份验证凭据,但是它不起作用,连接被拒绝:

I have put in Emulator proxy settings IP, port (given by the administrators from the company Information System Committee of the company) and my credentials for proxy authentication, but it doesn't work, the connection is refused:

仿真器设置视图+连接被拒绝

我尝试使用API​​ 23、25、27和28.

I have tried with API 23, 25, 27 and 28.

如果仅此配置不起作用,如何解决该问题? 我也有2个.crt证书文件,这是解决它的解决方案吗?

If this configuration only doesn't works, how to solve the problem? I have also 2 .crt files for certificates, should it be the solution to fix it?

如果是,您能告诉我如何从公司计算机将证书放入Android仿真器吗?请走哪条路.

If yes, would you tell me how to put the certificates inside the Android Emulator from the company computer? Which path, please.

我必须在仿真器上建立Internet连接,才能使该应用程序具有API.

I must have an Internet connection on an emulator to make the app with APIs.

请帮助我.

推荐答案

现在无法解决.我已经检查了HTTP/HTTPS请求,但使用HTTPS拒绝了连接,使用HTTP的代码301被拒绝了(它重定向到公司网关防火墙,并且网络系统撤消了访问权限).

No possible way now. I have checked HTTP/HTTPS requests, I got connection refused with HTTPS, code 301 with HTTP (it redirects to the company gateway firewall and the network system revokes the access).

我已经联系了公司信息系统委员会的管理员,他们无法采取任何措施.我已经提供了有关计算机的IP,但是现在取决于Internet Security提供商(Zscaler).他们已向支持小组发送了一条帮助消息,以授予对我的AVD的Internet访问权限.

I have contacted the administrators of my company Information System Commitee, and they can't do something. I have given the IP of the concerned computer but it depends now of the Internet Security provider (Zscaler). They have send a help message to the support to grant the Internet access to my AVDs.

我希望很快就能解决.

这篇关于带有公司代理的模拟器上没有Internet连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆