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

InfluxDB v2 works only with http not https #2764

Closed
cuthulino opened this issue Dec 25, 2023 · 1 comment
Closed

InfluxDB v2 works only with http not https #2764

cuthulino opened this issue Dec 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cuthulino
Copy link

The Problem

Using Influxdb v2 with a https Uri seems not working.

With the same config only changing the Uri from
http://<IP>:8086 to https://influx.domain.de
the one with http is working, the one with https is not working.
Manually querying the API with https://influx.domain.de/api/v2/..... works from my browser.
Because of this I think it is a bug.

Version

15.4.0

Logfile

[0d00h15m16s] 2023-12-25T14:05:49 <INF> [MAINCTRL] Round #4 started
[0d00h16m02s] 2023-12-25T14:06:35 <INF> [POSTPROC] main: Raw: 00184741.3, Value: 184741.3, Status: no error
[0d00h16m02s] 2023-12-25T14:06:35 <INF> [INFLUXDB] sending line to influxdb:water consumed=184741.3 1703509559000000000
[0d00h16m02s] 2023-12-25T14:06:35 <INF> [INFLUXDB] API URI: https://influx.domain.de/api/v2/write?org=org&bucket=watermeter
[0d00h16m02s] 2023-12-25T14:06:35 <INF> [MAINCTRL] Round #4 completed (46 seconds)



[0d00h00m13s] 2023-12-25T14:11:36 <INF> [MAINCTRL] Round #1 started
[0d00h01m00s] 2023-12-25T14:12:22 <INF> [POSTPROC] main: Raw: 00184741.3, Value: 184741.3, Status: no error
[0d00h01m00s] 2023-12-25T14:12:22 <INF> [INFLUXDB] sending line to influxdb:water consumed=184741.3 1703509905000000000
[0d00h01m00s] 2023-12-25T14:12:22 <INF> [INFLUXDB] API URI: http://<IP>:8086/api/v2/write?org=org&bucket=watermeter
[0d00h01m00s] 2023-12-25T14:12:22 <INF> [MAINCTRL] Round #1 completed (47 seconds)

Expected Behavior

Should work with both (http and https)

Screenshots

No response

Additional Context

No response

@cuthulino cuthulino added the bug Something isn't working label Dec 25, 2023
@jomjol
Copy link
Owner

jomjol commented Dec 26, 2023

This is not a bug. The https support is generally not implemented in the web server on the device.
It is not planned to do so for this free version.

@jomjol jomjol closed this as completed Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants