Strange problem CFNetwork SSLHandshake failed (-9806) in 3G

I have a strange problem with my iOS app. I need to call ws (SOAP). I cannot act on the server. The service that I use is not at my disposal. I can only call this service.

Since a few days I have always had a strange problem.

This is the scenario:

I am using an iPhone with iOS 7.1

I use a 3G data connection with Vodafone IT as my carrier.

When I first start the application and I call a service that is running fine.

When I reuse the app after a while ... a few minutes (for example by opening it from the background) I have a problem.

WS is not being called correctly .... I think this is an SSL issue.

This is the log that is printed (automatically) when the request fails:

CFNetwork SSLHandshake error (-9806)

I am using simple NSURLConnection

.

Here's a quick overview of the situation:

  • Using wifi connection: ok, it works great
  • Using 3G connection with Vodafone: no, SSLHandshake failed
  • Using a 3G connection with another Vodafone manager: ok, it works great.

I cannot explain this strange situation. Does anyone have any idea?

+3


source to share





All Articles