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

Urllib3 error #54

Open
mneirynck opened this issue Jun 2, 2023 · 3 comments
Open

Urllib3 error #54

mneirynck opened this issue Jun 2, 2023 · 3 comments

Comments

@mneirynck
Copy link

I think something got updated along the way, but nowadays I have started getting this error.

"Unable to import module 'main': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)"

@mneirynck
Copy link
Author

For future reference, apparently it's an issue with requests:

requirements,txt > requests- uses the latest release (2.30.0) and causes the lambda function to throw the error above.
requirements,txt > requests==2.29.0 - uses the prior release (2.29.0). With this release the error above no longer occurs.

@jaredhendrickson13
Copy link
Owner

To help me reproduce, what version of simple_acme_dns are you on?

Previously I had set specific version requirements for both requests and urllib3 but removed since they are not a direct dependency for this package. They're required and installed by the underlying acme module. I may need to add constraints for requests in this case.

@mneirynck
Copy link
Author

Hi
I was on a bit of an older version actually when it happened, noticed that a bit too late.
I've updated to 2.0.0 now but kept the requests==2.29.0 and then it worked.

I could try without the requirements update later this week and let you know!

By the way, thanks a lot for building this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants