Hi all,
I am trying to reverse proxy an InfluxDB for Telegraf agents to connect to. When directing the Telegraf agents directly to the InfluxDB url (<ip>:8086) everything works as intended. When I put Openlitespeed inbetween as a reverse proxy I get this error back in the Telegraf agent:
I tried both http and https, same result.
When sniffing the traffic I can see the agent start with a GET request with a defined content length - this is accepted by the InfluxDB webserver:
All the next requests use chunked encoding and then the error appears as described above.
Can you help me figuring out what's going wrong here?
Thanks!
I am trying to reverse proxy an InfluxDB for Telegraf agents to connect to. When directing the Telegraf agents directly to the InfluxDB url (<ip>:8086) everything works as intended. When I put Openlitespeed inbetween as a reverse proxy I get this error back in the Telegraf agent:
Code:
2020-07-06T09:30:20Z E! [outputs.influxdb] When writing to [http://<REDACTED>]: 400 Bad Request: invalid byte in chunk length
When sniffing the traffic I can see the agent start with a GET request with a defined content length - this is accepted by the InfluxDB webserver:
Code:
User-Agent: Telegraf/1.14.5
Content-Length: 32
Authorization: Basic aW5mbHV4OmxhYXRtZWZsdXhlbg==
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
Can you help me figuring out what's going wrong here?
Thanks!