From 113004e1ff1e107c001c7b0e8df3177e54cc8f93 Mon Sep 17 00:00:00 2001 From: Amund Isaksen Date: Tue, 23 Jan 2024 16:32:58 +0100 Subject: [PATCH] Revert to insecure_channel --- api/grpc_getter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/grpc_getter.py b/api/grpc_getter.py index f819cdef..37343d33 100644 --- a/api/grpc_getter.py +++ b/api/grpc_getter.py @@ -9,9 +9,7 @@ async def getObsRequest(get_obs_request): - channel = grpc.aio.secure_channel( - f"{os.getenv('DSHOST', 'localhost')}:{os.getenv('DSPORT', '50050')}", grpc.ssl_channel_credentials() - ) + channel = grpc.aio.insecure_channel(f"{os.getenv('DSHOST', 'localhost')}:{os.getenv('DSPORT', '50050')}") grpc_stub = dstore_grpc.DatastoreStub(channel) response = await grpc_stub.GetObservations(get_obs_request)