Subject: | Subscription stopped working |
Date: | Mon, 13 May 2019 19:22:00 +0000 |
To: | bug-Net-MQTT-Simple [...] rt.cpan.org |
From: | Tyler Durden <virii [...] c3l.lu> |
Hi
I am unable to subscribe with the latest version of Net::MQTT::Simple
(1.22) to the newest version of Mosquitto MQTT server (1.6.2).
Publishing works fine but subscribe is simply not returning anything.
Debug messages from Mosquitto are not very revealing:
Received PUBLISH from Net::MQTT::Simple[17712] (d0, q0, r0, m0,
'test/test', ... (6 bytes))
Received SUBSCRIBE from Net::MQTT::Simple[17712]
Socket error on client Net::MQTT::Simple[17712], disconnecting.
I tried with my code and with the mqtt-simple program provided.
Example:
perl mqtt-simple.pl --insecure -h 127.0.0.1 -s "test/test" -u testuser
-pass testpass
Perl version used: 5.26.1
OS: Ubuntu bionic
--
Chaos Computer Club Lëtzebuerg A.S.B.L. (NGO)
e. virii@c3l.lu (GPG: 0xce8c12f32a2cf11b)
t. +352-27-40-20-30-4
w. https://c3l.lu/