Forum

401 Authorization r...
 
Notifications
Clear all

[Solved] 401 Authorization required via webui

4 Posts
2 Users
0 Reactions
26 Views
(@dr2357)
New Member
Joined: 2 weeks ago
Posts: 2
Topic starter  

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


   
Quote
emiliocm
(@emiliocm)
SKUDONET Engineer Moderator
Joined: 2 months ago
Posts: 19
 

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. 

 


   
ReplyQuote
(@dr2357)
New Member
Joined: 2 weeks ago
Posts: 2
Topic starter  

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.


   
ReplyQuote
emiliocm
(@emiliocm)
SKUDONET Engineer Moderator
Joined: 2 months ago
Posts: 19
 

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!

 


   
ReplyQuote
Share:

Download Skudonet ADC Load Balancer
Community Edition

Source Code

A versatile and installable ADC system designed for diverse vendor hardware.

DOWNLOAD SOURCE

Installable ISO 

Load Balancing as a Service alongside an ADC orchestration toolkit.

DOWNLOAD ISO
Download Community Edition

Download Community Edition

“We manage the information you provide with the sole aim of assisting with your requests or queries in regards to our products or services; applying the computer and security procedures to ensure its protection. Your data can be rectified or removed upon request but won’t be offered to any third parties, unless we are legally required to do so.” Responsible: SKUDONET SL - info@skudonet.com