-
Notifications
You must be signed in to change notification settings - Fork 3
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
To Do #1
Comments
Possible to allow non https server connection? I plan to use tailscale vpn to connect my machines - largely to keep networking simple over various mobile and marina connections - and also so i dont forget to renew certs etc! So being able to connect to a non-SSL Influxdb instance ( self hosted ) is important to me. Update: Ive bodged this by editing /home/pi/.signalk/node_modules/influxdb-v2/src/index.js Would be great if you could add the protocol/port to be specified in the plugin config. |
I will try to update this during the week, I will make a drop down box in the plugin config to select the protocol. |
I am having a difficulity with the protocol too. I want to connect to "http://domain.xyz:8086" (a self hosted influxdb instance) but the connection fails and logs the connect attempt to "https://http//domain.xyz:8086:443/api/v2/write?org=xx&bucket=xx&precision=ms failed, reason: getaddrinfo ENOTFOUND http http:443" could you read the URL as entered in the field with the http or https ? |
I am currently re writing this plugin to utilize the influxdata js library which should address most of the issues the plugin currently has. |
The issue still persist. The influxdata js library force the protocol (https) and the port (403), https://www.npmjs.com/package/influxdb-v2
|
The Plugin is now updated to use the the @influx-client-js library and should allow use of different protocol |
Hello, I want to send the SignalK data to http://192.168.1.10:8086 But it doesn't work. Is this fixed? or still need to rewrite the code to accept PROTOCOL://IP:PORT? Kind regards. |
Is your InfluxData v2? I have not tested with a local DB only influx cloud |
Hello, Yes, I put "http://192.168.1.10:8086" in the "Influxdb2.0 Host URL" parameter. The server has this version: InfluxDB 2.1.1 There is no any data in the Influxdb bucket, and there is no any log in the SignalK log. Thanks for your help. |
Hi Phil can I add two items please (and apologies I ran out of time to take a look at these today):
|
The text was updated successfully, but these errors were encountered: