Live Webinar · Real-Time Load Balancing, WAF & Cybersecurity · May 14 · 10:00 AM CET | 2:30 PM IST

Live Webinar · Load Balancing & WAF · May 14

Join now

Forum

401 Authorization r...
 
Notifications
Clear all

[Solved] 401 Authorization required via webui

4 Posts
2 Users
0 Reactions
884 Views
(@alanmartin)
Member Admin
Joined: 2 years ago
Posts: 14
Topic starter   [#6]

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: 1 year ago
Posts: 64
 

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
(@alanmartin)
Member Admin
Joined: 2 years ago
Posts: 14
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: 1 year ago
Posts: 64
 

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