phanimahesh / mqtt4erl

Automatically exported from code.google.com/p/mqtt4erl
MIT License
0 stars 0 forks source link

Does not interoperate with mosquitto or IBM Java (IA92) MQTT clients #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've been testing to see how interoperable this implementation is with other 
MQTT v3 implementations.

If I attempt to use the mosquitto_pub C utility from the mosquitto project, the 
client application hangs when it attempts to publish.

If I use the IA92 Java GUI from IBM, it successfully connects and can 
publish/subscribe, but it hangs on disconnect.

Original issue reported on code.google.com by andypiperuk on 17 Aug 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Raised on mosquitto tracker (Launchpad) too as I'm not sure which side the 
issue lies - https://bugs.launchpad.net/mosquitto/+bug/619487 (although I think 
the implication of IA92 not fully working either is that mqtt4erl may have a 
problem)

Original comment by andypiperuk on 17 Aug 2010 at 9:51

GoogleCodeExporter commented 9 years ago
I believe that the issue lies with mqtt4erl.

Section 3.14 of the MQTT spec says "A server should not rely on the client to 
close the TCP/IP connection after receiving a DISCONNECT." It doesn't appear as 
though mqtt4erl closes the connection on receiving a DISCONNECT command.

Original comment by rogerli...@gmail.com on 3 Nov 2010 at 12:54

GoogleCodeExporter commented 9 years ago
I have fixed this issue on a fork of this project here: 
http://code.google.com/p/my-mqtt4erl/

Maybe they change could be merged into this project?

Original comment by connor...@gmail.com on 19 Aug 2011 at 3:06

GoogleCodeExporter commented 9 years ago
I've added my-mqtt4erl to the software page on mqtt.org while this project is 
dormant

Original comment by andypiperuk on 19 Aug 2011 at 4:57