# Failed to query data EOF when using alerting for my datasource with backend

**URL:** <https://community.grafana.com/t/failed-to-query-data-eof-when-using-alerting-for-my-datasource-with-backend/84191>\
**Category:** Alerting\
**Tags:** datasource, plugins, alerting\
**Created:** [March 21, 2023, 4:54am UTC](https://community.grafana.com/t/failed-to-query-data-eof-when-using-alerting-for-my-datasource-with-backend/84191 "2023-03-21T04:54:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lingyufei](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@lingyufei](https://community.grafana.com/u/lingyufei)\
**Post date:** [March 21, 2023, 4:54am UTC](https://community.grafana.com/t/failed-to-query-data-eof-when-using-alerting-for-my-datasource-with-backend/84191/1 "2023-03-21T04:54:02Z")

</div>

I meet some problems when using alerting for my datasource with backend.  
When clicking “preview” button in “create rule”, I will reveive the following error:

Failed to evaluate queries and expressions: [plugin.downstreamError] failed to query data: Failed to query data: rpc error: code = Unavailable desc = error reading from server: EOF

I have enabled “alerting” in “plugin.json”, and followed the instruction of alerting in Grafana doc.  
This dataource can be normally used in Grafana Panel. Only exception in Grafana Alerting.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/a/b/ab2fd20355d98e83429b319dcb92ffc72080450c.png)  
 ![image](https://us1.discourse-cdn.com/grafana/original/3X/6/4/644209c96024b512ffa00763b2e1411cc1334040.png)  
 ![image](https://us1.discourse-cdn.com/grafana/original/3X/e/b/eba54834cbdb9ecd4d6f044baccd52a3e2b491af.png)  
 ![image](https://us1.discourse-cdn.com/grafana/original/3X/0/8/0873081b5abfcecc16a5fac9f643a80acd209447.png)

---

<div class="post-metadata">

**Author:** ![lexpec](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/lexpec/32/57094_2.png) [@lexpec](https://community.grafana.com/u/lexpec)\
**Post date:** [November 8, 2023, 12:10pm UTC](https://community.grafana.com/t/failed-to-query-data-eof-when-using-alerting-for-my-datasource-with-backend/84191/2 "2023-11-08T12:10:27Z")

</div>

Same for ClickHouse datasource plugin 😢
