You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the deployment process because eoAPI sounds AWESOME but I hit a snag on the database deployment. I got it working but it's worth a PR to fix it.
Problem description
A recent upgrade to urllib3 seems to have broken the version of requests that gets installed in Dockerfile.db so the BootstrappedDb deployment fails.
I can't seem to get a full traceback from AWS CloudWatch but here is the error message:
[ERROR] Runtime.ImportModuleError: Unable to import module 'handler': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)
I was able to fix the problem by explicitly installing urllib3<2 in Dockerfile.db:
Here is a relevant issue in requests: psf/requests#6432 requests v2.30.0 should be working with urllib3>2 but maybe we are pinned to something less than v2.30.0 by another package. I haven't run the docker network locally yet but will try to dig in to find out the actual best solution.
Environment Information
Ubuntu 22.04, Python 3.10.6
The text was updated successfully, but these errors were encountered:
I tried running the deployment process because eoAPI sounds AWESOME but I hit a snag on the database deployment. I got it working but it's worth a PR to fix it.
Problem description
A recent upgrade to
urllib3
seems to have broken the version ofrequests
that gets installed in Dockerfile.db so theBootstrappedDb
deployment fails.I can't seem to get a full traceback from AWS CloudWatch but here is the error message:
I was able to fix the problem by explicitly installing
urllib3<2
in Dockerfile.db:Here is a relevant issue in
requests
: psf/requests#6432requests
v2.30.0 should be working withurllib3>2
but maybe we are pinned to something less than v2.30.0 by another package. I haven't run the docker network locally yet but will try to dig in to find out the actual best solution.Environment Information
Ubuntu 22.04, Python 3.10.6
The text was updated successfully, but these errors were encountered: