Getting 401 authorization error in studio when retriving remote projects

Highlighted
Four Stars

Getting 401 authorization error in studio when retriving remote projects

Hi, all

I got an error when starting studio on a remote connection. This happens after selecting a remote TAC connection and an existing project. From the Studio log, I see below:

 

!STACK 0
org.eclipse.jgit.api.errors.TransportException: http://user_id@xxxx:6990/atlassian-stash/scm/***/talend.git: 401 Authorization Required
 at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:135)
 at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:203)
 at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:136)
 at org.talend.repository.gitprovider.core.GitHandler.clone(GitHandler.java:2078)
 at org.talend.repository.gitprovider.core.GitBaseRepositoryFactory.initProjectRepository(GitBaseRepositoryFactory.java:239)
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.initProjectRepository(RemoteRepositoryFactory.java:1744)
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:363)
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:292)
 at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1926)
 at org.talend.repository.ui.login.LoginHelper$1.run(LoginHelper.java:528)
 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

 

However, it doesn't seem to be authorization issue since I test "git clone" command with the same url in tSystem and it worked fine.

 

Could you provide any hints that may cause this issue?

 

Thank you

 

Moderator

Re: Getting 401 authorization error in studio when retriving remote projects

Hello @JeromeZ 

We need more information to address your issue.

Did you define your git project in TAC? A user ( eg.admin@company.com ) defined in TAC that is allowed to access this project?

Have you already checked out the project from TAC (git)?

Many thanks.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Getting 401 authorization error in studio when retriving remote projects

Hi, xdshi

 

Did you define your git project in TAC? yes, I did and it is displayed in Studio

remote_proj_1.png

A user ( eg.admin@company.com ) defined in TAC that is allowed to access this project? yes. the id is used to connect to TAC from Studio. and therefore we get the above picture

 

Have you already checked out the project from TAC (git)? I'm not sure what you mean. however, the error occurs when clicking on "finish" in the above picture

remote_proj_2.png

Moderator

Re: Getting 401 authorization error in studio when retriving remote projects

Hello,

Have you tried to update password on TAC side , use the correct one and re-launch studio to see if it works?

With your subscription solution, could you please create a case on talend support portal so that we could give you a remote assistance through support cycle with priority?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Getting 401 authorization error in studio when retriving remote projects

This is kerberos connection and there is no password needed. We are doing a POC so no subscription

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog

Talend Studio Improvements for API Services

Take a look at the Talend Studio improvements for API Services

Watch Now