Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2847

[GSS](6.4.z)Upgrade version of Jsch artifact(0.1.50-->0.1.54) shipped with BxMS.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • CR2

    Description

      Currently in BxMS 6.4 release we ship jsch-0.1.50.jar with business-central war file and its causing issue while cloning repository over ssh protocol.

      Customer encounter below issue while cloning git repository hosted in BitBucket server:

       ERROR [org.guvnor.structure.backend.repositories.RepositoryServiceImpl] (http-0.0.0.0:8443-6) Error during create repository: java.lang.RuntimeException: ssh://git@bitbucket.hostname.com:7988/repo/rules.git: Algorithm negotiation fail
      	at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.createFileSystem(GitRepositoryBuilder.java:139) [guvnor-structure-backend-6.5.0.Final-redhat-2.jar:6.5.0.Final-redhat-2]
                   .  .  .
      Caused by: java.lang.RuntimeException: org.eclipse.jgit.api.errors.TransportException: ssh://git@bitbucket.hostname.com:7988/repo/rules.git: Algorithm negotiation fail
      	at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:289) [uberfire-nio2-jgit-0.9.0.Final-redhat-3.jar:0.9.0.Final-redhat-3]
                     . . . 
      Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://git@bitbucket.hostname.com:7988/repo/rules.git: Algorithm negotiation fail
      	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:135) [org.eclipse.jgit-4.4.1.201607150455-r.jar:4.4.1.201607150455-r]
      	 . . .
      Caused by: org.eclipse.jgit.errors.TransportException: ssh://git@bitbucket.hostname.com:7988/repo/rules.git: Algorithm negotiation fail
      	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159) [org.eclipse.jgit-4.4.1.201607150455-r.jar:4.4.1.201607150455-r]
                    . . . 
      Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
      	at com.jcraft.jsch.Session.receive_kexinit(Session.java:582) [jsch-0.1.50.jar:]
      	at com.jcraft.jsch.Session.connect(Session.java:320) [jsch-0.1.50.jar:]
      	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116) [org.eclipse.jgit-4.4.1.201607150455-r.jar:4.4.1.201607150455-r]
      	... 100 more
      

      Complete stacktrace attached.

      This issue resolved after upgrading jsch-0.1.50.jar to jsch-0.1.54.jar

      Attachments

        Issue Links

          Activity

            People

              ant@redhat.com Ant Stephenson
              rhn-support-abhumbe Abhijit Humbe
              Archiver:
              rhn-support-ceverson Clark Everson
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty