
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to connect to Git repository on Azure DevOps
Hi,
Using Talend Cloud Data Management Studio 7.1 on Windows, I'm unable to connect to a Git repository stored on Azure DevOps.
Everything works fine when using Git command line or GUI for a test (so I'm sure of my credentials which are those I use to connect to my Microsoft account) but I'm unable to connect using the Studio (from the same laptop).
After having completed the connexion informations within the Studio and checked the URL, the following pop-up is displayed:
Here I enter my credentials and the same pop-up is displayed again and again.
Log file indicates:
!MESSAGE 2020-01-23 16:29:05,131 ERROR org.talend.commons.exception.CommonExceptionHandler - https://dev.azure.com/XXXXXXXXXXXXXX/TALEND/_git/TALEND: not authorized
!STACK 0
org.eclipse.jgit.api.errors.TransportException: https://dev.azure.com/XXXXXXXXXXXXXX/TALEND/_git/TALEND: not authorized
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.talend.repository.gitprovider.GITProviderService.getShallowCloneBranches(GITProviderService.java:356)
at org.talend.repository.gitprovider.GITProviderService.getBranchList(GITProviderService.java:213)
at org.talend.repository.RepositoryService.getProjectBranch(RepositoryService.java:906)
at org.talend.repository.ui.login.LoginHelper.getProjectBranches(LoginHelper.java:773)
at org.talend.repository.ui.login.LoginProjectPage$23.run(LoginProjectPage.java:1944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: https://dev.azure.com/SESIMAGOTAG-SUPITT/TALEND/_git/TALEND: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:519)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:311)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
... 7 more
For information, connecting to a free GitHub account works fine.
If anyone could give me an idea of what's going on...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry about the late reply TRF, I have been a little snowed this week. I have not seen this behaviour before, and I *think* it might be a bug. Could you raise this with Talend Support?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi TRF,
I just signed up for the Talend trial and came across the same issue when trying our Azure Repos. At first I thought Talend Studio is asking for the login to Azure DevOps. I have since found out that it is looking for the the Git Credentials when the Azure Repos is first set up by the administrator. The user ID and password are for the root and never appear again. Creating additional repos under the root won't give you another chance. If you don't have them, the likely choice is to create another project in Azure DevOps and initialize another repos.
Terence

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recently faced the same issue and eventually figured it out. I generated a new credentials in Azure DevOps repository.
Then I used the new credentials in Talend and it worked!
