stevenlovegrove / MqttDotNet

.net Implementation of the client half of the MQTT messaging protocol. MQTT is a lightweight, open specification publish and subscribe protocol cheifly developed by IBM. Details of MQTT can be found at http://mqtt.org.
MIT License
153 stars 91 forks source link

client_PublishArrived Issue with GnatMQ #14

Open JayEnaR opened 7 years ago

JayEnaR commented 7 years ago

capture4 Everything else seems to work fine but as soon as an incoming message is received (either from a direct or a retained message) I get an error stipulated in the log here and the attached screenshot.

I'm using the default MqttDotNet Sample project and libraries to connect to GnatMQ from @ppatierno as a Broker.

Basically it seems like the issue is caught in QosManager.cs at line 91: else if (mess.QualityOfService == QoS.OnceAndOnceOnly) { _responses.Add(mess.MessageID, new MqttPubrelMessage(mess.MessageID)); }

Anyone know where the issue could be coming from?

darkstarlabs commented 6 years ago

This is not localised to GnatMQ as mosquitto generates the same problem.