Closed lpares12 closed 2 months ago
Agh, sorry for the noise. I see now there's an extra "
in the environment variables entered in the .env file.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
When running an application using boto3 inside a docker, the boto3.client() URL gives an "Invalid endpoint" error. Outside of the docker, there's no error.
Expected Behavior
I'd expect the boto3.client to work exactly the same as outside of the docker, so there should not be an error.
Current Behavior
Where
myUserId
is my Cloudflare user ID.Reproduction Steps
Create an Ubuntu docker container that has boto3 installed and run:
These are the commands I use for creating the container and running it:
Possible Solution
No response
Additional Information/Context
I have also tried to check manually for the URL, with the call
boto3core.utils.is_valid_endpoint_url
and it seems okay when run as a standalone call:Results in:
Which is exactly the same output I have in my computer outside of Docker.
SDK version used
boto3.1.34.145
Environment details (OS name and version, etc.)
Docker with ubuntu 24.04 image