Forum
Using the webui, when logging in with the correct user/pass I get a 401 error. Same credentials work via ssh.
2025-01-21T11:53:55.478508-05:00 svace01 zapi.cgi[521820]: (INFO) webgui :: Authorization required
2025-01-21T11:53:55.519370-05:00 svace01 zapi.cgi[521821]: (INFO) webgui :: STATUS: 401 REQUEST: GET /zapi/v4.0/zapi.cgi/system/version
2025-01-21T11:53:55.521114-05:00 svace01 zapi.cgi[521821]: (INFO) webgui :: Authorization required
2025-01-21T11:54:07.185577-05:00 svace01 zapi.cgi[521822]: (INFO) webgui :: Login successful for user: root
2025-01-21T11:54:07.192290-05:00 svace01 zapi.cgi[521822]: (INFO) webgui :: STATUS: 200 REQUEST: POST /zapi/v4.0/zapi.cgi/session
2025-01-21T11:54:07.362511-05:00 svace01 zapi.cgi[521824]: (INFO) webgui :: STATUS: 401 REQUEST: GET /zapi/v4.0/zapi.cgi/system/info
2025-01-21T11:54:07.367720-05:00 svace01 zapi.cgi[521824]: (INFO) webgui :: Authorization required
When using the invalid credentials I get the user/pass error as expected.
2025-01-21T11:55:09.685447-05:00 svace01 zapi.cgi[521830]: (ERROR) webgui :: Login to new session: The username and/or password are incorrect
Good day. First of all, we need to understand if the issue is related to some special characters not being properly managed by the HTTP encode/decode or if the problem is in the validation module. So, please can you do the following test and share the results with us?
For the affected user configure a simple password using ssh.
Later validate on the web GUI with this user and the simple password.
Please confirm if it works as expected or if the issue remains.
This has been resolved. It appears the file system became read-only even though items were still being written to /var/log/syslog. A restart fixed it.
It makes sense; thanks for the confirmation. Maybe the Hypervisor configured the Storage to be read-only due to an unexpected issue.
Thanks for reaching us and sharing with us this issue, a pleasure to help.
We will close this topic.
Regards!