Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-582

[GSS](6.2.z) kie-config-cli: "Auth failure" trying to work with repositories

XMLWordPrintable

      Description of problem:
      This is a regression most likely caused by fix to bug #1299870

      The problem is that when trying to clone repository via kie-config-cli.sh
      I'm getting an exception " Auth fail" when trying to authenticate / clone repository from ssh based url
      full stacktrace at the bottom

      Version-Release number of selected component (if applicable):
      BPM Suite 6.2.2 patch

      How reproducible:
      Always

      Steps to Reproduce:
      1. deploy BPM Suite for EAP
      2. unpack bxms.supplementary.tools.latest.zip and navigate to jboss-brms-bpmsuite-6.2-supplementary-tools/kie-config-cli-dist

      3. run kie-config-cli.sh, accept default repo url and try to authenticate your user (one of the users declared in EAP for business central)

      Actual results:
      Exception in (see below) displayed - impossible to "login" to kie-config-cli.sh

      Expected results:
      It should be possible to authenticate the user.

      Additional info:

      Exception in thread "main" java.lang.RuntimeException: org.eclipse.jgit.api.errors.TransportException: ssh://testadmin@localhost:8001/system: Auth fail
      at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:250)
      at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.newFileSystem(JGitFileSystemProvider.java:688)
      at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117)
      at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83)
      at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:244)
      at org.kie.config.cli.command.impl.CloneGitRepositoryCliCommand.execute(CloneGitRepositoryCliCommand.java:85)
      at org.kie.config.cli.CmdMain.main(CmdMain.java:85)
      Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://testadmin@localhost:8001/system: Auth fail
      at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
      at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:193)
      at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:133)
      at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:229)
      ... 6 more
      Caused by: org.eclipse.jgit.errors.TransportException: ssh://testadmin@localhost:8001/system: Auth fail
      at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159)
      at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136)
      at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262)
      at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)
      at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
      at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
      at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138)
      at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
      ... 9 more
      Caused by: com.jcraft.jsch.JSchException: Auth fail
      at com.jcraft.jsch.Session.connect(Session.java:512)
      at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
      ... 16 more

              manstis@redhat.com Michael Anstis
              jhrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Kris Verlaenen, Radovan Synek (Inactive), Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: