No Internet connection on emulator with company proxy

混江龙づ霸主 提交于 2019-12-26 01:30:03

问题


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.

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:

Emulator settings view + connection refused

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

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?

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

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

Help me, please.


回答1:


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).

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.

I hope it will be solved very soon.



来源:https://stackoverflow.com/questions/50964820/no-internet-connection-on-emulator-with-company-proxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!