Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] two-way communication

Hi Roger,

To recap, all of the clients are Raspberry Pi 
devices running Raspbian GNU/Linux 10 
(buster) and Mosquitto 1.5.7 and the server is 
a virtual machine running Ubuntu 20.04.4 
(focal) where Mosquitto version is 1.6.9

I would like to upgrade to the current Mosquitto 
version before investigating the problem any 
further. To upgrade Raspbian’s Mosquitto, 
I have followed the instructions at 
https://mosquitto.org/blog/2013/01/mosquitto-debian-repository
Then I have done apt-get update and upgrade. 
When I run mosquitto from the shell, the version is still 1.5.7, not 2.0.15 as expected.

To upgrade the server side running Ubuntu,
I have added the repository as descibed at 
https://mosquitto.org/download
I then performed apt-get uodate/upgrade as before. 
When I run mosquitto from the console 
the version is still 1.6.9 …!

It is all rather perplexing. I can’t even follow the instructions to perform an upgrade :-( 

Regards

Ahmet Tekelioglu
+90 (530) 410 9807

On 18 Aug 2022, at 01:11, Roger Light <roger@xxxxxxxxxx> wrote:

Hi Ahmet,

I haven't heard of anything like that, sorry. Do you have any more
details of how exactly you are setting things up?

Regards,

Roger

On Wed, 17 Aug 2022 at 11:01, Ahmet Tekelioglu via mosquitto-dev
<mosquitto-dev@xxxxxxxxxxx> wrote:

Hello,

I am using mosquitto in an application that collects telemetry data form several dozen clients. I have already activated the MQTT/TLS parameters and selected relatively safe TLS parameters. However, partly out of curiosity, I am also implementing the Diffir-Hellman protocol for key exchange. The protocol itself works fine and produces the same key at both ends, the client and the server. It is possible to exchange keys many times and that part appears to work flawlessly.

However, after the first key exchange, I find that the telemetry data arriving from the clients becomes erratic so that only one third is saved to the database. Before the Diffie-Hellman protocol, data transfer was always one-way, from the clients to the server. The trouble started when I began to send D-H responses to the client from the server. Any clues?

Has anybody run into unexpected behaviour after two-way messaging?

Ahmet Tekelioglu
+90 (530) 410 9807
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev

Back to the top