Upgraded AWS Elastic search to Amazon OpenSearch 1.2. After the upgrade not able to login dashboard. Configured AWS cognito for authentication. Before upgrade it worked, not sure why its failing after upgrade, given permissions by changing policies. Getting below error
java.net.ConnectException: Connection refused (Connection refused).
Please suggest for any solution.