Azure / azure-webpubsub

Azure Web PubSub Service helps you to manage WebSocket connections and do publish and subscribe in an easy way
https://azure.github.io/azure-webpubsub/
MIT License
135 stars 85 forks source link

Live trace does not show any log when MQTT reconnects #790

Open vicancy opened 3 months ago

vicancy commented 3 months ago

Describe the bug

I am using https://mqttx.app/web-client using anonymous connect, so I don't have permission to publish to any topcis, and when I send a message to topic A, it shows disconnect with unauth and then reconnect. However our live trace shows nothing during this process, shall we also show some reconnect log to our customer? For example, when the client is taken over, shall our customer also aware of that? image

image

Y-Sindo commented 3 months ago

There is an MqttSessionAttached event on reconnect, you should be able to see it on Dgrep. Seems the livetrace tool is not stable, sometimes it doesn't show some events on UI.