cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
865
Views
0
Helpful
3
Replies

REM iOS client SDK reconnect happen CFNetwork SSLHandshake failed (-9800)

carson002
Level 1
Level 1

Steps:

  • Login REM iOS client
  • Keep observe the connection state and check the log.


Result:

App can not reconnected

Expected:

App should reconnected

Workaround:

Re-launch REM client app

Config:

REM server version: REM-10.6.1.10000-8

REM client SDK version: 2.1.31.1.1

Finesse version: 10.5.1

REM client iOS: 9.1

Here is the client log:

2015-11-22 12:17:45.402 Cisco Banking App[203:31241] ACB client SDK version: 2.1.31.1.1

2015-11-22 12:17:45.402 Cisco Banking App[203:31241] Scrambled Session ID:nrr:!!fc.igc.jf.iii:bggh!DJqFnJl!nFIrvHzFqHJyy?JuuzFl=5N4N-cEIIdaeh-bcJE-gaEj-Jdja-ejGcgeeGiJbc

2015-11-22 12:17:45.403 Cisco Banking App[203:31241] Session ID:wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98

2015-11-22 12:17:45.404 Cisco Banking App[203:31241] ***WEBSOCKET*** NTWK acceptAnyCertificate: 1

2015-11-22 12:17:45.404 Cisco Banking App[203:31241] ***WEBSOCKET*** NTWK: 1

2015-11-22 12:17:45.404 Cisco Banking App[203:31241] Created NSURLRequest: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 with timeout of: 7.000000

2015-11-22 12:17:45.405 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:17:45.405 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:17:45.446 Cisco Banking App[203:53342] [SR] Don't Use Cookies

2015-11-22 12:17:45.458 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:17:45.461 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x910c390> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:17:45.462 Cisco Banking App[203:31241] Scheduling reconnection attempt in 0.500000s

2015-11-22 12:17:45.964 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:17:45.965 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:17:45.965 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:17:46.013 Cisco Banking App[203:53666] [SR] Don't Use Cookies

2015-11-22 12:17:46.029 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:17:46.030 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x9197ea0> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:17:46.031 Cisco Banking App[203:31241] Scheduling reconnection attempt in 1.000000s

2015-11-22 12:17:47.033 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:17:47.033 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:17:47.034 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:17:47.082 Cisco Banking App[203:53665] [SR] Don't Use Cookies

2015-11-22 12:17:47.095 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:17:47.098 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x91990c0> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:17:47.098 Cisco Banking App[203:31241] Scheduling reconnection attempt in 2.000000s

2015-11-22 12:17:49.099 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:17:49.099 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:17:49.099 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:17:49.142 Cisco Banking App[203:53321] [SR] Don't Use Cookies

2015-11-22 12:17:49.156 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:17:49.158 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0xe8d8e0> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:17:49.158 Cisco Banking App[203:31241] Scheduling reconnection attempt in 4.000000s

2015-11-22 12:17:53.160 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:17:53.160 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:17:53.160 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:17:53.203 Cisco Banking App[203:53668] [SR] Don't Use Cookies

2015-11-22 12:17:53.217 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:17:53.218 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x926eba0> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:17:53.218 Cisco Banking App[203:31241] Scheduling reconnection attempt in 4.000000s

2015-11-22 12:17:57.219 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:17:57.219 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:17:57.220 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:17:57.263 Cisco Banking App[203:53665] [SR] Don't Use Cookies

2015-11-22 12:17:57.275 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:17:57.277 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x919d320> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:17:57.277 Cisco Banking App[203:31241] Scheduling reconnection attempt in 4.000000s

2015-11-22 12:18:01.279 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:18:01.279 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:18:01.280 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:18:01.333 Cisco Banking App[203:53668] [SR] Don't Use Cookies

2015-11-22 12:18:01.348 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:18:01.350 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x9272060> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:18:01.351 Cisco Banking App[203:31241] Scheduling reconnection attempt in 4.000000s

2015-11-22 12:18:05.352 Cisco Banking App[203:31241] Attempting reconnection...

2015-11-22 12:18:05.353 Cisco Banking App[203:31241] Creating websocket to <NSMutableURLRequest: 0x9182d50> { URL: wss://58.248.15.222:9443/gateway/websocketcall?appkey=FWGW-8fbb7063-98af-40f1-a710-61d8466d2a98 }

2015-11-22 12:18:05.354 Cisco Banking App[203:31241] SocketRocket: Allowing connection to any root certificate

2015-11-22 12:18:05.404 Cisco Banking App[203:53666] [SR] Don't Use Cookies

2015-11-22 12:18:05.418 Cisco Banking App[203:31281] CFNetwork SSLHandshake failed (-9800)

2015-11-22 12:18:05.420 Cisco Banking App[203:31241] Websocket <SRWebSocket: 0x92741a0> failed with error:Error Domain=NSOSStatusErrorDomain Code=-9800 "(null)"

2015-11-22 12:18:05.420 Cisco Banking App[203:31241] No more reconnection attempts.

2015-11-22 12:18:05.421 Cisco Banking App[203:31241] ***WEBSOCKET*** CLOSE

1 Accepted Solution

Accepted Solutions

Your link is for iOS 5 and TLS 1.2 Interoperability Issues. However it's release noted that REM supports IOS 7+.

It's also release noted that:

"The general iOS Sample Application no longer builds against the iOS 6 SDK. Workaround: Conditionally define your own AVAudioSessionModeVideoChat variable to satisfy the linker."

View solution in original post

3 Replies 3

ewindgat
Level 5
Level 5

Could you check, to make sure there are no networking issues?

It looks like the websocket never connects.

The networking on the device is OK, the device can visit internet while the issue happen.

According apple develop document:

     https://developer.apple.com/library/ios/technotes/tn2287/_index.html#//apple_ref/doc/uid/DTS40011309

Seems it need to set the TLS protocol version on CFStream and CFHTTPStream.

Your link is for iOS 5 and TLS 1.2 Interoperability Issues. However it's release noted that REM supports IOS 7+.

It's also release noted that:

"The general iOS Sample Application no longer builds against the iOS 6 SDK. Workaround: Conditionally define your own AVAudioSessionModeVideoChat variable to satisfy the linker."