I am running into a problem simply trying to connect to the internet from the Android emulator. I am behind a proxy server and am using the -http-proxy tag when I start the emulator. When I try to connect to the internet in any fashion, it fails. When I open up the internet browser I get the following exception:
Unknown error 1 during connect
Checkin failed: https://android.clients.google.com/checkin (request #0)
java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (external/openssl/ssl/s23_clnt.c:604 0xaf076ad8:0x00000000)
08-24 21:07:03.897: ERROR/CheckinTask(225): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeconnect(Native Method)
I'm not sure why it's trying to do this SSL handshake in the first place and why nothing can connect to the internet. I've investigated the network traffic and I can tell from there that I am authenticating to the proxy server properly. Anyone have any thoughts on what I can do to fix this?