Opensearch dashboards - ошибка авторизации
Столкнулся с такой проблемой: при попытке входа Opensearch dashboards всегда "Invalid username or password, please try again" при этом в ответе: 401 Unauthorized и в Response headers
www-authenticate: no handler found for uri [/_plugins/_security/authinfo] and method [GET]
Запускал и под Ubuntu и под Windows подскажите пожалуйста, с чем это может быть связано? В метке укзал кибану и эластик так как это самое близкое к моему вопросу, а на новые метки, к сожалению репутации не хватает. Мои файлы конфигураций opensearch.yml
cluster.name: opensearch-cluster
node.name: node-1
path.data: /var/lib/opensearch
path.logs: /var/log/opensearch
network.host: 0.0.0.0
discovery.seed_hosts: ["192.168.1.45"]
cluster.initial_cluster_manager_nodes: ["node-1"]
action.auto_create_index: false
plugins.security.disabled: true
opensearch_dashboards.yml
opensearch.hosts: ["http://localhost: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 напрямую: localhost:9200, всё корректно
{
"name": "node-1",
"cluster_name": "opensearch-cluster",
"cluster_uuid": "C6y9HIugT2qidUf6zOP9Lg",
"version": {
"distribution": "opensearch",
"number": "2.4.0",
"build_type": "tar",
"build_hash": "744ca260b892d119be8164f48d92b8810bd7801c",
"build_date": "2022-11-15T04:42:29.671309257Z",
"build_snapshot": false,
"lucene_version": "9.4.1",
"minimum_wire_compatibility_version": "7.10.0",
"minimum_index_compatibility_version": "7.0.0"
},
"tagline": "The OpenSearch Project: https://opensearch.org/"
}
localhost:9200/_cluster/health?pretty
{
"cluster_name": "opensearch-cluster",
"status": "green",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"discovered_master": true,
"discovered_cluster_manager": true,
"active_primary_shards": 1,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 0,
"delayed_unassigned_shards": 0,
"number_of_pending_tasks": 0,
"number_of_in_flight_fetch": 0,
"task_max_waiting_in_queue_millis": 0,
"active_shards_percent_as_number": 100
}
В чём может быть проблема?