emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.8k stars 438 forks source link

[Help] The client connot reveive server message #1728

Closed dfengpo closed 3 weeks ago

dfengpo commented 1 month ago

I use mqttnet lib ,and build a mqtt server by mqttnet. I use MqttServer.InjectApplicationMessage(...) to a topic subscribed to by the MqttClient. but the mqttx client connot receive the server message.

ysfscream commented 1 month ago

Thank you for your inquiry. But to help diagnose the problem, could you please provide:

  1. Confirmation that the MQTTX client is successfully connecting to your server
  2. Verification that the client is subscribed to the correct topic
  3. Any error messages from the server when injecting messages
  4. A minimal code sample of your server setup and message injection

For MQTTnet-specific issues, you may also want to consult their community resources. If you can provide more details, we'll try to assist further or direct you to appropriate resources.

ysfscream commented 3 weeks ago

if no any updates. i will close this issue. thanks for using it.