Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSLError when hitting statsapi #110

Closed
kfinneman opened this issue Apr 13, 2023 · 4 comments
Closed

SSLError when hitting statsapi #110

kfinneman opened this issue Apr 13, 2023 · 4 comments
Labels
question Question about usage/support

Comments

@kfinneman
Copy link

Starting getting this error today for some reason.(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))

I am hitting the statsapi module. when I do requests it works but don't really want to type to whole url since I am hitting a bunch of different endpoints haha

@toddrob99
Copy link
Owner

This type of error is usually due to a proxy server issue.

@toddrob99 toddrob99 added the question Question about usage/support label Apr 13, 2023
@kfinneman
Copy link
Author

Any tips on how to fix it?

@toddrob99
Copy link
Owner

It should work the same whether you use this MLB-StatsAPI module or directly with requests, since that's what this wrapper module uses. I'm guessing you have proxy info set somewhere when you use requests but not where you're using the wrapper. Without knowing any details of your network I'm not sure what else I can do to help.

@kfinneman
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about usage/support
Projects
None yet
Development

No branches or pull requests

2 participants