diff --git a/kuksa-client/kuksa_client/__main__.py b/kuksa-client/kuksa_client/__main__.py index 2d3cd192..07b22982 100755 --- a/kuksa-client/kuksa_client/__main__.py +++ b/kuksa-client/kuksa_client/__main__.py @@ -520,6 +520,7 @@ def connect(self): config["protocol"] = "grpc" elif srv.scheme in ["ws", "wss"]: config["protocol"] = "ws" + config["port"] = 8090 else: print(f"Invalid server URI. Unsupported protocol: {srv.scheme} ") return @@ -538,7 +539,7 @@ def connect(self): # Explain were we are connecting to: print(f"Connecting to VSS server at {config['ip']} port {config['port']} \ - using {'KUKSA GRPC' if config['protocol'] == 'grpc' else ' VISS' } protocol.") +using {'KUKSA GRPC' if config['protocol'] == 'grpc' else 'VISS' } protocol.") print(f"TLS will {'not be' if config['insecure'] else 'be'} used.") # Configs should only be added if they actually have a value