GitLab Dependency Proxy private Docker Hub Images problem

About

Hi, I have a problem with GitLab Dependency Proxy. It is enabled on my GitLab Server and work partially

How I run it

When run this command:

docker pull gitlab.myserver.com/newgroup/dependency_proxy/containers/alpine:latest 

It works correctly (alpine:latest is public docker image on docker hub)

But when I run this command:

docker pull gitlab.myserver.com/newgroup/dependency_proxy/containers/myprivateserver/myawesomeimage:latest

It does not work (myprivateserver/myawesomeiamge:latest is private org with private docker image on docker hub)

Error response from daemon: unauthorized:

Things I've done

I logged in to gitlab.myserver.com and Docker Hub. I can pull private Docker images from gitlab.myserver.com and Docker Hub.

I tried logging out and logging back in, but the error still occurs.

Additional

I tried this also on gitlab.com (logged in to gitlab.com with my account and to Docker Hub) and the same situation occurs.