# Freeze on accept

**URL:** https://hub.mender.io/t/freeze-on-accept/866
**Category:** General Discussions
**Created:** [July 30, 2019, 4:23pm UTC](https://hub.mender.io/t/freeze-on-accept/866 "2019-07-30T16:23:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bentech](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/bentech/32/309_2.png) [@bentech](https://hub.mender.io/u/bentech)
#### Post date: [July 30, 2019, 4:23pm UTC](https://hub.mender.io/t/freeze-on-accept/866/1 "2019-07-30T16:23:07Z")

</div>

I’m using mender 2.0.1 and i’m getting a hanging issue. When I use the admin interface for manually accepting a device ‘Authorization request for this device’ as soon as i press accept it becomes unresponsive.

If I ssh to the device added and restart the mender client the interface frees up.

Pressing accept shows this error:

There was a problem updating the device authorization status: cannot PUT /api/management/v2/devauth/devices/5d3ae5b41b118c000146e4da/auth/5d3ae5b41b118c000146e4db/status (500)… [Request ID: 7517f51e]

Looking in the chrome network tab i can see these requests  
/api/management/v2/devauth/devices?status=accepted&per\_page=200&page=1  
/api/management/v1/inventory/devices/5d2f08371b118c000146d8f2  
/api/management/v1/inventory/devices/5d304e511b118c000146d8f6  
but  
/api/management/v1/inventory/devices/5d3ae5b41b118c000146e4da  
returns  
error: “Device not found”  
request\_id: “932e4712-c73b-40b0-80b9-d4c4ca659009”

which causes the

/ui/#/devices to display ‘No Devices found’

It continues to retry at the bottom of the screen.

> VM28:1 GET /api/management/v1/inventory/devices/5d3ae5b41b118c000146e4da 404 (Not Found)  
> TypeError: Cannot read property ‘attributes’ of undefined  
> at main.js:formatted:83170  
> at main.js:formatted:6367  
> at invokeCallback (main.js:formatted:6372)  
> at publish (main.js:formatted:6354)  
> at MutationObserver.flush (main.js:formatted:6218)

---

<div class="post-metadata">

### Author: ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)
#### Post date: [July 31, 2019, 2:22pm UTC](https://hub.mender.io/t/freeze-on-accept/866/2 "2019-07-31T14:22:08Z")

</div>

Hello @bentech, welcome to Mender Hub.

I don’t have any specific guidance here but @michaelatmender may have some.

---

<div class="post-metadata">

### Author: ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)
#### Post date: [July 31, 2019, 3:25pm UTC](https://hub.mender.io/t/freeze-on-accept/866/3 "2019-07-31T15:25:35Z")

</div>

Also tagging @mzedel

---

<div class="post-metadata">

### Author: ![mzedel](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mzedel/32/261_2.png) [@mzedel](https://hub.mender.io/u/mzedel)
#### Post date: [August 1, 2019, 3:10pm UTC](https://hub.mender.io/t/freeze-on-accept/866/4 "2019-08-01T15:10:26Z")

</div>

From what it looks like I would think this is directly related to a temporary fix in [this PR](https://github.com/mendersoftware/gui/pull/488) - that should land in master in the coming days.
