Skip to content

replication connection failed #4

Description

@shliar

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions