Skip to content

401 Unauthorized Error after Login #26

Open
@fti-akumari

Description

@fti-akumari

Description:

I am experiencing a persistent 401 Unauthorized error when attempting to access the UI. This error occurs after a user has been logged in for approximately 20-30 minutes. Additionally, there seems to be a 5-10 minute delay before being able to log in again after the session times out.

Steps to Reproduce:

  • Log in to the application.
  • Access the UI after 20-30 minutes of inactivity.
  • Observe the 401 Unauthorized error.

Expected Behavior:
The user should remain authenticated and be able to access the UI without encountering a 401 error.

Actual Behavior:
After 20-30 minutes, the application returns a 401 Unauthorized error for the requested endpoint.

Additional Information:

I have implemented auth_digest_timeout in the NGINX configuration, but the issue persists.
Used curl for testing authentication, which initially succeeded but eventually returns a 401 error after the timeout.

Environment:
NGINX version: 1.25.4

curl -v --digest -u admin:admin http://192.168.10.148:20001/stream-viewer?stream
image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions