The Problem
Cypress inside docker is throwing an Open SSL Bad decrypt error when trying to access files that are publicly available on an AWS S3 bucket.
I've created a repo with the minimum required reproduction here: Reproduction Repo
Debug Logs
Relevant Notes
- The docker container has no issue accessing any of these resources via Curl and I have tried clearing the cache in Cypress and the Cypress browser and found it makes no difference.
- The docker container has no issues accessing other resources outside of AWS S3
- It also doesn't have this issue if the S3 bucket is served via CloudFront.
- I am running this on an M1 Mac through Docker emulating linux/amd64 using Rosetta.
Let me know if you require additional details.