Topic: Gitlab authentication error

IntraStage premium asked 7 months ago


Getting the following error when trying to install packages on my machine (also in our DevOps build pipeline): npm ERR! command git --no-replace-objects ls-remote https://oauth2:*@git.mdbootstrap.com/mdb/react/re-pro npm ERR! remote: HTTP Basic: Access denied npm ERR! fatal: Authentication failed for 'https://git.mdbootstrap.com/mdb/react/re-pro/'

I have regenerated the token in gitlab and still get the same error. I emailed support 3 days ago but have not gotten a response and need to get an update built.


Krzysztof Wilk staff answered 7 months ago


Hi!

We checked your accesses and everything looks good. Could you try to:

  1. Update an npm
  2. Install with a --legacy-peer-deps flag using npm
  3. Install using yarn instead of npm
  4. Check if everything in your Windows Credential Manager is good/Clear your Windows Credential Manager
  5. Use SSH authentication instead of an HTTP one

And tell me if some solution from this list works?

Keep coding!


IntraStage premium commented 7 months ago

running: git ls-remote -h -t https://oauth:*@git.mdbootstrap.com/mdb/react/re-pro gives me the same access denied error.
1. running the latest version of npm already 2. no difference 3. I don't have yarn, I can get it but since git is failing too I don't think that is the issue 4. nothing for gitlabs or mdbootstrap in Windows Credential Manager 5. add a SSH key to my account, tried "ssh -T git@git.mdbootstrap.com" and get "git@git.mdbootstrap.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)."


Adam Jakubowski staff commented 7 months ago

Hi @IntraStage,

I've reached out to you via the email address assigned to your mdbootstrap account.

Keep coding



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 3.0.0
  • Device: Laptop
  • Browser: Visual Studio
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes