Git + DevOps Repo = "Unable to push...fatal: Authentication failed..."
Environment
- RoboHelp 2019.11 new
- Win 10
- Git (https://git-scm.com/) latest version installed
- GitHub Desktop (https://desktop.github.com/) preferred diff/merge tool - latest version installed
- Azure DevOps repo URL: https://mycompanyname.visualstudio.com/ProjectName/_git/widgethelp/ (where widgethelp is the name of the target repo)
Issue Summary:
Attempting to "Collaborate using Git" (instructions in RoboHelp Help) and add/manage version control for an existing RH2019 project in a Git repo hosted in DevOps. Using the HTTPS connection method (not SSH), which per our developers, should work. Running into a RoboHelp-generated/displayed authentication error when I attempt to add the project to the connection profile (and make that initial "push" of the entire project up to the repo). The title of the dialog is "Unable to push" and the error message text is:
fatal: Authentication failed for
'https://mycompanyname.visualstudio.com/ProjectName/_git/widgethelp/'
Where mycompanyname is my company's name, ProjectName is the name of the DevOps project, and widgethelp is the name of my DevOps repo (configured in the RH Git connection profile). Note also that this entire https path is the exact https path that DevOps provides as the repo URL.
In troubleshooting this issue, I was able to successfully add the RoboHelp project’s folders/files to a DevOps repo via GitBash (command line - "git push.."). However, this doesn't solve the issue of RoboHelp not being able to push to (and I assume pull from) the DevOps repo.
I also confirmed that my DevOps user has full read/write permissions for the repo.
RoboHelp does report success when I make a change in the project and Collaborate>Commit the changes.
Additional areas of uncertainty for me:
- I haven't tried the SSH repo URL method yet; I was hoping to just use the HTTPS method. Our developers use DevOps repos, and the one I talked to indicates that HTTPS should be fine. He believes I'll experience the same error/issue via SSH.
- Windows Credential Manager and Authentication: Microsoft Active Directory auth or DevOps Git Credentials auth (provided as part of the HTTPS repo URL in DevOps)? We use AD for most authentication, including access to DevOps. However, the DevOps repo URL includes/provides a separate Git user and auto-generated password. I've tried both sets of credentials in the RH connection profile, but still get the same auth error above.
