# Mender version 2.6 - Devices not shown on pending

**URL:** <https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435>\
**Category:** General Discussions\
**Created:** [March 29, 2021, 10:00am UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435 "2021-03-29T10:00:42Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![zumiani](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/zumiani/32/185_2.png) [@zumiani](https://hub.mender.io/u/zumiani)\
**Post date:** [March 29, 2021, 10:00am UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/1 "2021-03-29T10:00:42Z")

</div>

Hello!

I’ve just installed new version of MENDER (2.6) on an AWS VM.  
Mender client is installed on a RaspberryPi3.

Everything is instaleld correctly I think.  
A take server certificate generated on server and copied to mender client.  
I see tries of mender.client to register on server and “auth-error” result. And this is ok.  
However I cannot see device on pending devices.

Client log

> ```
> -- Logs begin at Mon 2021-03-29 11:13:22 CEST. --
> mar 29 11:47:43 raspberrypi systemd[1]: Started Mender OTA update service.
> mar 29 11:47:43 raspberrypi mender[1182]: time="2021-03-29T11:47:43+02:00" level=info msg="Loaded configuration file: /etc/mender/mender.conf"
> mar 29 11:47:43 raspberrypi mender[1182]: time="2021-03-29T11:47:43+02:00" level=info msg="No dual rootfs configuration present"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+02:00" level=info msg="State transition: init [none] -> init [none]"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+02:00" level=info msg="State transition: init [none] -> idle [Idle]"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+02:00" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+02:00" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+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"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+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"
> mar 29 11:47:44 raspberrypi mender[1182]: time="2021-03-29T11:47:44+02:00" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]"
> mar 29 11:52:44 raspberrypi mender[1182]: time="2021-03-29T11:52:44+02:00" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
> mar 29 11:52:44 raspberrypi mender[1182]: time="2021-03-29T11:52:44+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"
> mar 29 11:52:44 raspberrypi mender[1182]: time="2021-03-29T11:52:44+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"
> mar 29 11:52:44 raspberrypi mender[1182]: time="2021-03-29T11:52:44+02:00" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]"
> mar 29 11:57:44 raspberrypi mender[1182]: time="2021-03-29T11:57:44+02:00" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
> mar 29 11:57:44 raspberrypi mender[1182]: time="2021-03-29T11:57:44+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"
> mar 29 11:57:44 raspberrypi mender[1182]: time="2021-03-29T11:57:44+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"
> mar 29 11:57:44 raspberrypi mender[1182]: time="2021-03-29T11:57:44+02:00" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]"
> 
> ```

Server log

> ```
> mender-device-auth_1 | time="2021-03-29T09:36:37Z" level=info msg="401 2920μs POST /api/devices/v1/authentication/auth_requests HTTP/1.1 - Go-http-client/1.1" byteswritten=111 file=middleware.go func="accesslog.(*AccessLogMiddleware).MiddlewareFunc.func1" line=71 method=POST path=/api/devices/v1/authentication/auth_requests qs= request_id=7ef1c1c5-5417-4fe5-a6a7-b8ea0fbd667f responsetime=0.002920888 status=401 ts="2021-03-29 09:36:37.370050347 +0000 UTC" type=http
> mender-device-auth_1 | time="2021-03-29T09:41:37Z" level=warning msg="dev auth: unauthorized: dev auth: unauthorized" file=response_helpers.go func=rest_utils.restErrWithLogMsg line=108 request_id=b2bcb1f6-9c89-4ebd-b680-f8160065eeaf
> mender-device-auth_1 | time="2021-03-29T09:41:37Z" level=info msg="401 3445μs POST /api/devices/v1/authentication/auth_requests HTTP/1.1 - Go-http-client/1.1" byteswritten=111 file=middleware.go func="accesslog.(*AccessLogMiddleware).MiddlewareFunc.func1" line=71 method=POST path=/api/devices/v1/authentication/auth_requests qs= request_id=b2bcb1f6-9c89-4ebd-b680-f8160065eeaf responsetime=0.003445029 status=401 ts="2021-03-29 09:41:37.327445265 +0000 UTC" type=http
> mender-device-auth_1 | time="2021-03-29T09:42:53Z" level=warning msg="dev auth: unauthorized: dev auth: unauthorized" file=response_helpers.go func=rest_utils.restErrWithLogMsg line=108 request_id=14aa7815-9dde-4911-b559-3f9fb58ec628
> mender-device-auth_1 | time="2021-03-29T09:42:53Z" level=info msg="401 2732μs POST /api/devices/v1/authentication/auth_requests HTTP/1.1 - Go-http-client/1.1" byteswritten=111 file=middleware.go func="accesslog.(*AccessLogMiddleware).MiddlewareFunc.func1" line=71 method=POST path=/api/devices/v1/authentication/auth_requests qs= request_id=14aa7815-9dde-4911-b559-3f9fb58ec628 responsetime=0.002732346 status=401 ts="2021-03-29 09:42:53.717053471 +0000 UTC" type=http
> mender-device-auth_1 | time="2021-03-29T09:47:44Z" level=warning msg="dev auth: unauthorized: dev auth: unauthorized" file=response_helpers.go func=rest_utils.restErrWithLogMsg line=108 request_id=38048f1d-d3c3-4c01-90bc-237bd930d1eb
> mender-device-auth_1 | time="2021-03-29T09:47:44Z" level=info msg="401 2950μs POST /api/devices/v1/authentication/auth_requests HTTP/1.1 - Go-http-client/1.1" byteswritten=109 file=middleware.go func="accesslog.(*AccessLogMiddleware).MiddlewareFunc.func1" line=71 method=POST path=/api/devices/v1/authentication/auth_requests qs= request_id=38048f1d-d3c3-4c01-90bc-237bd930d1eb responsetime=0.002950922 status=401 ts="2021-03-29 09:47:44.509152474 +0000 UTC" type=http
> mender-device-auth_1 | time="2021-03-29T09:52:44Z" level=warning msg="dev auth: unauthorized: dev auth: unauthorized" file=response_helpers.go func=rest_utils.restErrWithLogMsg line=108 request_id=4553c4dd-724d-45ac-ae25-038d703fb604
> mender-device-auth_1 | time="2021-03-29T09:52:44Z" level=info msg="401 3129μs POST /api/devices/v1/authentication/auth_requests HTTP/1.1 - Go-http-client/1.1" byteswritten=109 file=middleware.go func="accesslog.(*AccessLogMiddleware).MiddlewareFunc.func1" line=71 method=POST path=/api/devices/v1/authentication/auth_requests qs= request_id=4553c4dd-724d-45ac-ae25-038d703fb604 responsetime=0.003129707 status=401 ts="2021-03-29 09:52:44.562165479 +0000 UTC" type=http
> 
> ```

Thank you for you time  
Best regards

---

<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:** [March 29, 2021, 2:21pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/2 "2021-03-29T14:21:08Z")

</div>

Hi @zumiani

Is it possible this device is somehow in the “rejected” devices tab?

Alternatively, can you use the [API](https://docs.mender.io/api/2.6/) to enumerate the devices? I think there was an issue recently where the web UI was not showing everything. @tranchitella is this possibly the same issue in an on-prem install?

Drew

---

<div class="post-metadata">

**Author:** ![zumiani](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/zumiani/32/185_2.png) [@zumiani](https://hub.mender.io/u/zumiani)\
**Post date:** [March 29, 2021, 2:26pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/3 "2021-03-29T14:26:51Z")

</div>

Dear @drewmoseley ,

it was due to not completely supported version of MongoDB.  
Following guide on Mender docs it install MongoDB 4.4.4.

I’ve deleted installation, included docker volumes, and start again installation.  
Before _./run pull_ command I’ve edited _docker-compose.yml_ file changing line from

> mongo:4.4.4

with

> mongo:4.4.3

Finished installation and it works like a charm.

Best regards

---

<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:** [March 29, 2021, 2:41pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/4 "2021-03-29T14:41:03Z")

</div>

Excellent. Thanks for reporting back.

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [March 29, 2021, 4:10pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/5 "2021-03-29T16:10:20Z")

</div>

I confirm there seems to be an issue with Mender 2.6 and MongoDB 4.4.4, released a few days ago.  
I suggest downgrading to MongoDB 4.4.3 if you are encountering issues.

---

<div class="post-metadata">

**Author:** ![zumiani](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/zumiani/32/185_2.png) [@zumiani](https://hub.mender.io/u/zumiani)\
**Post date:** [March 29, 2021, 4:25pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/6 "2021-03-29T16:25:39Z")

</div>

Thank you very much @tranchitella for your help!  
Your support is always very helpful and kind

---

<div class="post-metadata">

**Author:** ![mho](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mho](https://hub.mender.io/u/mho)\
**Post date:** [September 30, 2021, 7:49pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/7 "2021-09-30T19:49:53Z")

</div>

@tranchitella does this problem still exist for MongoDB 4.4.6? We’re seeing this issue - mender-cli shows a device as pending, but the UI doesn’t show any (and I dug through all the device filter tabs).

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [October 1, 2021, 3:36am UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/8 "2021-10-01T03:36:02Z")

</div>

@mho which version of Mender are you using? Latest versions (3.0, 3.1) are not affected by this issue.

---

<div class="post-metadata">

**Author:** ![mho](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mho](https://hub.mender.io/u/mho)\
**Post date:** [October 1, 2021, 3:15pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/9 "2021-10-01T15:15:11Z")

</div>

We’re using 3.0.0 with MongoDB 4.4.6. We had to authorize a new device using the REST API. Could that be something different?

@gigilibala for more details

---

<div class="post-metadata">

**Author:** ![bao-eng](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/bao-eng/32/1378_2.png) [@bao-eng](https://hub.mender.io/u/bao-eng)\
**Post date:** [October 1, 2021, 4:03pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/10 "2021-10-01T16:03:18Z")

</div>

@mho I have same issue right now(mender 3.0.0).  
Workaround:  
go to devices tab  
“Quick find Device” your device(I am using eeprom-stored SerialNumber as identy)  
change Status filter to any

 ![Screenshot from 2021-10-01 18-46-55_crop](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/0/07f3dc7fda98e85d3583f304bbdb6eef9db94bd0.png)

---

<div class="post-metadata">

**Author:** ![gigilibala](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/gigilibala/32/1366_2.png) [@gigilibala](https://hub.mender.io/u/gigilibala)\
**Post date:** [October 1, 2021, 6:58pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/11 "2021-10-01T18:58:33Z")

</div>

Yeah, the device shows up when listing it through REST API or using mender-cli, but it won’t show up anywhere in the UI. I had to accept the device using the REST API manually, then it showed up in the UI. So basically pending devices won’t show up in the GUI.

---

<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:** [October 1, 2021, 10:10pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/12 "2021-10-01T22:10:40Z")

</div>

@mho and @gigilibala based on the description I could think that the steps listed in here: [Mender 2.5.0 Problems with Filters, Hostnames and More - #2 by mzedel](https://hub.mender.io/t/mender-2-5-0-problems-with-filters-hostnames-and-more/2683/2) might also apply in your case.

---

<div class="post-metadata">

**Author:** ![Aalex](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@Aalex](https://hub.mender.io/u/Aalex)\
**Post date:** [October 5, 2021, 7:57am UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/13 "2021-10-05T07:57:44Z")

</div>

@gigilibala Im experiencing the same Problems with Mender 3.0 and Mongo DB 4.4.8. Could you solve the problem already?

---

<div class="post-metadata">

**Author:** ![mho](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mho](https://hub.mender.io/u/mho)\
**Post date:** [July 21, 2022, 5:04pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/14 "2022-07-21T17:04:25Z")

</div>

Hi,  
Is there a ticket tracking this issue? Has it been resolved in a recent release? We are still seeing this with Mender 3.1.0.

---

<div class="post-metadata">

**Author:** ![Rekhanag](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@Rekhanag](https://hub.mender.io/u/Rekhanag)\
**Post date:** [April 23, 2024, 12:51pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/15 "2024-04-23T12:51:05Z")

</div>

Dear Tranchitella,

We are observing a weird behaviour of devices not showing up in the Mender UI if there are more than 10 devices pending for acceptance. We have tested basic functionality with one device(registered/accepted installaed/updated via Mender), took an image-dump and provisioned a set of 15 devices. Added one after another but once we reach 10 devices, even if we add new device they are not showing in the UI.  
The no of pending devices count got stuck at 10  
Just wondering what are the basic things we need to check in these kind of scenarios.

---

<div class="post-metadata">

**Author:** ![tranchitella](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tranchitella/32/606_2.png) [@tranchitella](https://hub.mender.io/u/tranchitella)\
**Post date:** [April 24, 2024, 5:17pm UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/16 "2024-04-24T17:17:30Z")

</div>

Are you experiencing this behavior on Hosted Mender or running your own server?

---

<div class="post-metadata">

**Author:** ![Rekhanag](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@Rekhanag](https://hub.mender.io/u/Rekhanag)\
**Post date:** [June 24, 2024, 11:27am UTC](https://hub.mender.io/t/mender-version-2-6-devices-not-shown-on-pending/3435/17 "2024-06-24T11:27:04Z")

</div>

@tranchitella Sorry for a late reply. We are facing the issue with self-hosted mender running on GKE. API response api/management/v2/devauth/devices?status=pending is giving a count of 20, but UI is showing only 10 pending devices.
