mblackstock / node-red-contrib-influxdb

Node-RED nodes to save and query data from an influxdb time series database
Other
64 stars 44 forks source link

Request Timeout Error In InfluxDB in node in nodered #142

Closed Lin-Pyae closed 8 months ago

Lin-Pyae commented 8 months ago

I recognized that requesting to influxdb from nodered with approximately more than 10s long query resulted in RequestTimedOutError: Request timed out.

The problem is that my request to influxb from nodered takes pretty much times. I was wondering is there any other way I can increase timeout or is there any alternative way to wait that query without getting timeout error and get the result from influxdb instead.

mblackstock commented 8 months ago

Did you try increasing the connection timeout?

Lin-Pyae commented 8 months ago

Screenshot from 2024-01-09 10-03-40

I found no timeout increasing option in influxdb in node.

mblackstock commented 8 months ago

It is in Version 0.7.0 and only works for 1.8 and 2.0 versions. The option is in the configuration node where the connection URL is configured. You can set the timeout in seconds. Screen Shot 2024-01-09 at 5 34 17 PM

mblackstock commented 8 months ago

Same as #134. Please re-open that issue if new feature doesn't work for you after testing it.