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.)

Hi Jon,

Websockets logging has its own logging options, you should check the
websockets_log_level config file option (e.g. "websockets_log_level
255"), and ensure that you have "log_type all" or "log_type
websockets" or start mosquitto with the "-v" option.

websockets_log_level is actually a bit mask, see the enum at
https://github.com/warmcat/libwebsockets/blob/master/lib/libwebsockets.h#L104
for what you are enabling.

Best of luck,

Roger


On Fri, Oct 2, 2015 at 1:00 AM, Jon Mansey <jon@xxxxxxxxxx> wrote:
> Hi Im using mqttws31.js in an App created with NSBasic Appstudio. The app
> connects to a mosquito 1.4.3 broker using secure websockets on port 9002
> just fine from Safari on OS X, and Chrome, but when I connect from Safari or
> the web app on iOS9 mobile devices, I get the -9807 error code as in the
> subject line and mqtt doesn't connect. I have full debug enabled and it
> doesn’t even show the connection attempt. Any help in expanding logging on
> the server or client to help figure this out would be appreciated, thanks in
> advance.
>
> Jon
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top