EOF error in Docker Login on self hosted instance of gitlab


I am new to Gitlab and I was trying out the example of CI CD with laravel.
the error occurs below when I attempt to login to my Container Registry.
" Error response from daemon: Get “https://ip:port/v2/”: EOF "

By the way I have used apache2 as my webserver to run my self hosted gitlab.
Please help me. Thank you!