Am unable to find out the reason behind the stream error when trying to connect to the XMPP server.
XML Stanzas:
SEND: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
SEND: <stream:stream xmlns='jabber:client' xmlns:stream='
http://etherx.jabber.org/streams' version='1.0' to='
mysmart.ph'>
Right after this, nothing happens. I tried digging down to find the cause and am hitting a dead end.
Logs:
Getting the dictionary reference from the GCDAsyncSpecialPacket
2012-07-05 13:05:18.002 JabberClient[1058:5103] Gets past the BOOL of setting the tlsSettings
2012-07-05 13:05:18.003 JabberClient[1058:5103] GCDAsyncSocket: maybeDequeueWrite
2012-07-05 13:05:18.004 JabberClient[1058:5103] currentWrite: <GCDAsyncSpecialPacket: 0x6953ba0>
2012-07-05 13:05:18.005 JabberClient[1058:5103] readDataWithTimeout:buffer:bufferOffset:maxLength:tag:
2012-07-05 13:05:18.006 JabberClient[1058:5103] GCDAsyncSocket: maybeDequeueRead
2012-07-05 13:05:18.006 JabberClient[1058:5103] currentRead: <GCDAsyncSpecialPacket: 0x6953ba0>
2012-07-05 13:05:18.411 JabberClient[1058:5703] CFReadStreamCallback: event: 8
2012-07-05 13:05:18.413 JabberClient[1058:5103] cf_abortSSLHandshake:
2012-07-05 13:05:18.413 JabberClient[1058:5703] CFWriteStreamCallback: event: 8
2012-07-05 13:05:18.486 JabberClient[1058:5103] Error Description: Error Domain=NSOSStatusErrorDomain Code=-9810 "The operation couldn’t be completed. (OSStatus error -9810.)" UserInfo=0x69575a0 {}