Open neilor-mendes opened 2 months ago
broker.hivemq.com
ands published a message to the nn/result
topicThe message was received in your code as expected. Also, as expected, this led to an infinite loop where the client published a message to nn/result
every time it receives a message (and hencde receives another message).
You don't indicate how/when you published a message on the topic in the above so all I can really say is that your code works as expected for me. The logs show a normal connection and subscription but no messages received (which would seem to indicate the broker did not send any messages on the specified topic).
Please note that this area is really intended for bugs; the readme suggests places to ask for more general help (Stackoverflow generally results in a quick answer when a detailed question is provided).
Hi everyone,
I’m encountering an issue with my code that’s supposed to connect to a HiveMQ Broker. While the connection seems to be established successfully (as indicated by the keepAlive and ping logs), I'm not receiving any messages sent to the topic.
Here’s what I’ve done so far:
I’m unsure what might be missing or incorrectly configured. Any guidance or suggestions would be greatly appreciated!
Thank you in advance for your help.
Version
Code
Debug Log