You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
After upgrading Opensearch-Dashboards from 2.18 to 2.19 I was unable to log in. The login would time out and I received the following error in the service logs:
Feb 19 18:14:48 sg-int-elastic04 opensearch-dashboards[4186]: {
"type": "log",
"@timestamp": "2025-02-19T18:14:48Z",
"tags": [
"error",
"plugins",
"securityDashboards"
],
"pid": 4186,
"message": "Failed to resolve if it's a readonly tenant: Error: Request Timeout after 30000ms\n at SecurityClient.dashboardsinfo (/usr/share/opensearch-dashboards/plugins/securityDashboards/server/backend/opensearch_security_client.ts:130:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at ReadonlyService.isReadonly (/usr/share/opensearch-dashboards/plugins/securityDashboards/server/readonly/readonly_service.ts:101:30)\n at ReadonlyService.hideForReadonly (/usr/share/opensearch-dashboards/src/core/server/security/readonly_service.js:18:13)\n at /usr/share/opensearch-dashboards/src/plugins/dashboard/server/plugin.js:48:14\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:52:21\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/resolve_capabilities.js:51:26\n at /usr/share/opensearch-dashboards/src/core/server/capabilities/routes/resolve_capabilities.js:53:26\n at Router.handle (/usr/share/opensearch-dashboards/src/core/server/http/router/router.js:174:44)\n at handler (/usr/share/opensearch-dashboards/src/core/server/http/router/router.js:140:50)\n at exports.Manager.execute (/usr/share/opensearch-dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)\n at Object.internals.handler (/usr/share/opensearch-dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)\n at exports.execute (/usr/share/opensearch-dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)\n at Request._lifecycle (/usr/share/opensearch-dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)\n at Request._execute (/usr/share/opensearch-dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)"
}
How can one reproduce the bug?
Steps to reproduce the behavior:
Upgrade Opensearch and Opensearch-Dashboards from 2.18 to 2.19
What is the expected behavior?
I am able to log into the server.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
After rolling back dashboards to 2.18, I still received the same error message Failed to resolve if it's a readonly tenant: Error: Request Timeout after 30000ms
I was able to successfully query the endpoint /_plugins/_security/dashboardsinfo which the plugin seems unable to do.
This seems similar but is probably unrelated to 2164
Setting opensearch_security.multitenancy.enabled: false allowed me to log in and bypass this error.
What is the bug?
After upgrading Opensearch-Dashboards from 2.18 to 2.19 I was unable to log in. The login would time out and I received the following error in the service logs:
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
I am able to log into the server.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Failed to resolve if it's a readonly tenant: Error: Request Timeout after 30000ms
/_plugins/_security/dashboardsinfo
which the plugin seems unable to do.opensearch_security.multitenancy.enabled: false
allowed me to log in and bypass this error.opensearch_dashboards.yml
The text was updated successfully, but these errors were encountered: