-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello,
I am carrying on to monitor a run process from WSL2 following up: #81
When testing:
python3 extract_run_statistics.py --host 172.27.80.1 --position xxx
I get:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAUTHENTICATED
details = "No authorisation metadata supplied"
debug_error_string = "UNKNOWN:Error received from peer {grpc_status:16, grpc_message:"No authorisation metadata supplied"}"
>
list_sequencing_positions.py works OK in both 9501 and 9502.
By reading #64 I generated a cert-key pair.
python3 extract_run_statistics.py --host 172.27.80.1 --port 9502 --position xxx --client-cert-chain=/path/to/cert.pem --client-key=/path/to/key.pem
I get the following error:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "failed to connect to all addresses; last error: UNAVAILABLE: ipv4:172.27.80.1:8000: Socket closed" debug_error_string = "UNKNOWN:Error received from peer {grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNAVAILABLE: ipv4:172.27.80.1:8000: Socket closed"}"
If used instead 9501:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNAVAILABLE: ipv4:172.27.80.1:9501: Socket closed"
debug_error_string = "UNKNOWN:Error received from peer {grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNAVAILABLE: ipv4:172.27.80.1:9501: Socket closed"}"
it looks it is not the proper approach?
Should I place these keys somewhere and restart the service? It is unclear for me from the documentation.
As an alternative, I read in main README.md that grpc.ssl_target_name_override could be an option, but I don't know how to use it in a script such as extract_run_statistics.py to 'whitelist' the IP I am pointing: 172.27.80.1
Thanks!
P.D.: guest_rpc_enabled: true is enabled in user_conf