
I want to use the username and password in the above screenshot to verify, but I ca n’t get it when testing with tools developed in other languages. Only clients developed with mqttnet can get it normally. How can I handle this situation?
I want to use the username and password in the above screenshot to verify, but I ca n’t get it when testing with tools developed in other languages.
Ok, I honestly don't understand this. Do you want to connect to the MQTT server with another programming language? Do you want to verify the credentials in another language? Can you explain the use case a bit more, please?
I use the mqtt test tool downloaded from the Internet. I can connect normally without verifying the user name and password. If I verify, I cannot connect, and an error is reported, and the user name and password obtained when printing the log are empty.
Well, which test tool? There are multiple: https://www.hivemq.com/blog/seven-best-mqtt-client-tools/.
What I can say is, that I have a MQTT server running and MQTT.fx can connect with the credential check running without problems.
For example, you can have a look at my programm under https://github.com/SeppPenner/NetCoreMQTTExampleJsonConfig/blob/master/NetCoreMQTTExampleJsonConfig/Program.cs. This code works properly for me.
If I verify, I cannot connect, and an error is reported
Do you know which error occurs? Maybe an issue with SSL settings? Are you using MQTT 3.1.1 (Default) or 5.0? Just some ideas what might be wrong :)
I downloaded the tool you used to test and see. The tool I used is the default 3.1.0. The specific error is unclear, but it is said to be blocked.
Thank you, my problem has been solved.
Thank you, my problem has been solved.
What was the issue exactly? :)
可能是我找的测试工具的问题,另外有个问题请教下,怎么样接收离线之后的信息的。我目前试过连接之后只能接收新的消息
Haha, sorry? :D Google Translate helped me :)
It may be a problem with the test tool I am looking for. Another question is how to receive information after offline. I currently only receive new messages after trying to connect
It may be a problem with the test tool I am looking for. Another question is how to receive the information after offline. I currently only receive new messages after trying to connect
Sorry, I also use the google translation, but just make mistakes while translating.