Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Push not permitted issue

Hi,

I'm getting an error that seems to be intermittent. Sometimes a push will succeed and sometimes it just fails with the stack trace below. Stepping through it, I can see that a fetch succeeds and is able to read the advertised refs, but the subsequent push fails. What could it be that I do wrong here? The push configuration seems to be correct (and I'm able to push from the command line). I'm a bit at loss here so any help would be greatly appreciated.

Kind Regards,
Thomas Hallgren

Caused by: org.eclipse.jgit.errors.TransportException: git@xxxxxxxxxx:thallgren/tada-test.git: push not permitted
    at org.eclipse.jgit.transport.BasePackPushConnection.noRepository(BasePackPushConnection.java:149)
    at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefsImpl(BasePackConnection.java:198)
    at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(BasePackConnection.java:176)
    at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(TransportGitSsh.java:327)
    at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:152)
    at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:130)
    at org.eclipse.jgit.transport.Transport.push(Transport.java:1120)
    at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:159)



Back to the top