moxious / triage

testing triage actions for issues
0 stars 1 forks source link

Plugins: ElasticSearch Plugin fails to load (ChunkLoadError) #173

Open tonypowa opened 8 months ago

tonypowa commented 8 months ago

What happened?

Upon creating a new dashboard or visiting an existing dashboard and attempting to view or set an ElasticSearch datasource (ElasticSearch v7.10+) as a panel source, Grafana reports the following error:

ChunkLoadError: Loading chunk 9897 failed. (missing: https://grafana.domain.obscured/grafana/public/build/elasticsearchPlugin.5bb6e2e766d541747a9d.js)

This occurs when for any Elastic datasource. Visiting one such datasource configuration page, then returning to attempt to make the panel seems to resolve this loading error, but the error can be consistently reproduced in a new session.

I suspect that this issue is related to issue #21733, resolved by PR #21677.

What did you expect to happen?

ElasticSearch datasource to load into panel.

Did this work before?

Unknown when this issue started occurring. Other dashboards using ES datasources have been created for years, without issue in the past. Grafana v 9.2.0 has been in use for some time now.

How do we reproduce it?

  1. View any Elasticsearch datasource first thing after starting a new session

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: 9.2.0

OS: RHEL 7 (Grafana server), MacOS (browser/client)

Browser: Firefox, Chrome

Grafana platform?

A package manager (APT, YUM, BREW, etc.)

Datasource(s)?

ElasticSearch 5.0.0

tonypowa commented 8 months ago

This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#78927

moxious commented 8 months ago

@support-agent Do we have similiar issues already?

grafana-support-agent[bot] commented 8 months ago

It looks like the issue you're encountering, where the ElasticSearch plugin fails to load with a ChunkLoadError, is known and has been documented. There is an existing issue on the Grafana GitHub repository that addresses this problem. The developers of Grafana are usually responsive to such issues, so I recommend checking the issue for any workarounds provided by the community or updates from the developers. Additionally, you can contribute to the issue by adding any new findings that might help resolve it.

moxious commented 8 months ago

Triage summary: Users encounter a 'ChunkLoadError' when loading an ElasticSearch datasource in Grafana 9.2.0, which seems to be resolved temporarily by visiting the datasource configuration page. The issue is reproducible in new sessions and might be linked to a previously resolved issue (#21733). Further investigation is required to determine the cause and a permanent fix.

Recommended labels:

area/plugins datasource/Elasticsearch type/regression needs investigation

moxious commented 8 months ago

Thank you for reporting the issue with the ElasticSearch Plugin, @tonypowa. Based on the details provided, I am transferring this issue to the Plugins Platform project as it is the most relevant team equipped to handle plugin-related problems including loading errors. They can give you more precise guidance or escalate the bug accordingly.

moxious commented 8 months ago

Elaboration:

Hi @tonypowa,

Thank you for bringing this issue to our attention. It seems like you're encountering a ChunkLoadError when attempting to use an ElasticSearch datasource in Grafana. To better assist you and resolve this issue more efficiently, could you please provide us with some additional information?

Once we have this additional information, we'll be in a much better position to understand the cause and find a resolution.

Looking forward to your response!

tonypowa commented 8 months ago

great elaboration points