Plugin - InfluxDB 2- RequestTimedOutError: Request timed out
-
Hi, I don't know from which MSR version I have this error in the log:
[latest-22080]2022-03-27T14:24:44.195Z <wsapi:INFO> wsapi: connection from ::ffff:172.18.0.1 [latest-22080]2022-03-27T14:24:44.569Z <NotifyPushover:5:NotifyPushover.js:239> [NotifyPushover]NotifyPushover successful endpoint exchange (message sent) [latest-22080]2022-03-27T14:24:48.793Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:48.832Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:48.863Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:48.893Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:48.924Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:48.967Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:49.000Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:49.027Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:49.060Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:49.093Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:49.271Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out [latest-22080]2022-03-27T14:24:49.727Z <InfluxFeed:ERR> [InfluxFeed]InfluxFeed#influx write failed (data lost): [b]RequestTimedOutError: Request timed out
MSR is running in synology docker with the latest-22080-ae7212f
I can access to influxdb 2 like before with no changes on bucket and token.my setup in yaml is:
plugins: - id: influx name: InfluxDB 2.0 Feed enabled: true implementation: InfluxFeed config: influx_url: "http://10.0.4.71:8086" influx_token: XKKoCcQHVDF8p7-RkNQXLkJhe6neB48V7sNAG39HX4bOTcDA0Bv4B2SVtaUfHb_rdvVvUpbDDbaNEBeS1ISacQ== influx_org: myhome influx_bucket: test
I use influx_url and before it worked.
from portainer log, I see:
WARN: Write to InfluxDB failed (attempt: 1). b [RequestTimedOutError]: Request timed out at ClientRequest.<anonymous> (/opt/reactor/node_modules/@influxdata/influxdb-client/dist/index.js:16:4115) at ClientRequest.emit (node:events:520:28) at ClientRequest.emit (node:domain:475:12) at Socket.emitRequestTimeout (node:_http_client:758:9) at Object.onceWrapper (node:events:639:28) at Socket.emit (node:events:532:35) at Socket.emit (node:domain:475:12) at Socket._onTimeout (node:net:501:8) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)
any advice to resolve this error?
Thanks in advance
-
That error means that the Influx client library used by InfluxFeed is unable to connect to your InfluxDB server and service.
You are sort of indicating that you changed something. It would be good to know what. If you've been shuffling containers around, or recreated/upgraded any containers, you've likely not gotten the network setup right for one or both containers and they can't see each other, or at least, the Reactor container cannot access the InfluxDB container.
-
T toggledbits locked this topic on