From 79151695f87c12365783afe779fd6d240b5b0eaf Mon Sep 17 00:00:00 2001 From: marcsello Date: Fri, 29 May 2020 18:29:02 +0200 Subject: [PATCH] no ssl for you --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index eac7a5c..1f30975 100644 --- a/src/app.py +++ b/src/app.py @@ -40,7 +40,7 @@ async def on_message(message: IncomingMessage): 'fields': {'probability': msg_json['probability']} } async with InfluxDBClient(username=config.INFLUXDB_USERNAME, password=config.INFLUXDB_PASSWORD, - host=config.INFLUXDB_HOST, port=config.INFLUXDB_PORT) as client: + host=config.INFLUXDB_HOST, port=config.INFLUXDB_PORT, ssl=False) as client: await client.create_database(db=config.INFLUXDB_DB) await client.write(point)