We have self managed instance of gitlab, enabled container registry by updating gitlab.rb file, with port 5050, it is an omnibus installation, and followed the instructions here
The certificates (key and crt files are at /etc/gitlab/ssl) When I use
docker login xyz.com:5050 I can login using my credentials as well as with username and PAS
But when I try to push image I get error received unexpected HTTP status: 500 Internal Server Error
Tried from windows and linux both machines with same result.
Any help appreciated