# Influxdb node & internal server errors

**URL:** <https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847>\
**Category:** General\
**Created:** [1 March 2021 19:42 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847 "2021-03-01T19:42:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcostrullato](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcostrullato/32/38064_2.png) [@marcostrullato](https://discourse.nodered.org/u/marcostrullato)\
**Post date:** [1 March 2021 19:42 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/1 "2021-03-01T19:42:39Z")

</div>

Hi all,

I have flow that is receiving data from mqtt, converting such data to a json, and storing it into influxdb.

Nodered is the latest available for raspbian buster, influxdb connector ([this](https://flows.nodered.org/node/node-red-contrib-influxdb)) is of type "out", and influx is v1.8.4, listening on localhost without password and without encryption.

Unfortunately saving data to influxdb, is not working: I keep getting internal server error as response. Logs of influxdb are showing the same message reported in node-red.

Influxdb however is working well together with my Grafana.

**Do you have any suggestion on how to solve the issue?**

Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 March 2021 20:21 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/2 "2021-03-01T20:21:23Z")

</div>

Welcome to the forum @marcostrullato.

Can you paste the relevant output from the influxdb log please?  
Are you able to read data from influx using node-red?  
If you use the influx command line are you able to read and write?  
Please show us how you have configured the influx server in node-red

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [1 March 2021 21:48 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/3 "2021-03-01T21:48:44Z")

</div>

Maybe a stupid question, but did you used V1.x in the influxdb connector?  
V1.8-flux is not the correct connector for V1.8.x what I understand.  
[https://docs.influxdata.com/influxdb/v1.8/flux/flux-vs-influxql/](https://docs.influxdata.com/influxdb/v1.8/flux/flux-vs-influxql/)

 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/4/948262e0095b3a810f0e2c85011b6ad89eabcddd.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 March 2021 21:59 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/4 "2021-03-01T21:59:26Z")

</div>

> [@edje11](#):
>
> V1.8-flux is not the correct connector for V1.8.x

It may be, it depends on whether one wants to use the Flux query language. Neither should give internal server errors however.

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [1 March 2021 22:07 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/5 "2021-03-01T22:07:02Z")

</div>

I think if you use an V1.8-flux connector with influxql query instead a flux query you will get an (server) error.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [2 March 2021 10:27 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/6 "2021-03-02T10:27:31Z")

</div>

I have just tried that and with a Select statement I get  
HttpError: 403 Forbidden : Flux query service disabled. Verify flux-enabled=true in the [http] section of the InfluxDB config.

If I try to write using a flux config then it accepts it without error, but it doesn't appear to work. Unless I am looking in the wrong place for it.

---

<div class="post-metadata">

**Author:** ![marcostrullato](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcostrullato/32/38064_2.png) [@marcostrullato](https://discourse.nodered.org/u/marcostrullato)\
**Post date:** [3 March 2021 12:43 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/7 "2021-03-03T12:43:03Z")

</div>

hi all,

thanks for the feedback: after some digging it seems the issue is due influx, and it's a timeout.  
I will follow up in the influxdb forum.

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 May 2021 12:43 UTC](https://discourse.nodered.org/t/influxdb-node-internal-server-errors/41847/8 "2021-05-02T12:43:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
