Four Stars

Getting error while connecting to AWS codecommit from talend studio installed at On Premise netwrok

All,

we have talend studio 6.4.1 installed on Premise network and trying to connect AWS code commit  on AWS env,

the credentials for code commit are configured in TAC and TAC can connect to code commit (TAC is in AWS EC2)

Talend Studio can connect to TAC ,but while opening projects we see following error while connecting to code commit. the URL is masked for security purpose.

any suggestions or solution to this problem will be helpful.

 

org.talend.commons.exception.PersistenceException: Can not connect to project with url "https://git-codecommit.us-west-2.amazonaws.com/----/---/".

                at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:417)

                at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:366)

                at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:286)

                at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1862)

                at org.talend.repository.RepositoryService.isloginDialogDisabled(RepositoryService.java:468)

                at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:309)

                at org.talend.rcp.intro.Application.logUserOnProject(Application.java:489)

                at org.talend.rcp.intro.Application.start(Application.java:189)

                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)

                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)

                at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

Caused by: org.talend.commons.exception.PersistenceException: username or password are not correct, please check in TAC users configuration

                at org.talend.repository.gitprovider.core.GitProjectUrlCheck.check(GitProjectUrlCheck.java:65)

                at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:415)

                ... 19 more

Caused by: org.eclipse.jgit.api.errors.TransportException: https://git-codecommit.us-west-2.amazonaws.com/---/---/: cannot open git-upload-pack

                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.core.GitProjectUrlCheck.check(GitProjectUrlCheck.java:56)

                ... 20 more

Caused by: org.eclipse.jgit.errors.TransportException: https://git-codecommit.us-west-2.amazonaws.com/----/----/: cannot open git-upload-pack

                at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:551)

                at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:311)

                at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)

                ... 22 more

Caused by: java.net.SocketException: Connection reset

                at java.net.SocketInputStream.read(Unknown Source)

                at java.net.SocketInputStream.read(Unknown Source)

                at sun.security.ssl.InputRecord.readFully(Unknown Source)

                at sun.security.ssl.InputRecord.read(Unknown Source)

                at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Sour

 

2 REPLIES
Moderator

Re: Getting error while connecting to AWS codecommit from talend studio installed at On Premise netwrok

Hello,

Everything is ok on TAC side when you use the credentials?

It looks like there is something wrong in some place when the studio retrieves the git credentials from the TAC.

With your subscription solution, could you please create a case on talend support portal so that we can give you a remote assistance(webex session) 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 error while connecting to AWS codecommit from talend studio installed at On Premise netwrok

yes the ticket is raised , waiting for webex session