Closed vec715 closed 6 months ago
actually, I got the same issues even when disabling redis hook. I assume this is not related to redis
@vec715 Why do you need this msg.Ack()
? Try removing it and see what happens
I think I finally fixed it! It's because I didn't specify a sessionID, only a username. If CleanSession is disabled but there is no SessionID, the broker returns these strange errors
i got strange errors and cannot debug them:
My code is pretty simple:
Server part:
Client (paho):
Once i connect using this client I immediately see these strange errors. If I will remove the line SetCleanSession(false) everything works fine. This feature is crucial for me and didnt work :( any solutions? Thanks