-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open Opensearch Dashboard #796
Comments
Hi @seano10 , thank you for reporting this. What happens when after you click on 'Log in to OpenSearch Dashboards' button below 'Sorry!' emoji? |
Hi @abhirpat , if I click the button below 'sorry' it asks for my credentials which I supply and then it gives the same error again |
Thank you for that information. Could you please also try following steps?
Also, is this default admin or a new admin that you have added? If new admin, is the admin part of admin group? |
Thanks, I have tried (1), no luck I will have to try (2) in the morning as I need to knock off for the day now I'm afraid, thanks I will update further when I have tried. For (3) it is the default admin as setup when I deployed the version last time. |
Hi @abhirpat I have upgraded to 6.1.5 but still get the same error... Also to confirm the Admin looks to have all the correct configuration as per the 'troubleshooting' link from the 'Sorry' error message that pops up. |
Thank you @seano10 for validating that. Going back to the error, it seems that something has changed between identity pool and assigned IAM roles. In the post, you have mentioned that it was working before. Do you recall what changes you made before it stopped working? Were there any changes in the trust relationships of roles or modifications to the authentication? |
Hi @abhirpat sorry for the slow reply, no I am not aware of any changes that were made to anything, certainly I made none and no one else has cause to be doing so. It is strange as if I check the identity pools and roles it all looks to be setup correctly. |
Hi @seano10, this error typically occurs when there's a misconfiguration between Amazon Cognito and OpenSearch Dashboards, specifically related to IAM roles. I have tried to deploy few QnABot instances but unable to reproduce. Here's how we can troubleshoot the issue. Please -
Here is the OpenSearch documentation for examples on how to policies can be set Please let me know that resolves issue. Thank you, |
Thanks @abhirpat , assuming I have updated the above correctly (attached) this has had no effect, I still get the 'Sorry' message |
Thanks for testing this @seano10. Could you please confirm if the error message in sorry page is still "Check IAM roles"? Also to confirm, you have tried to Login again in incognito (or clear browser cache ) to ensure it new session? |
Thanks @abhirpat yes, cleared cache but also tried in cognito mode just in case, same error with each, looks like the same error as before: |
Thanks @seano10 . I also deployed in eu-west-2 (your region) in addition to us-east-1 and us-west-2 but it's working on my end. Could you please try updating OpenSearchDashboardsRole > Trust RelationShip > add additional Condition?
Also, please verify the trust relationship has correct information. Here
|
Hi @abhirpat sorry to say that even with the additional condition and having confirmed the trust relationship, still the same error :-( |
Thank you for all your effort, Sean. It seems we will need to set up a troubleshooting session to investigate further. Could you please reach out to AWS support and request them to send your ticket to the QnABot team? Once we have your ticket, we can schedule a meeting to investigate further. |
Describe the bug
I may just be missing something obvious but when I click to go to the Opensearch Dashboards (which was previously working) I get the attached error.
To Reproduce
Can be reproduced every time by clicking on 'Opensearch Dashboards'
Expected behavior
I would expect it opened the Opensearch Dashboards correctly
Please complete the following information about the solution:
Version: 6.1.0
BuildDate: Wed Aug 28 2024 23:00:22 GMT
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
I kind of understand what the error is saying but I am confused as it used to work and nothing external to the solution has changed that I am aware of.
The text was updated successfully, but these errors were encountered: