Back to Opsview FAQ

Internal documentation only

This page has been marked as draft.

Getting unauthorized session ID

Description Copied

When logging in to the Web GUI, the user is immediately logged out due to an address mismatch.

This behavior can be observed in the logs:

opsview.sessionmanager.sessionmanagersessions <2327088> : [WARNING] Unknown session id: session_17dffa7a2b2c39d2bbce3e1d879545c885441b40be4cfba1129f48317b43015a
opsview.sessionmanager.sessionmanagersessions <2327088> : [ERR] Failed: (401, 'Unauthorized')

Possible cause(s) Copied

The connection is being routed through multiple external IP addresses. During authentication, the initial login request originates from one IP address, but subsequent requests are routed through a different IP.

Possible solution(s) Copied

If the issue is caused by session invalidation due to IP address mismatch, you can configure Opsview to ignore the client IP when validating sessions.

/opt/opsview/deploy/etc/user_vars.yml
opsview_session_ignore_ip: True
/opt/opsview/deploy/bin/opsview-deploy /opt/opsview/deploy/lib/playbooks/orchestrator-install.yml
/opt/opsview/watchdog/bin/opsview-monit restart opsview-web
/opt/opsview/watchdog/bin/opsview-monit restart opsview-webserver
/opt/opsview/watchdog/bin/opsview-monit restart opsview-webappserver
["Geneos"] ["FAQ"]

Was this topic helpful?