I have OpenShift GitOps 1.12 ** configured on an ** OpenShift cluster 4.15, and I am experiencing a problem with creating applications in ArgoCD. I can successfully connect my private repository using my username and a personal access token (PAT). However, when I try to create an app, I encounter the following error:
error 128 authentication failed git fetch origin –rpc error: code = Unknown desc = failed to initialize repository resources: rpc error: code = Internal desc = Failed to fetch default: git fetch origin --tags --force --prune
failed exit status 128: fatal: Authentication failed
Does anyone have a solution for this issue?**
Thank you for your assistance!
What I tried:
- Connecting with my username and password, but it didn’t work.
- Including the token in the URL (https://token@), but when I did this, it said “cannot read password.”
New contributor
karma aycha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.