Cannot replicate to g...@bitbucket.org:myteam/myrepo.git
org.eclipse.jgit.errors.TransportException: g...@bitbucket.org:myrepo.git: channel is not opened.
... It seems like BitBucket recently switched off SSH Multiplexing; perhaps this could be the issue? It's possible to turn off SSH multiplexing in .ssh/config --- but that doesn't seem to affect gerrit.
Gerrit's SSH options seem to be set in the config, but I couldn't see anything related to the "ControlMaster" setting which usually turns of multiplexing.
It looks like other people have hit a very similar issue using TeamCity:
http://stackoverflow.com/questions/38301318/channel-is-not-opened-errors-in-automatic-merge-on-teamcity-git
Is there any workaround on Gerrit currently?
Thanks in advance!
Tom
On 19 Oct 2016, at 18:42, cla...@zzzcomputing.com wrote:
I'm having this problem as well and I can no longer replicate to Bitbucket. the solution at https://answers.atlassian.com/questions/39449158/cant-repo-sync-anymore suggests setting "export GIT_SSH_COMMAND="ssh -o ControlPath=none"" however it's not clear if Gerrit makes use of this environment variable, setting this in /etc/default/gerritcodereview did not work for me.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 10/20/2016 04:43 AM, Luca Milanesio wrote:
> Why don't you just use Git/HTTPS for replication?
> Relying on Git/SSH isn't a safe and scalable option anyway, even when it
> is working.
Well like others with the same problem I'm dropping in a shell script
(still using ssh to push though, works fine for my set of < 10 repos
that get less than a dozen commits / day and push model is much more
convenient than pull, if that's what you mean by using HTTPS, I'm not
about to put my atlassian password in plaintext on my server).
Also took the time to figure out that no, Jsch is a total rewrite of SSH
(write once, run anywhere, blah blah) so SSH_COMMAND is pointless and it
doesn't recognize the "ControlMaster" option inside of .ssh/config either.
However. We're all open source authors here, when our projects have
some feature that we tell users, "don't use that thing, it's buggy", do
we just leave it in to further confuse / mislead others? Or do we say,
"yeah, if it's broke, nobody uses it, let's deprecate it and document
that there's a better way". Why does gerrit have a replication feature
if it's not recommended ?
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
The optional file $site_path/secure.config
is a Git-style config file that provides secure values that should not be world-readable, such as passwords. Passwords for HTTP remotes can be obtained from this file.
remote.NAME.username : Username to use for HTTP authentication on this remote, if not given in the URL.
remote.NAME.password : Password to use for HTTP authentication on this remote.
Luca.
<mailto:...@zzzcomputing.com>> wrote:
>>
>> I'm having this problem as well and I can no longer replicate to
>> Bitbucket. the solution at
>>
https://answers.atlassian.com/questions/39449158/cant-repo-sync-anymore
suggests
>> setting "export GIT_SSH_COMMAND="ssh -o ControlPath=none"" however
>> it's not clear if Gerrit makes use of this environment variable,
>> setting this in /etc/default/gerritcodereview did not work for me.
>>
>>
>> --
>> --
>> To unsubscribe, email repo-discuss...@googlegroups.com
>> More info at http://groups.google.com/group/repo-discuss?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "Repo and Gerrit Discussion" group.
>> To unsubscribe from this group and stop receiving emails from it,
send
>> an email to repo-discuss...@googlegroups.com
>> For more options, visit https://groups.google.com/d/optout.
>
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google
Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to repo-discuss...@googlegroups.com