influxdb plugin - first attempts

I've setup an influxdb and have both a password and an API token - the API token seems to work fine when using the influx CLI. However, the plugin requires quite a number of parameters to be set, and none of them have defaults, so I'm not sure which are the critical ones (and I've no idea what to use for most of them). In my server logs, I get the following message: Aug 23 02:08:03 TypeError: Cannot read properties of undefined (reading 'filter') at Object.json (/data/conf/signalk/node_modules/signalk-to-influxdb2/dist/HistoryAPI.js:383:45) at /data/conf/signalk/node_modules/signalk-to-influxdb2/dist/HistoryAPI.js:166:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Would anyone have any tips on what this might mean? Thanks! greg
2 Replies
Greg Johnson
Greg Johnson4w ago
Oops, I'd missed the NPM help. It seems most of the parameters don't need setting at all. I generated a new API token and put that in, and it seems better - except that the error has changed to Aug 23 02:17:23 WARN: Write to InfluxDB failed (attempt: 1). Error: getaddrinfo EAI_AGAIN <myhost>.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) { errno: -3001, code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: '<myhost>.com' } Is that a DNS problem? I'm not sure what tools I have to be able to diagnose DNS issues (on a Victron Ekrano) but maybe I'll try just the IP instead
Teppo Kurki
Teppo Kurki4w ago
You have something strange entered in influxdb url paramater - <myhost>.com ?
Want results from more Discord servers?
Add your server