# Error pulling data from influxdb

**URL:** <https://community.grafana.com/t/error-pulling-data-from-influxdb/63986>\
**Category:** InfluxDB\
**Created:** [April 13, 2022, 7:32pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986 "2022-04-13T19:32:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 13, 2022, 7:32pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/1 "2022-04-13T19:32:22Z")

</div>

Hi Guys,

since I’m searching the web for quite a few hours and found no solution I hope you can help me.  
I’m running grafana and influxdb which gets populated by node-red on raspbian on my RaPi 4.  
The problem is that I’m getting following log entries from grafana and everytime a log is created a random panel on my dashboard in grafana shows “No Data”. After the next refresh the panel shows the correct data again.

Grafana Log: [logger=context t=2022-04-13T21:00:16.85+0200 lvl=info msg="Request Completed" me - Pastebin.com](https://pastebin.com/EfFdwSBS)

Grafana conf: [##################### Grafana Configuration Example ####################### - Pastebin.com](https://pastebin.com/FCFvF38P)

Influx conf: https ://pastebin. com/4rhAsUAM

I hope you can help me.

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [April 14, 2022, 12:20am UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/2 "2022-04-14T00:20:22Z")

</div>

I did not carefully read over all your attachments / links, but I use the same set up of  
NodeRED \>\> InfluxDB \>\> Grafana  
and have no issues and have never had the “No Data” message, other than when there is truly no data in Influx.

Just a few questions…

1. Are you using Stat Panels or Time Series graphs or something else?
2. How often are you populating Influx from NodeRED (e.g. every 10 seconds, once a minute, etc.)?
3. Are you certain that a value is always being sent by NodeRED to Influx?
4. Have you inspected the data in Influx to make sure there are no null values?

---

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 14, 2022, 5:19pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/3 "2022-04-14T17:19:06Z")

</div>

Tank you for your reply.

1. I’m using stat panels and gauges and both are showing this error.
2. I’m writing 10 measurments every 10 second and I’m reading 4 to and from influx.
3. I’m guessing yes because NodeRED is not giving any error message in the debug console
4. This would explain why the gauges are sometimes showing “no data” but for the stat panels i fill all null values so this shouldn’t be a problem there right?

Can you share your grafana and influx configs? MAybe I can find some differences.

Oh and it doesn’t matter on which device grafana is accesing the data from even from localhost the problem still persists.

Could it be a problem that I’m reading from influx with rednode and with grafana?

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [April 14, 2022, 10:07pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/4 "2022-04-14T22:07:06Z")

</div>

@franticoo

Thanks for your answers. In your last sentence above, you wrote that you are reading InfluxDB with Node-RED and with Grafana. In your original post, you stated you were sending data to Influx using Node-RED. Can you clarify how Node-RED is being used?

I am hoping that for the times when you get No Data, you can look directly in your InfluxDB data to see if there are any null values present. If yes, then Grafana is not the problem. If the data is complete and there are no nulls, then we have to figure out why this is happening.

---

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 15, 2022, 4:27pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/5 "2022-04-15T16:27:34Z")

</div>

Basically both NodeRed and Grafana are writing and reading from influx.  
I can write varibles like temperature set point from grafana to influx and rednode is reading that value. But this is triggered manually and wasn’t when the error is happening.  
Of course other values from sensors are writen from node red to influx and are beaing read from grafana.

What is the easiest way to monitor my database to check if there are any null values?

I’m trying now to set up influx and grafana on an vserver. This is something I wanted to do despite the error. I will see maybe this fixes the problem.

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [April 16, 2022, 2:28am UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/6 "2022-04-16T02:28:35Z")

</div>

Which version of Influx are you using? If Influx 2.0 or higher, you can examine the data using Data Explorer, which is usually at http://your\_server\_ip\_address:8086

---

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 16, 2022, 1:00pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/7 "2022-04-16T13:00:52Z")

</div>

I’m using version 1.8. Should i upgrade to influx 2.x?

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [April 16, 2022, 1:17pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/8 "2022-04-16T13:17:08Z")

</div>

I made the jump from 1.8 (InfluxQL) to 2.0 (Flux) about 6 months ago and I did not find the learning curve very hard. Once you get it set up, there are a lot of advantages. I would recommend you upgrade. Just allow some time to get your queries built in the new system.

---

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 16, 2022, 1:23pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/9 "2022-04-16T13:23:38Z")

</div>

I think I try to install 2.0 on my vserver. But I’m still waiting for the provider to activate the server… taking muuuuuch too long 🙂

---

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 19, 2022, 8:45pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/10 "2022-04-19T20:45:27Z")

</div>

Short update:  
Finally they activated my server and I installed influx 2.0 and grafana and now the error is gone.  
I don’t now why but I maybe it was the update to influx 2.0  
Anyways thank you grant for your help 🙂

---

<div class="post-metadata">

**Author:** ![grant2](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/grant2/32/42281_2.png) [@grant2](https://community.grafana.com/u/grant2)\
**Post date:** [April 19, 2022, 8:57pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/11 "2022-04-19T20:57:44Z")

</div>

Awesome! Remember you can inspect & explore your Influx data at:

`http://your_server_ip_address:8086`

---

<div class="post-metadata">

**Author:** ![franticoo](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@franticoo](https://community.grafana.com/u/franticoo)\
**Post date:** [April 19, 2022, 8:58pm UTC](https://community.grafana.com/t/error-pulling-data-from-influxdb/63986/12 "2022-04-19T20:58:28Z")

</div>

yes I already did but this is a bit overwhelming for today XD I will look into it tomorrow i guess ^^
