• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Emulator Proxy Issue, strange one

ameyjah

Lurker
Oct 27, 2010
1
0
Hi,

I am using latest android emulator for windows. Platform is 2.0. My host is behind proxy and I need to give proxy in order to connect to internet. So I tried -http-proxy method to connect emulator to internet.

But the problem is, I am only able to browse selected 2-3 websites from android browser. Like wikipedia or msn mobile. For rest, browser do not show page and informs that no network connectivity error.

So I tried debugging by -debug-proxy and got TCP dump. In that I found that, whenever I tried to connect to google, it establishes the connection, exchange few headers, but then just stop in between.

Whereas, if I try to access wikipedia, then connection is established and all data is transferred. and I can see and browse wikipedia .

I am attaching the logs of both test cases, could you please tell me what i am doing wrong. Because it can connect and get the data, then why it is not showing me google.com page, where it can display wikipedia pages.

Note: By setting proxy inside android doesn't work for me. Thats why I choose to go by -http-proxy method.
PFA logs, which might give you clue.
 

Attachments

  • tcp-dump-log-for-both.zip
    102.9 KB · Views: 102

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones