Unable to connect to Git repository on Azure DevOps

Highlighted
Sixteen Stars
Sixteen Stars

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:

CnxTalend.png

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...


TRF
Highlighted
Community Manager

Re: Unable to connect to Git repository on Azure DevOps

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?

Highlighted
One Star

Re: Unable to connect to Git repository on Azure DevOps

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.

 

iexplore_6jIxl71l9N.png

 

Terence

 

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Self-service Talend Migration: Moving from On-Premises to the Cloud

Move from On-Premises to the Cloud by following the advice of experts

Read Now

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog