-
Type:
Suggestion
-
Resolution: Low Engagement
-
Component/s: Repository - Git Client SSH
-
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
- 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