Opensearch Dashboards: 2.3.0
Hello,
I’m new to opensearch and trying to install it
When I try to log on the dashboard page with my browser on port 5601 I see this message
{“statusCode”:401,“error”:“Unauthorized”,“message”:“Authentication required”}
Also in the logs I see this, I don’t know if it’s related
{“type”:“log”,“@timestamp”:“2022-11-24T00:17:46Z”,“tags”:[“error”,“plugins”,“securityDashboards”],“pid”:75656,“message”:“StatusCodeError: no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]\n at respond (/usr/local/opensearch-dashboards/node_modules/elasticsearch/src/lib/transport.js:349:15)\n at checkRespForFailure (/usr/local/opensearch-dashboards/node_modules/elasticsearch/src/lib/transport.js:306:7)\n at HttpConnector. (/usr/local/opensearch-dashboards/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)\n at IncomingMessage.wrapper (/usr/local/opensearch-dashboards/node_modules/lodash/lodash.js:4991:19)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21) {\n status: 400,\n displayName: ‘BadRequest’,\n path: ‘/_plugins/_security/tenantinfo’,\n query: {},\n body: {\n error: ‘no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]’\n },\n statusCode: 400,\n response: ‘{"error":"no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]"}’,\n toString: [Function (anonymous)],\n toJSON: [Function (anonymous)]\n}”}
{“type”:“log”,“@timestamp”:“2022-11-24T00:17:46Z”,“tags”:[“listening”,“info”],“pid”:75656,“message”:“Server running at http://x.x.x.x:5601”}
My configuration looks like that
server.host: “0.0.0.0”
server.basePath: “/kibana”
opensearch.hosts: [http://127.0.0.1:9200]
opensearch.ssl.verificationMode: none
opensearch.username: kibanaserver
opensearch.password: kibanaserver
opensearch.requestHeadersWhitelist: [authorization, securitytenant]
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: [Private, Global]
opensearch_security.readonly_mode.roles: [kibana_read_only]
Use this setting if you are running opensearch-dashboards without https
opensearch_security.cookie.secure: false
opensearch_security.session.keepalive: false
Thank you