[MXS-3157] Write MaxGUI system test Created: 2020-09-04  Updated: 2021-03-05  Resolved: 2020-10-15

Status: Closed
Project: MariaDB MaxScale
Component/s: maxgui
Affects Version/s: 2.5.3
Fix Version/s: 2.5.5

Type: Bug Priority: Major
Reporter: Jurgen De Maeseneer Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None
Environment:

debian 10


Issue Links:
Duplicate
is duplicated by MXS-3173 maxgui: empty page Closed
Sprint: MXS-SPRINT-117

 Description   

In version 2.5.1 the MaxGui was working fine i could logon and it would show a webpage with details of monitors.
After upgrade to 2.5.3 MaxGui shows a popup for loggin on (instead of the webpage kind of 2.5.1) and after entering a blank page is displayed.
When entering incorrect password the followin text is displayed : {"errors": [

{ "detail": "Access denied" }

] }
Looks like Maxscale v2.5.3 is unable to detect that you tried to connect to it via a browser (Chrome, Firefox, IE, Edge).



 Comments   
Comment by Johan Wikman [ 2020-09-07 ]

Yes, due to an error, MaxGUI was excluded from 2.5.3.
We are working on it and will provide updated packages as soon as possible.

Comment by markus makela [ 2020-10-15 ]

Added a sanity check test case that makes sure the MaxGUI files are included in the installation and that they are successfully served. This, in addition to the MaxGUI unit tests, should cover pretty much everything.

Comment by Anthony [ 2021-03-05 ]

Hi,

I have the same issue with Maxscale 2.5.6 (not tested before) :/

I have a basic auth popup -> empty page.

I use:
admin_host=0.0.0.0
admin_secure_gui=false

Nothing in the logs (only access denied if bad creds).

Best regards,

Generated at Thu Feb 08 04:19:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.