Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using Talend 7.1 with git and bitbucket.
The login is performed by an ssh-key, stored locally on the client, on the TAC-server and in bitbucket.
It works for remote repositories fine, but after i checkout a local branch,
Talend studio offers me the login to the local branch too, but
the login fails:
An error occured (username or password are not correct, please check in TAC users configuration).
org.talend.commons.exception.PersistenceException: Can not connect to project with url "ssh://git@bitbucket..........
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:433)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:388)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:383)
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.RepositoryService.isloginDialogDisabled(RepositoryService.java:489)
at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:329)
at org.talend.rcp.intro.Application.logUserOnProject(Application.java:501)
at org.talend.rcp.intro.Application.start(Application.java:198)
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(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
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:63)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:431)
... 21 more
Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://a265040@bitbucket.l-bank.intern.ads:7999/tal/lfu.git: Session.connect: java.net.SocketException: Software caused connection abort: recv failed
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:57)
... 22 more
Caused by: org.eclipse.jgit.errors.TransportException: ssh://a265040@bitbucket.l-bank.intern.ads:7999/tal/lfu.git: Session.connect: java.net.SocketException: Software caused connection abort: recv failed
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:160)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:264)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
... 24 more
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Software caused connection abort: recv failed
If i login in a remote repository then i can switch successfully to a local branch,
only the direct login to a local branch is not successful.
Does anyone know this effect?
Kind regards
peter
Hello,
Are you using pre shared ssh key?
Best regards
Sabrina
Hi Sabrina,
yes we use shared keys, a private and a public key.
we public keys are saved locally and in Bitbucket,
but not in the TAC.
Kind regards
Hans-Peter