Issues pulling docker repo while behind a proxy

Problem:
Not able to completely download docker images from behind a corporate proxy.

Expected outcome:
Blobs download complete.

Foreman and Proxy versions:
1.20.1

Foreman and Proxy plugin versions:
?

Other relevant data:
Not Authorized warning and connection timeouts in /var/log/messages reported by pulp:

For me the fix was to use https://repository-1.docker.com/v2/ . For some reason using any of the other URLs that redirect have issues and confuse either our proxy or Foreman. Hope this info helps someone else. :slight_smile:

logs