https worked on emulator but not on actual phone
I am developing Android app calling .net web service on https using server ssl certificate. It worked well on emulator but on actual phone, Vodafone 845, it's always giving me SocketTimeoutException开发者_Python百科 after given 90ms (http works ok on both emulator and phone).
Anyone experieneced this issue?
This sounds like a known bug that may be your problem. SSL doesn't work properly if there's a proxy set for the APN.
The 'work around' is to clone the APN and remove the proxy settings. This has been reported on 2.1,2.2, and 2.3
精彩评论