OpenSearch Security Configuration

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Hi
I used the last version of OpenSearch. when i run OpenSearch, plugin error has accrued.
This error has shown:
[2022-12-28T09:59:43,992][INFO ][o.o.s.OpenSearchSecurityPlugin] [MHAGHVERDI] OpenSearch Config path is C:\Users\mhaghverdi\IdeaProjects\moqui-framework\runtime\opensearch\config
22:29:44.152 WARN main o.moqui.i.c.ElasticFacadeImpl Error connecting to ElasticSearch cluster default at http://127.0.0.1:9200, try 4 of 20: org.moqui.BaseException: Error calling HTTP request to http://127.0.0.1:9200/
[2022-12-28T09:59:44,632][INFO ][o.o.s.s.DefaultSecurityKeyStore] [MHAGHVERDI] JVM supports TLSv1.3
[2022-12-28T09:59:44,638][INFO ][o.o.s.s.DefaultSecurityKeyStore] [MHAGHVERDI] Config directory is C:\Users\mhaghverdi\IdeaProjects\moqui-framework\runtime\opensearch\config/, from there the key- and truststore files are resolved relatively
[2022-12-28T09:59:44,912][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [MHAGHVERDI] uncaught exception in thread [main]
org.opensearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:184) ~[opensearch-2.4.1.jar:2.4.1]
at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171) ~[opensearch-2.4.1.jar:2.4.1]
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104) ~[opensearch-2.4.1.jar:2.4.1]
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) ~[opensearch-cli-2.4.1.jar:2.4.1]
at org.opensearch.cli.Command.main(Command.java:101) ~[opensearch-cli-2.4.1.jar:2.4.1]
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137) ~[opensearch-2.4.1.jar:2.4.1]
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103) ~[opensearch-2.4.1.jar:2.4.1]

I found the Config File.
extended.plugins: other plugins this plugin extends through SPI
extended.plugins=???
how can i fix it???

Describe the issue:

Configuration:

Relevant Logs or Screenshots:

@haghverdi.masoud Is that OpenSearch Dashboards log?

No
I added opensearch to moqui-framwork. this framwork designed to use elasticsearch or opensearch as search engine. the last version does not supported elasticsearch anymore. so i replaced opensearch.
this log is moqui-framwork log. but the error related to .OpenSearchSecurityPlugin

@haghverdi.masoud I’m not familiar with that tool. Are your tool and OpenSearch service on the same PC/VM?

What do you get when running the below commands?

curl -u admin:admin -XGET http://127.0.0.1:9200

curl http://127.0.0.1:9200