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 HTTPS support #24

Open
pehon opened this issue Aug 11, 2022 · 0 comments
Open

InfluxDB HTTPS support #24

pehon opened this issue Aug 11, 2022 · 0 comments

Comments

@pehon
Copy link

pehon commented Aug 11, 2022

Hello!
It looks like InfluxDB is only supported with HTTP. Please add HTTPS support.

2022/08/11 20:46:44 Exception in InfluxDBProcessor: ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))
Traceback (most recent call last):
  File "/usr/local/bin/btmon.py", line 2247, in process
    p.process_compiled(self.packet_collector.packet_buffer)
  File "/usr/local/bin/btmon.py", line 2836, in process_compiled
    self.process_calculated(packets)
  File "/usr/local/bin/btmon.py", line 4304, in process_calculated
    client.write_points(series, tags=self.tags)
  File "/usr/lib/python2.7/dist-packages/influxdb/client.py", line 490, in write_points
    tags=tags, protocol=protocol)
  File "/usr/lib/python2.7/dist-packages/influxdb/client.py", line 551, in _write_points
    protocol=protocol
  File "/usr/lib/python2.7/dist-packages/influxdb/client.py", line 327, in write
    headers=headers
  File "/usr/lib/python2.7/dist-packages/influxdb/client.py", line 267, in request
    timeout=self._timeout
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 686, in send
    r.content
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 828, in content
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 753, in generate
    raise ChunkedEncodingError(e)
ChunkedEncodingError: ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))

Thanks,
Peter

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

1 participant