Skip to content

Gitlab 8.11 The requested URL returned error: 401 Unauthorized while accessing https

Hello All,

Need your help, any Idea what I done wrong or what I missed? I tried to push the change to https://gitlab.its.swin.edu.au/ADIUTOMO/Gitlab.git/info/refs but it returned 401 Unauthorized, I have tried from browser as well and it returned access denied. Thank you in advance. Have ran the following:

  1. git config --global user.name "ADIUTOMO"
  2. git config --global user.email "adiutomo@swin.edu.au"
  3. git clone https://gitlab.its.swin.edu.au/ADIUTOMO/MyGit.git
  4. cd MyGit
  5. touch README.md
  6. git add README.md
  7. git commit -m "add README"
  8. git push -u origin master

ERROR [adiutomo@venus ~]$ git push -u origin master error: The requested URL returned error: 401 Unauthorized while accessing https://gitlab.its.swin.edu.au/ADIUTOMO/Gitlab.git/info/refs

[adiutomo@venus ~]$ git remote -v origin https://gitlab.its.swin.edu.au/ADIUTOMO/Gitlab.git (fetch) origin https://gitlab.its.swin.edu.au/ADIUTOMO/Gitlab.git (push)

Cheers,

Adi