Re: SSL -9810 error, what is it?
Re: SSL -9810 error, what is it?
- Subject: Re: SSL -9810 error, what is it?
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 11 Aug 2010 10:58:53 +0100
On 6 Aug 2010, at 19:42, Alex Curylo wrote:
> Any suggestions as to what could be the issue here and what I should do about it? Is it likely that a DTS support question would be put to good use here? Have I overlooked some should have been blindingly obvious tech note somewhere?
Error -9810 is errSSLInternal, which you can see if you look at the <Security/SecureTransport.h> header in the Mac OS X SDK. [While Secure Transport isn't an API on iOS, it is actually lurking down there in the guts of the networking stack.] As to why you're getting this, it's hard to say. There are a few tricks I usually use to debug this sort of thing:
o packet trace -- If you can get a packet trace of the problem, you can look to see what might have gone wrong. See QA1176 "Getting a Packet Trace" for details.
<http://developer.apple.com/mac/library/qa/qa2001/qa1176.html>
o breakpoints -- While Secure Transport isn't part of iOS, it is a documented API on Mac OS X. CFSocketStream calls Secure Transport (more or less) via this documented API. So you can set breakpoints on various Secure Transport routines and see how things are proceeding.
o source code -- Secure Transport is part of the Darwin open source project. You can grab the code and use that to guide your debugging efforts.
<http://www.opensource.apple.com/source/libsecurity_ssl/libsecurity_ssl-36800/>
My guess is that the reason this is failing is that something has gone wrong at the network level (a broken TCP connection of some form), and that this has happened during the TLS handshake, and thus it's being reported to you via this error. But it's hard to be sure without more information.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden