Skip to content

Commit

Permalink
Revert to insecure_channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-1000 committed Jan 23, 2024
1 parent a354752 commit 113004e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/grpc_getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 113004e

Please sign in to comment.