Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] WebSocket network error: The operation couldn't be completed. (OSStatus error -9807. (Jon Mansey)

Id like to link here to the eclipse paho forum thread where I am also researching this issue, maybe theres a mosquitto person who can take a look? still not sure if its the client or the server thats at fault here…I’m leaning towards the server….





Date: Fri, 2 Oct 2015 09:42:29 -0700
To: mosquitto-dev@xxxxxxxxxxx
Subject: Re: [mosquitto-dev] WebSocket network error: The operation
couldn't be completed. (OSStatus error -9807.
Message-ID: <88CC0B66-78A9-44FE-9031-4EA5E0B4FB9
Content-Type: text/plain; charset=utf-8

Thanks Roger, 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



Back to the top