There are plethora of questions regarding the failing of git LFS upload, however I have not been able to find an appropriate solution. My git LFS gets stuck at 0%. I had added a single png image for this commit but I have also already initialized gitlfs and have also added the png extension to the gitattributes. I am still getting this error response.
$ git push origin feature/xyz
Uploading LFS objects: 0% (0/1), 0 B | 1.6 KB/s, done
Fatal error: Server error: https://gitlab.xyz.git/
error: failed to push some refs to 'https://gitlab.xyz.git/'