-
Notifications
You must be signed in to change notification settings - Fork 22
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
Grafana - Cannot read properties of undefined (reading 'digest') #282
Comments
Hi @skycannavod ! I haven’t been able to reproduce the issue yet, but I have a few questions:
|
grafana gives me the error: "Cannot read properties of undefined (reading 'digest')", if I try to execute the query on "Query Inspector" it remains in a loop as regards the auth we use the SigV4 auth AWS SDK Default, once the auth and the index pattern have been set, it takes everything correctly, but when I try to view the data on the dashboard it gives me the error explained above |
Hi @skycannavod ! I took another look at this, and the crypto interface that we're using to generate the SigV4 signatures requires that it's run in a secure context. Are you running Grafana in a secure context? |
Hi @skycannavod I have set up the following locally according to your notes:
Finally, the fact that you have this "wrong" ElasticSearch 7.10.2 version sounds like this issue so maybe you have compatibility mode on. I also created a datasource with compatibility enabled which gives me a similar version in the OpenSearch plugin. I went to the Dashboard as in your gif and was unable to reproduce your issue. Here's what I have set up, can you let me know if it's the same as your setup? Also let me know if any of the above differs from your setup. |
Hi, yes the configuration is the same, with compatibility mode on |
Thanks for the info. I spoke to @sarahzinger about this, and looping back to It may be that our refactor which is still in progress will resolve this issue for you because it will no longer depend on your browser's context security. This work is done for some queries and not for others. As a test, would you be able to run a "Raw Data" query and tell us if you still observe the error? |
with Raw Data i see the data! |
Thanks for checking that! Once this refactor is done, you should be able to see data with your current setup. Right now you need to either run Grafana locally or run it somewhere with |
Hi @skycannavod can you confirm that this is fixed in the latest version of the plugin? Thanks! |
Hi @idastambuk, i confirm that it works |
What happened: hi, we are trying to view the metrics of the opensearch version on grafana using the opensearch datasource, but the following error is returned once the dashboard is created: Cannot read properties of undefined (reading 'digest')
What you expected to happen: we expect the data to appear
How to reproduce it (as minimally and precisely as possible): have grafana version 10.1.2, opensearch version 2.9 (Service software version: OpenSearch_2_9_R20230926), OpenSearch plugin version 2.13.0 and try to make a dashboard with opensearch datasource
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: