Image 1: initially all the data shows on the dashboard (12/08/2022 12:54)
Image 2: after a while, all widgets crash (within minutes) (12/08/2022 12:55)
Hi folks,
Here is some background about my setup:
- There is an MQTT network sending IoT data to a raspberry Pi
- raspberry pi runs a python script to upload data to influxdb (in real time)
- currently uploading data every 3s
- each upload is a list of lines, each line being measurement/tag_set/field_set/timestamp format
- upload method is by using python paho mqtt, and line protocol
Essentially, this setup now works, data is at the database, and it is being visualized in a dashboard. However, when refreshing the dashboard at a quick rate (e.g. refreshing every 1 second), it works for 5 minutes and then shows these errors. When I go inside a widget, I cannot submit a new query and cannot see any raw data anymore… It’s like a timerangestart and timerangestop data goes missing…
The dashboard works once again after the page is refreshed. So I am really confused on why that happens, what caused it, and how to fix it. I found only one similar error on this forum, but the one I am currently facing is time - based! This issue only occurs after a few minutes of working successfully!
Note: I now realize that refreshing every 1s gives this error in a couple of minutes, refreshing every 5s gives the error within ~20 minutes, refreshing every 10s gives the error within less than an hour… It’s almost as if some limit is reached, and refreshing the page is the fix. An odd problem!
Any help would be much appreciated!
Thanks
-Matas