lilpunkrocket
07/01/2024, 1:04 PMgrpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.74.26:50051: Ssl handshake failed: SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
Golang logs:```
rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: first record does not look like a TLS handshake"
```vroldanbet
07/01/2024, 1:13 PMgrpcutil.WithInsecureBearerToken(presharedSecureKey),
grpc.WithTransportCredentials(insecure.NewCredentials()))
lilpunkrocket
07/01/2024, 1:19 PMvroldanbet
07/01/2024, 1:24 PMclient = Client(
"localhost:50051",
insecure_bearer_token_credentials("presharedkey"),
)
Please note that if you are connecting without TLS to anything that is not localhost, there is a limitation in python gRPC, we are tracking the issue here: https://github.com/authzed/authzed-py/issues/89lilpunkrocket
07/01/2024, 1:27 PM