Geek Logbook

Tech sea log book

SODA: SSL: CERTIFICATE_VERIFY_FAILED – Solved

When you tried to connect to soda it is possible you find this error: SSL: CERTIFICATE_VERIFY_FAILED. All the message look like similar to this one:

requests.exceptions.SSLError: HTTPSConnectionPool(host='collect.soda.io', port=443): Max retries exceeded with url: /v1/traces (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))

This happens because there is a conflict between the permissions your machine have to connect to other places in the network and the usage statistics that SODA does. In fact, the problem happens because it’s activated by default sharing information as you can read in the official documentation: Soda Library usage statistics

How to solve the problem

To solve the problem you can turn false the option to share anonymous statistics.

Opt out of usage statistics

Soda Library collects usage statistics by default. You can opt-out from sending Soda Library usage statistics at any time by adding the following to your ~/.soda/config.yml or .soda/config.yml file:

send_anonymous_usage_stats: false
Soda Official Documentation – Soda Library usage statistics
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>