eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
314 stars 179 forks source link

Error: Client is not connecting, message has been discarded #196

Closed karrthikmohank closed 3 years ago

karrthikmohank commented 4 years ago

Hi all,

I like to thank all the members for their contributions to this project. It has helped me a lot in learning about the MQTT-SN gateway.

First of all, I like to explain my test set-up. I am trying to connect 30 MQTT-SN clients to the MQTT-SN gateway. Each of the MQTT-SN clients publishes in three topics. The MQTT-SN gateway is connected to the public MQTT broker (mqtt.eclipse.org). I have one MQTT client connected to the broker and it is subscribed to all the three topics. ############### MQTT-SN Clients (30) -> MQTT-SN Gateway -> Public MQTT broker (mqtt-eclipse.org) -> MQTT Clients (1) ############### Issue: While connecting more than 20 MQTT-SN Clients, I am receiving error messages from gateway "Error: Client is not connecting, message has been discarded". It has been observed that messages are not received at the MQTT Client side. I have attached the screen-shot of the gateway messages. Please help me with how to resolve this issue and revert back to me in case any further clarification is needed from my end.

Screenshot 2020-04-23 10 00