Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Venus OS - signal k to influxdb2 #69

Open
dahlei opened this issue Oct 21, 2023 · 5 comments
Open

Venus OS - signal k to influxdb2 #69

dahlei opened this issue Oct 21, 2023 · 5 comments

Comments

@dahlei
Copy link

dahlei commented Oct 21, 2023

I have Venus OS with the signal k to influxdb 2. I have created bucket and api tokes, but no data is getting through?

Server log:
Oct 21 17:45:52 x [RequestTimedOutError]: Request timed out at ClientRequest. (/data/conf/signalk/node_modules/@influxdata/influxdb-client/dist/index.js:5:6447) at ClientRequest.emit (node:events:517:28) at Socket.emitRequestTimeout (node:_http_client:847:9) at Object.onceWrapper (node:events:631:28) at Socket.emit (node:events:529:35) at Socket._onTimeout (node:net:598:8) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)

@tkurki
Copy link
Owner

tkurki commented Oct 21, 2023

Your url is probably wrong, the plugin’s write requests are timing out.

@dahlei
Copy link
Author

dahlei commented Oct 22, 2023

Yes that maybe, what should it be?
http://localhost:8086
http://venus.local:3000
http://venus.local:8086

@dahlei
Copy link
Author

dahlei commented Oct 22, 2023

With http://venus.local:8086 I get different error in server log:

Oct 22 09:19:19 Error: connect ECONNREFUSED 192.168.81.116:8086 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.81.116', port: 8086 }

@dahlei
Copy link
Author

dahlei commented Oct 22, 2023

With http://venus.local:3000 I get this message:

Oct 22 09:56:17 m [HttpError]: 404 Not Found : <title>Error</title>

Cannot GET /api/v2/orgs
at IncomingMessage. (/data/conf/signalk/node_modules/@influxdata/influxdb-client/dist/index.js:5:5671) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1368:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { statusCode: 404, statusMessage: 'Not Found', body: '\n' + '\n' + '\n' + '\n' + '<title>Error</title>\n' + '\n' + '\n' + '
Cannot GET /api/v2/orgs
\n' + '\n' + '\n', contentType: 'text/html; charset=utf-8', _retryAfter: 0 }

@dahlei
Copy link
Author

dahlei commented Oct 22, 2023

I only have the "signalk - to influxdb2" plugin running on Venus OS large, the influxdb online has this url: https://eu-central-1-1.aws.cloud2.influxdata.com/

Tried entering this as the url with no luck.

Is this even possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants