开发者

https worked on emulator but not on actual phone

开发者 https://www.devze.com 2023-02-26 23:34 出处:网络
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开

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号