Page 1 of 1

Influxdb https

Posted: Tuesday 03 March 2020 23:27
by chatainsim
Hello,
I've setuped a Influxdb with docker and nginx in front.
I try to send data from Domoticz to Influxdb but it seems that https is not supported ?

Here is my setup:
remote address: influx.myserver.fr
port: 443
path:
database: domoticz
username: admin
password: password

Domoticz error: 2020-03-03 23:17:00.299 Error: InfluxLink: Error sending data to InfluxDB server! (check address/port/database/username/password)

If someone can help me with this.
BTW, it's working with Home Assistant, they have an ssl option.
Thanks

Re: Influxdb https

Posted: Sunday 29 August 2021 11:35
by roblom
Hi,

I know it's a while ago but I have the same problem so I was interested in if you solved it.

Re: Influxdb https

Posted: Sunday 29 August 2021 11:44
by chatainsim
I have forget this option.
Got some servers for my home lab and got influxdb running locally.
So no Https/ssl need. Sorry.

Re: Influxdb https

Posted: Sunday 29 August 2021 11:53
by roblom
I have it also running locally. It did work but without I didn't change anything it stopped working and throws this error.

Re: Influxdb https

Posted: Sunday 29 August 2021 13:01
by waltervl
Is your influxdb V1 or V2? For V2 you need Domoticz beta
https://www.domoticz.com/wiki/Influxdb

Re: Influxdb https

Posted: Sunday 29 August 2021 13:05
by roblom
I have V2 with the latest Domoticz beta.

Re: Influxdb https

Posted: Sunday 29 August 2021 14:10
by roblom
Correction, I did an assumption but I was wrong. I have version 1.8.9 running. Could this be the problem?
And if I try "influxd upgrade" I get
unknown command "upgrade" Run 'influxd help' for usage

Does anyone know a good update instruction?

Re: Influxdb https

Posted: Sunday 29 August 2021 16:45
by waltervl
Running V1 is still ok but you have to set the API V2 switch in hardware to off.
I have no influxdb so cannot help further.

Re: Influxdb https

Posted: Sunday 29 August 2021 19:01
by roblom
On or off does not make any difference. Thanks for your tips anyway.