I’m running version 2.5.0 of mender server, freshly installed and configured.
With one device out of six the authorization process has a problem: the ‘Pending’ tab shows the number 1, but no device is shown. In the following screenshot the “faulty” device and two others are connected to the network, but only two show up.
After the authorization of the two devices, as you can see, the page says “Showing 0 of 1 device pending authorization”. No filter is enabled.
In a previous installation of the server (v2.4.0) the “faulty” device was normally associated.
Do you have suggestions on how better investigate the problem?
I don’t know if it’s related, but I’ve noted two recurring warnings in the logs:
set 29 14:45:13 mender run[12181]: mender-api-gateway_1 | 172.17.254.26 - - [29/Sep/2020:12:45:13 +0000] "POST /api/devices/v1/authentication/auth_requests HTTP/1.1" 200 667 "-" "Go-http-client/1.1" "-" request ID "a9d5878b-925e-410f-95a3-12ae5f9ff297" 0.013
set 29 14:45:15 mender run[12181]: mender-device-auth_1 | time="2020-09-29T12:45:15Z" level=warning msg="Failed to extract identity from header: malformed authorization data" file=entry.go func="logrus.(*Entry).Warnf" line=354 request_id=1d9bfd95-c18d-4cf7-b9ed-952548474a21
set 29 14:45:15 mender run[12181]: mender-device-auth_1 | time="2020-09-29T12:45:15Z" level=info msg="Token 9df507ee-d283-4c08-99b0-8950a1798de4 assigned to device 88e9cd25-3a61-4582-8a5d-377e8ec38857" file=entry.go func="logrus.(*Entry).Infof" line=346 request_id=1d9bfd95-c18d-4cf7-b9ed-952548474a21
set 29 14:45:15 mender run[12181]: mender-device-auth_1 | time="2020-09-29T12:45:15Z" level=info msg="200 11933μs POST /api/devices/v1/authentication/auth_requests HTTP/1.1 - Go-http-client/1.1" byteswritten=672 file=entry.go func="logrus.(*Entry).Print" line=300 method=POST path=/api/devices/v1/authentication/auth_requests qs= request_id=1d9bfd95-c18d-4cf7-b9ed-952548474a21 responsetime=0.011933706 status=200 ts="2020-09-29 12:45:15.784480028 +0000 UTC" type=http
set 29 14:45:15 mender run[12181]: mender-api-gateway_1 | 172.17.254.30 - - [29/Sep/2020:12:45:15 +0000] "POST /api/devices/v1/authentication/auth_requests HTTP/1.1" 200 672 "-" "Go-http-client/1.1" "-" request ID "1d9bfd95-c18d-4cf7-b9ed-952548474a21" 0.013
Thank you!