Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replication connection failed #4

Open
shliar opened this issue Aug 23, 2021 · 0 comments
Open

replication connection failed #4

shliar opened this issue Aug 23, 2021 · 0 comments

Comments

@shliar
Copy link

shliar commented Aug 23, 2021

Hi

Replication to a mirror server does not work. Replication log says "connection failed".

replication.config has below entries
[remote "mirror"]
url = local_user@mirror:/data/gerrit/git/${name}.git
push = +refs/:refs/
threads = 3
replicationRetry = 120
timeout = 120
createMissingRepositories = true
replicateProjectDeletions = true

[2021-08-08 02:23:20,803] [0e3b0d72] Cannot replicate to local_user@mirror:/data/gerrit/git/junos/eventd.git
org.eclipse.jgit.errors.TransportException: local_user@mirror:/data/gerrit/git/junos/eventd.git: connection failed
at org.eclipse.jgit.transport.JschSession$JschProcess.(JschSession.java:153)
at org.eclipse.jgit.transport.JschSession$JschProcess.(JschSession.java:119)
at org.eclipse.jgit.transport.JschSession.exec(JschSession.java:92)
at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.(TransportGitSsh.java:320)
at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:166)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1200)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1246)
at com.googlesource.gerrit.plugins.replication.PushOne.pushVia(PushOne.java:403)
at com.googlesource.gerrit.plugins.replication.PushOne.runImpl(PushOne.java:375)
at com.googlesource.gerrit.plugins.replication.PushOne.runPushOperation(PushOne.java:288)
at com.googlesource.gerrit.plugins.replication.PushOne.access$000(PushOne.java:81)
at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:258)
at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:255)
at com.google.gerrit.server.util.RequestScopePropagator$5.call(RequestScopePropagator.java:222)
at com.google.gerrit.server.util.RequestScopePropagator$4.call(RequestScopePropagator.java:201)
at com.google.gerrit.server.git.PerThreadRequestScope$Propagator$1.call(PerThreadRequestScope.java:75)
at com.googlesource.gerrit.plugins.replication.PushOne.run(PushOne.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:377)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant