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

replicate to TFVC sometimes works and sometimes not #2

Open
asherungar-ceva opened this issue Dec 11, 2018 · 0 comments
Open

replicate to TFVC sometimes works and sometimes not #2

asherungar-ceva opened this issue Dec 11, 2018 · 0 comments

Comments

@asherungar-ceva
Copy link

Hello,

i'm trying to replicate a gerrit plugin to a microsoft TFVC which can also host git repos.
i'm using the http address + user/passwrod in secure.config.
the replication will succeed and push the code. but, after a few times - it just stops to work with error (see below).
my replication config:

[remote "codefront"]
url = http://codefront:8080/tfs/DefaultCollection/CEVA_DEV_DBG/_git/${name}
push = +refs/heads/:refs/heads/
push = +refs/tags/:refs/tags/
projects = Toolbox_try
projects = IDBTry

error log:

org.eclipse.jgit.errors.TransportException: http://codefront:8080/tfs/DefaultCollection/CEVA_DEV_DBG/_git/IDBTry: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:534)
at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:420)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1310)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1356)
at com.googlesource.gerrit.plugins.replication.PushOne.pushVia(PushOne.java:453)
at com.googlesource.gerrit.plugins.replication.PushOne.runImpl(PushOne.java:432)
at com.googlesource.gerrit.plugins.replication.PushOne.runPushOperation(PushOne.java:323)
at com.googlesource.gerrit.plugins.replication.PushOne.access$000(PushOne.java:83)
at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:288)
at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:285)
at com.google.gerrit.server.util.RequestScopePropagator$5.call(RequestScopePropagator.java:217)
at com.google.gerrit.server.util.RequestScopePropagator$4.call(RequestScopePropagator.java:193)
at com.google.gerrit.server.git.PerThreadRequestScope$Propagator$1.call(PerThreadRequestScope.java:75)
at com.googlesource.gerrit.plugins.replication.PushOne.run(PushOne.java:292)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:418)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Thank You
Asher

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