Dvc pull inside docker in docker 'Connect timeout' Error

Hi there!
When I push one of my projects to pass GitLab CI tests, I get a connect timeout error when running dvc pull inside a Docker-in-Docker setup. I am pulling data from a remote storage on S3. I have created and exported the credentials. The endpoint is correct. It was working before but it is not working now. How can I solve this?

You mention it was working before. Did you changed DVC versions or did something else change?

No, I did not change the version.

Could you try dvc pull --no-run-cache?