-
Connection Failure: quickstart.py unable to establish connection with all addresses
Hey mates,
So, I have this little hiccup I ran into and thought I’d bounce it off you lot. I did my usual install of the Python libraries on my PC and added my GA-4 Property ID. But then, I ran into an error with the IP address. It looks like it’s not having a valid SSL certificate, which totally makes sense now that I think about it.
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:142.250.190.10:443: Ssl handshake failed: SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED" debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:142.250.190.10:443: Ssl handshake failed: SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED {grpc_status:14, created_time:"2022-11-28T18:41:22.060505311+00:00"}" >
Quite a mouthful, eh? But wait, there’s more:
google.api_core.exceptions.ServiceUnavailable: 503 failed to connect to all addresses; last error: UNKNOWN: ipv4:142.250.190.10:443: Ssl handshake failed: SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
So with all this, anyone else ever see this when trying to run the quickstart.py script on your local machine?
BTW, it isn’t an oversight on my part. I did all the “TODOS”, even installed the Google certificates locally. But, funnily enough, the IP Address that the script is failing on isn’t secured. It’s like trying to find the silver lining in a hail storm, am I right?
Just checked it out and got this lovely note:
Your connection isn’t private. Attackers might be trying to steal your information from 142.250.190.10 (for example, passwords, messages, or credit cards). NET::ERR_CERT_AUTHORITY_INVALID
Anyway, your thoughts are much appreciated! Cheers!
Greg
Log in to reply.