* [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto
@ 2018-03-27 15:46 Alexis Lothoré
2018-03-27 19:02 ` Thomas Petazzoni
0 siblings, 1 reply; 7+ messages in thread
From: Alexis Lothoré @ 2018-03-27 15:46 UTC (permalink / raw)
To: buildroot
Hello,
I have been using libmosquitto in C for quite some time in buildroot (used
in an EFL mainloop) and it works well. Here are some quick details about
how I currently use it :
* C API to create a client
* I use callbacks API to set callbacks on logs, connect/disconnect events,
publish/susbscribe events and so on
* connection uses TLS (certificate provided to API)
* once connected, Mosquitto file descriptor is provided and integrated to
EFL main loop
I recently switched to buildroot 2018.02 (it has upgraded mosquitto from
v1.4.14 to v1.4.15), and I am now encountering a new issue with the lib.
Trying to establish a new connection to my broker (using the
mosquitto_connect API), I can see that a new TCP connection is opened onto
the broker, but it seems that no MQTT data is transfered (i.e. no CONNECT
event), so the broker, of course, does not answer the usual CONNACK
(observed with tcpdump).
I have made sure that the issue only happens in v1.4.15. Quickly taking a
look on Eclipse Github, I saw no specific issue directly linked to this
problem.
Before diving more in depth in this issue on mosquitto code, I would like
to ask here : is there anyone encountering the same issue with this new
mosquitto version ? I did not see any comment about this in the mailing
list, but maybe the release is too young so it has not been detected yet ?
Or anyone can confirm that this new version, used as client with C API,
works on its side ?
Regards,
--
Alexis Lothor?
06.51.59.81.45
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180327/f3f40b40/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto
2018-03-27 15:46 [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto Alexis Lothoré
@ 2018-03-27 19:02 ` Thomas Petazzoni
2018-04-02 10:19 ` Peter Korsgaard
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2018-03-27 19:02 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 27 Mar 2018 17:46:57 +0200, Alexis Lothor? wrote:
> I have been using libmosquitto in C for quite some time in buildroot (used
> in an EFL mainloop) and it works well. Here are some quick details about
> how I currently use it :
> * C API to create a client
> * I use callbacks API to set callbacks on logs, connect/disconnect events,
> publish/susbscribe events and so on
> * connection uses TLS (certificate provided to API)
> * once connected, Mosquitto file descriptor is provided and integrated to
> EFL main loop
>
> I recently switched to buildroot 2018.02 (it has upgraded mosquitto from
> v1.4.14 to v1.4.15), and I am now encountering a new issue with the lib.
> Trying to establish a new connection to my broker (using the
> mosquitto_connect API), I can see that a new TCP connection is opened onto
> the broker, but it seems that no MQTT data is transfered (i.e. no CONNECT
> event), so the broker, of course, does not answer the usual CONNACK
> (observed with tcpdump).
> I have made sure that the issue only happens in v1.4.15. Quickly taking a
> look on Eclipse Github, I saw no specific issue directly linked to this
> problem.
> Before diving more in depth in this issue on mosquitto code, I would like
> to ask here : is there anyone encountering the same issue with this new
> mosquitto version ? I did not see any comment about this in the mailing
> list, but maybe the release is too young so it has not been detected yet ?
> Or anyone can confirm that this new version, used as client with C API,
> works on its side ?
Did you try reverting commit f4df4a18e5dd4702f842e61ee815f13afd93c366,
to bring back mosquitto to the 1.4.14 version ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto
2018-03-27 19:02 ` Thomas Petazzoni
@ 2018-04-02 10:19 ` Peter Korsgaard
2018-04-02 12:00 ` Thomas Petazzoni
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2018-04-02 10:19 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
Hi,
>> Before diving more in depth in this issue on mosquitto code, I would like
>> to ask here : is there anyone encountering the same issue with this new
>> mosquitto version ? I did not see any comment about this in the mailing
>> list, but maybe the release is too young so it has not been detected yet ?
>> Or anyone can confirm that this new version, used as client with C API,
>> works on its side ?
> Did you try reverting commit f4df4a18e5dd4702f842e61ee815f13afd93c366,
> to bring back mosquitto to the 1.4.14 version ?
Did that solve your problem?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto
2018-04-02 10:19 ` Peter Korsgaard
@ 2018-04-02 12:00 ` Thomas Petazzoni
2018-04-02 12:41 ` Peter Korsgaard
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2018-04-02 12:00 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 02 Apr 2018 12:19:56 +0200, Peter Korsgaard wrote:
> Did that solve your problem?
Alexis replied privately to me (he should have kept the mailing list in
Cc). Here is what he said:
==
Hi Thomas, thanks for your answer.
Indeed, reverting the version bumping (and the no-ssl build fix
introduced by 63dfbca2c3ad509504e9118a49d396210917b079), I can make it
work in my case. Since I do not want to use a modified buildroot (the
project is shared with a team), for now I will use an external
mosquitto package (in a BR2_EXTERNAL) with version 1.4.14. I will try
to bisect changes between 1.4.14 and 1.4.15 to find out why my
application is failing with last version
Regards,
==
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto
2018-04-02 12:00 ` Thomas Petazzoni
@ 2018-04-02 12:41 ` Peter Korsgaard
2018-04-02 21:11 ` Alexis Lothoré
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2018-04-02 12:41 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> Hello,
> On Mon, 02 Apr 2018 12:19:56 +0200, Peter Korsgaard wrote:
>> Did that solve your problem?
> Alexis replied privately to me (he should have kept the mailing list in
> Cc). Here is what he said:
> ==
> Hi Thomas, thanks for your answer.
> Indeed, reverting the version bumping (and the no-ssl build fix
> introduced by 63dfbca2c3ad509504e9118a49d396210917b079), I can make it
> work in my case. Since I do not want to use a modified buildroot (the
> project is shared with a team), for now I will use an external
> mosquitto package (in a BR2_EXTERNAL) with version 1.4.14. I will try
> to bisect changes between 1.4.14 and 1.4.15 to find out why my
> application is failing with last version
Alexis, please report your issue to mosquitto upstream. 1.4.15 fixed
security issues so we cannot really revert it, but if there is a real
problem it should be reported so it gets fixed when we E.G. update to
1.4.16.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto
2018-04-02 12:41 ` Peter Korsgaard
@ 2018-04-02 21:11 ` Alexis Lothoré
2018-04-02 21:42 ` Peter Korsgaard
0 siblings, 1 reply; 7+ messages in thread
From: Alexis Lothoré @ 2018-04-02 21:11 UTC (permalink / raw)
To: buildroot
Hi,
sorry, did not see that I answered only to Thomas instead of "Reply all".
Yes, I will notify Mosquitto mailing about the issue.
Regards,
2018-04-02 14:41 GMT+02:00 Peter Korsgaard <peter@korsgaard.com>:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
>
> > Hello,
> > On Mon, 02 Apr 2018 12:19:56 +0200, Peter Korsgaard wrote:
>
> >> Did that solve your problem?
>
> > Alexis replied privately to me (he should have kept the mailing list in
> > Cc). Here is what he said:
>
> > ==
> > Hi Thomas, thanks for your answer.
> > Indeed, reverting the version bumping (and the no-ssl build fix
> > introduced by 63dfbca2c3ad509504e9118a49d396210917b079), I can make it
> > work in my case. Since I do not want to use a modified buildroot (the
> > project is shared with a team), for now I will use an external
> > mosquitto package (in a BR2_EXTERNAL) with version 1.4.14. I will try
> > to bisect changes between 1.4.14 and 1.4.15 to find out why my
> > application is failing with last version
>
> Alexis, please report your issue to mosquitto upstream. 1.4.15 fixed
> security issues so we cannot really revert it, but if there is a real
> problem it should be reported so it gets fixed when we E.G. update to
> 1.4.16.
>
> --
> Bye, Peter Korsgaard
>
--
Alexis Lothor?
06.51.59.81.45
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180402/c005907b/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-04-02 21:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-27 15:46 [Buildroot] Buildroot 2018.02 Mosquitto v1.4.15 : no CONNECT/CONNACK on libmosquitto Alexis Lothoré
2018-03-27 19:02 ` Thomas Petazzoni
2018-04-02 10:19 ` Peter Korsgaard
2018-04-02 12:00 ` Thomas Petazzoni
2018-04-02 12:41 ` Peter Korsgaard
2018-04-02 21:11 ` Alexis Lothoré
2018-04-02 21:42 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.