Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Question about publishing to an MQTT broker using TLS

Hi Roger.

> > Yes, quite probably. TLS connections require a reasonable bit of
> > traffic to set up and all network is handled with one of the loop
> > functions.
>
> I'm just curious because, looking at the network trace, it appears my client isn't completing the client key exchange with the broker.
>
> I'll give your suggestion a try and get back later today.

Success.

It turns out calling mosquitto_loop() (or possibly a variant) is indeed a requirement to complete the SSL handshake.

Thank you for your help.

- Mark


Back to the top