Unable to authenticate user [admin] for REST request [/] after install opensearch in kali(Debian11)

I have installed the opensearch2.6.0 following this article:
Debian - OpenSearch documentation

when I execute the Step 2: (Optional) Test OpenSearch,I use the Command:

 curl -X GET https://localhost:9200 -u 'admin:admin' --insecure

I receive the result like this:
{“error”:{“root_cause”:[{“type”:“security_exception”,“reason”:“unable to authenticate user [admin] for REST request [/]”,“header”:{“WWW-Authenticate”:[“Basic realm="security" charset="UTF-8"”,“Bearer realm="security"”,“ApiKey”]}}],“type”:“security_exception”,“reason”:“unable to authenticate user [admin] for REST request [/]”,“header”:{“WWW-Authenticate”:[“Basic realm="security" charset="UTF-8"”,“Bearer realm="security"”,“ApiKey”]}},“status”:401}

my enviroment is
Linux kali 5.9.0-kali1-amd64 #1 SMP Debian 5.9.1-1kali2 (2020-10-29) x86_64 GNU/Linux

how to fix it ? thanks;