Implement support for SSH channel re-use on Bitbucket cloud once initial GIT operation is completed

XMLWordPrintable

    • 2

      Issue Summary

      Currently Bitbucket Cloud only supports 1 command per SSH session. This creates an issue with JGit when using Eclipse default configuration

      "When fetching a commit, also fetch the tags", one the GIT clone operation is complete, JGit tries to re-use the SSH channel to fetch the tags as well and faces the error: 
      Caused by: org.apache.sshd.common.channel.exception.SshChannelOpenException: cannot open additional channels
      at org.apache.sshd.client.channel.AbstractClientChannel.handleOpenFailure(AbstractClientChannel.java:388)

      Steps to Reproduce

      1. reproducible with Eclipse and configuration setting "When fetching a commit, also fetch the tags"

      Expected Results

      Allow re-using the existing SSH channel for follow up operations after clone. 

      Actual Results

      Caused by: org.apache.sshd.common.channel.exception.SshChannelOpenException: cannot open additional channels
      at org.apache.sshd.client.channel.AbstractClientChannel.handleOpenFailure(AbstractClientChannel.java:388)
       
      

      Workaround

      Change the default settings in Eclipse listed above

            Assignee:
            Unassigned
            Reporter:
            Yana
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: