SK
Signal K2mo ago
Bram

Bram - The signalk-to-influxdb2 plugin returns ...

The signalk-to-influxdb2 plugin returns - No organization named "MyName" found. I had it working, first i thought it needed the Org ID (i added an issue/suggestion: https://github.com/tkurki/signalk-to-influxdb2/issues/89), but i guess it is not needed. But now i also doesn't accept the ID anymore. Any clue what could be causing this? Already rebooted the server several times. Thx
9 Replies
Bram
BramOP2mo ago
On the Dashboard Status page is says: Connecting http://127.0.0.1:8086 in green. The log shows multiple entries, with the name MyName and with the ID. Although i already deleted the ID.
Teppo Kurki
Teppo Kurki2mo ago
There have not been any changes to the plugin lately, so i am pretty surprised to hear about this - for the first time. What version of influx do you have?
Bram
BramOP2mo ago
v2, latest (although i can't check the exact version right now, will do so later), just installed it last week. I will throw that bucket away, generate a new key and will try again.
Teppo Kurki
Teppo Kurki2mo ago
I don't think i've ever used / needed to use bucket id in configuring the plugin. for development i've used the docker compose and configured the plugin with the same bucket name
GitHub
signalk-to-influxdb2/docker-compose.yml at main · tkurki/signalk-t...
Contribute to tkurki/signalk-to-influxdb2 development by creating an account on GitHub.
Teppo Kurki
Teppo Kurki2mo ago
same thing for organisation
Bram
BramOP2mo ago
Here's the version i'm running now: InfluxDB v2.7.11 (git: fbf5d4ab5e) build_date: 2024-12-02T17:48:08Z Did a quick removal of bucket and recreated an organisation and bucket, but still keeps throwing this messages. Though yesterday at some point it was working... Will have to take a deeper look this evening. I prefered not using docker, just native install. Omg... it is a permission issue. I created an API key that had read/write on the bucket, but apparently it needs other permission as well. The admin API key worked. And i must have inserted that yesterday, right at the same time when i changed the organisation id, that's why it worked for a short moment. I will close the issue on github. I do see one other repeating error in the log regarding influxdb
Jun 26 17:38:03 WARN: Write to InfluxDB failed (attempt: 1). t [RequestTimedOutError]: Request timed out at ClientRequest.<anonymous> (/home/pi/.signalk/node_modules/@influxdata/influxdb-client/src/impl/node/NodeHttpTransport.ts:432:23) at ClientRequest.emit (node:events:518:28) at Socket.emitRequestTimeout (node:_http_client:863:9) at Object.onceWrapper (node:events:632:28) at Socket.emit (node:events:530:35) at Socket._onTimeout (node:net:609:8) at listOnTimeout (node:internal/timers:588:17) at process.processTimers (node:internal/timers:523:7)
Jun 26 17:38:03 WARN: Write to InfluxDB failed (attempt: 1). t [RequestTimedOutError]: Request timed out at ClientRequest.<anonymous> (/home/pi/.signalk/node_modules/@influxdata/influxdb-client/src/impl/node/NodeHttpTransport.ts:432:23) at ClientRequest.emit (node:events:518:28) at Socket.emitRequestTimeout (node:_http_client:863:9) at Object.onceWrapper (node:events:632:28) at Socket.emit (node:events:530:35) at Socket._onTimeout (node:net:609:8) at listOnTimeout (node:internal/timers:588:17) at process.processTimers (node:internal/timers:523:7)
The data is stored, so not sure why it returns this. Any thoughts on replication between influxdb onboard and an instance at home? VPN is setup and working, but I guess i would like to have a more frequent data locally, and only once a minute or so send some of the data home, just to not flood the 4G connection. And that should also work with intermittent network connectivity. Not sure if the influx replication process is meant for that.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Teppo Kurki
Teppo Kurki2mo ago
Your influxdb is not running or the ip address port combination is wrong
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?