# Trouble with device authentication/decommission via web UI

**URL:** https://hub.mender.io/t/trouble-with-device-authentication-decommission-via-web-ui/5029
**Category:** General Discussions
**Created:** [June 16, 2022, 2:57pm UTC](https://hub.mender.io/t/trouble-with-device-authentication-decommission-via-web-ui/5029 "2022-06-16T14:57:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![salma](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@salma](https://hub.mender.io/u/salma)
#### Post date: [June 16, 2022, 2:57pm UTC](https://hub.mender.io/t/trouble-with-device-authentication-decommission-via-web-ui/5029/1 "2022-06-16T14:57:46Z")

</div>

Hello,  
I was testing mender with a qemu on which I had mender-client installed. I tried connecting my qemu to hosted mender but I never see any pending device.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/8/88e3e387792dfbdbb4f9703d9e3460a9d187ece9.png)

Et sur qemu j’ai ce message :

```auto
Jun 16 17:13:26 localhost.localdomain mender[897]: time="2022-06-16T17:13:26+02:00" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
Jun 16 17:13:26 localhost.localdomain mender[897]: time="2022-06-16T17:13:26+02:00" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"
Jun 16 17:13:26 localhost.localdomain mender[897]: time="2022-06-16T17:13:26+02:00" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"

```

I tried afterwards to decommission all my devices and retry to connect my qemu to hosted mender server but it fails with the following error :

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/6/6b2d37d7f3f870638a0681bbbec26cfb65046390.png)

Any ideas?  
Thank you

---

<div class="post-metadata">

### Author: ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)
#### Post date: [June 17, 2022, 7:02am UTC](https://hub.mender.io/t/trouble-with-device-authentication-decommission-via-web-ui/5029/2 "2022-06-17T07:02:05Z")

</div>

What do the client logs on the device say?

```bash
journalctl -u mender-client

```

---

<div class="post-metadata">

### Author: ![salma](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@salma](https://hub.mender.io/u/salma)
#### Post date: [June 17, 2022, 7:49am UTC](https://hub.mender.io/t/trouble-with-device-authentication-decommission-via-web-ui/5029/3 "2022-06-17T07:49:52Z")

</div>

Hello,  
It works now, I guess it was a synchronisation problem in the hosted mender web UI as no action I made on the devices (rejection/decommission/dismiss) was executed and my devices status were still accepted.  
Thank you
