|
|
Re: WebSocket network error: The operation couldn't be completed. (OSStatus error -9807.) [message #1710291 is a reply to message #1710187] |
Mon, 05 October 2015 17:35 |
Jon Mansey Messages: 7 Registered: September 2015 |
Junior Member |
|
|
All that shows in the javascript console is what I posted for the subject of this issue, the web socket network error OSStatus error -9807
Does anybody else have secure websockets running on iOS from javascript to mosquito 1.4.3?
I enabled detailed websocket logging on mosquito, this is the log of when the iPhone Safari tries and fails to connect
Oct 2 16:35:41 dev mosquitto[1247]: insert_wsi_socket_into_fds: wsi=0x1441130, sock=17, fds pos=2
Oct 2 16:35:41 dev mosquitto[1247]: inserted SSL accept into fds, trying SSL_accept
Oct 2 16:35:41 dev mosquitto[1247]: SSL_accept failed 2 / error:00000002:lib(0):func(0):system lib
Oct 2 16:35:41 dev mosquitto[1247]: SSL_ERROR_WANT_READ
Oct 2 16:35:41 dev mosquitto[1247]: SSL_accept failed 5 / error:00000005:lib(0):func(0):DH lib
Oct 2 16:35:41 dev mosquitto[1247]: SSL_accept failed skt 17: error:00000005:lib(0):func(0):DH lib
Oct 2 16:35:41 dev mosquitto[1247]: close: just_kill_connection
Oct 2 16:35:41 dev mosquitto[1247]: remove_wsi_socket_from_fds: wsi=0x1441130, sock=17, fds pos=2
Oct 2 16:35:41 dev mosquitto[1247]: not calling back closed
Oct 2 16:35:42 dev mosquitto[1247]: insert_wsi_socket_into_fds: wsi=0x1441130, sock=17, fds pos=2
Oct 2 16:35:42 dev mosquitto[1247]: inserted SSL accept into fds, trying SSL_accept
Oct 2 16:35:42 dev mosquitto[1247]: SSL_accept failed 2 / error:00000002:lib(0):func(0):system lib
Oct 2 16:35:42 dev mosquitto[1247]: SSL_ERROR_WANT_READ
Oct 2 16:35:42 dev mosquitto[1247]: SSL_accept failed 2 / error:00000002:lib(0):func(0):system lib
Oct 2 16:35:42 dev mosquitto[1247]: SSL_ERROR_WANT_READ
Oct 2 16:35:42 dev mosquitto[1247]: SSL_accept failed 5 / error:00000005:lib(0):func(0):DH lib
Oct 2 16:35:42 dev mosquitto[1247]: SSL_accept failed skt 17: error:00000005:lib(0):func(0):DH lib
Oct 2 16:35:42 dev mosquitto[1247]: close: just_kill_connection
Oct 2 16:35:42 dev mosquitto[1247]: remove_wsi_socket_from_fds: wsi=0x1441130, sock=17, fds pos=2
Oct 2 16:35:42 dev mosquitto[1247]: not calling back closed
comparing this with a successful connection from Chrome on OS X
Oct 2 16:33:30 dev mosquitto[1247]: insert_wsi_socket_into_fds: wsi=0x1430190, sock=16, fds pos=1
Oct 2 16:33:30 dev mosquitto[1247]: inserted SSL accept into fds, trying SSL_accept
Oct 2 16:33:30 dev mosquitto[1247]: SSL_accept failed 2 / error:00000002:lib(0):func(0):system lib
Oct 2 16:33:30 dev mosquitto[1247]: SSL_ERROR_WANT_READ
Oct 2 16:33:30 dev mosquitto[1247]: accepted new SSL conn
Oct 2 16:33:30 dev mosquitto[1247]: issuing 547 bytes to parser
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOKEN_NAME_PART 'G'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOKEN_NAME_PART 'E'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOKEN_NAME_PART 'T'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOKEN_NAME_PART ' '
Oct 2 16:33:30 dev mosquitto[1247]: known hdr 'GET '
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOK_(0) '/'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOK_(0) 'm'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOK_(0) 'q'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOK_(0) 't'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOK_(0) 't'
Oct 2 16:33:30 dev mosquitto[1247]: WSI_TOK_(0) â '
etc etc
i see its failing in DH lib. How do we dig deeper into whats causing it to fail please?
Jon
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02789 seconds