Comments (3)
An ugly workaround, but which fixes my issue at least, is the following code change in the directory /opt/iobroker/iobroker-data/node-red/node_modules
of my iobroker installation.
However I think it needs to be reapplied every time iobroker/node-red is updated and the module is reinstalled
--- node-red-contrib-influxdb/influxdb.js.orig 2023-05-07 21:49:45.571852400 +0200
+++ node-red-contrib-influxdb/influxdb.js 2023-05-07 22:03:18.672948454 +0200
@@ -58,9 +58,11 @@ module.exports = function (RED) {
`${this.credentials.username}:${this.credentials.password}` :
this.credentials.token;
+ //2023-05-07: mt-mrx: Increase default query timeout from 10s to 60s
clientOptions = {
url: n.url,
rejectUnauthorized: n.rejectUnauthorized,
+ timeout: 60000,
token
}
this.client = new InfluxDB(clientOptions);
from node-red-contrib-influxdb.
added a configuration property for 1.8 and 2.x versions in version 0.7.0
from node-red-contrib-influxdb.
Thanks, just tested it, works fine!
from node-red-contrib-influxdb.
Related Issues (20)
- influxdb in node time precision has no effect HOT 2
- InfluxDB out Node RequestTimedOutError on InfluxDB 2 online HOT 9
- version 2.0 connection is dropping tags, if tagvalue is 0 HOT 1
- msg.hasOwnProperty('measurement') returns undefined using examples
- Add license?
- Specifying retention policy in function node HOT 1
- InfluxDB 2.0 Cloud error 'statusCode: 405, Method Not Allowed'
- Using import timezone in external (nodered) query
- [InfluxDB v2.x] Unable to set custom TLS config like with InfluxDB v1.x
- Feature request: Cache data if database unavailable HOT 3
- Dynamic measurement names HOT 1
- Problem when storing time HOT 1
- request for InfluxQl style querys in InluxDB2 HOT 2
- Freature request: Load api-token automatically on provisioning of NodeRed flow. HOT 2
- Does not function in subflow passing the db via subflow properties HOT 6
- Request Timeout Error In InfluxDB in node in nodered HOT 4
- Bug: Log is flooded with RequestTimedOutErrors HOT 8
- Can't get "time" to work HOT 1
- Spam of dns requests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-influxdb.