Symptom
Lobby admin page for Catalyst 9800 WLC is not loading and prompts the following error message:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, OpenResty.
Conditions
Trying to access the GUI of a Catalyst 9800 WLC.
Workaround
This defect is caused by the lobby admin or RO users not being able to run "show version".
We can apply the following command to make all users be able to run "show version".
privilege exec all level 0 show version
Further Problem Description
HTTP Server debugs should show an error similar to the following:
[error] 30451#0: *75866 lua entry thread2023/08/23 14:57:52 [error] 30451#0: *75866 lua entry thread aborted: runtime error: /var/scripts/lua/features/indexhtml.lua:23: attempt to index a nil value
2023/08/23 14:57:52.669059226 {nginx_R0-0}{1}: [stdout] [30385]: (note): stack traceback:
2023/08/23 14:57:52.669059534 {nginx_R0-0}{1}: [stdout] [30385]: (note): coroutine 0:
2023/08/23 14:57:52.669059846 {nginx_R0-0}{1}: [stdout] [30385]: (note): /var/scripts/lua/features/indexhtml.lua: in function 'checkWirelessSupport'
2023/08/23 14:57:52.669060175 {nginx_R0-0}{1}: [stdout] [30385]: (note): /var/scripts/lua/features/indexhtml.lua:38: in main chunk while sending to client, client: a.b.c.d, server: , request: "GET /webui/ HTTP/1.1", host: "hostname"
Note that restarting the HTTP/HTTPS server running on the WLC has no effect on this behavior.