×
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.
- Edit the following file:
/opt/opsview/deploy/etc/user_vars.yml
- Uncomment and set the following parameter:
opsview_session_ignore_ip: True
- Run the orchestrator install playbook to apply the changes:
/opt/opsview/deploy/bin/opsview-deploy /opt/opsview/deploy/lib/playbooks/orchestrator-install.yml
- Restart the web services to ensure the changes take effect:
/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"]