# Find out user name on "disconnected, not authorised"

**URL:** <https://forum.cedalo.com/t/find-out-user-name-on-disconnected-not-authorised/962>\
**Category:** User management\
**Created:** [April 5, 2024, 5:36pm UTC](https://forum.cedalo.com/t/find-out-user-name-on-disconnected-not-authorised/962 "2024-04-05T17:36:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksau](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@ksau](https://forum.cedalo.com/u/ksau)\
**Post date:** [April 5, 2024, 5:36pm UTC](https://forum.cedalo.com/t/find-out-user-name-on-disconnected-not-authorised/962/1 "2024-04-05T17:36:28Z")

</div>

Hi!

On my broker there is one Client trying to connect every 5 seconds. It gets a “disconnected, not authorised” error, I would expect a wrong password or such. But: how can I find out about the user name? It is not logged. Only the IP but that does not help to much here.

Any idea is appreciated!  
Thanks and best regards,  
Keith

---

<div class="post-metadata">

**Author:** ![Tizian](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.cedalo.com/tizian/32/33_2.png) [@Tizian](https://forum.cedalo.com/u/Tizian)\
**Post date:** [April 8, 2024, 1:18pm UTC](https://forum.cedalo.com/t/find-out-user-name-on-disconnected-not-authorised/962/2 "2024-04-08T13:18:24Z")

</div>

Hello Keith,

You should be able to get a log like this:

`1712582140: Client mqtt-explorer-e13a77f5 disconnected, not authorised.`

Giving you the clientid used.

Try log\_type all for the most possible logs.
