polygon-io / client-python

The official Python client library for the Polygon REST and WebSocket API.
https://polygon-api-client.readthedocs.io/
MIT License
744 stars 204 forks source link

Revert "Use ssl_context for HTTPS requests to avoid reading certificate files on every request" #691

Closed justinpolygon closed 5 days ago

justinpolygon commented 1 week ago

Reverts polygon-io/client-python#632.

On windows a couple users are reporting ssl error via https://github.com/polygon-io/client-python/issues/638. I want to revert this optimization to rule out the issue.

jbonzo commented 1 week ago

@justinpolygon Could we validate that this PR is directly causing the Windows user issues? We could learn this information without making commits directly to master branch.

justinpolygon commented 6 days ago

Hey @jbonzo, I've confirmed this fixes the issue and a user has confirmed it as well via https://github.com/polygon-io/client-python/issues/638#issuecomment-2202266757.

justinpolygon commented 5 days ago

Thanks @jbonzo!