diff --git a/MotorControl/MotorServer.py b/MotorControl/MotorServer.py index 9205a55..aa7e304 100755 --- a/MotorControl/MotorServer.py +++ b/MotorControl/MotorServer.py @@ -57,7 +57,9 @@ class MotorServicer(motorService_pb2_grpc.CarControlServicer): def start_server(self): server = grpc.server(futures.ThreadPoolExecutor(max_workers=8)) motorService_pb2_grpc.add_CarControlServicer_to_server(self, server) - server.add_secure_port('[::]:50051', self.create_credentials()) + # Disable security for local testing. + # server.add_secure_port('[::]:50051', self.create_credentials()) + server.add_insecure_port('[::]:50051') server.start() while True: time.sleep(60*60)