403 error on push

151 views
Skip to first unread message

Jeroen Dhollander

unread,
Aug 20, 2024, 4:59:41 AM8/20/24
to Repo and Gerrit Discussion
Hey all,

I'm trying to upload a CL for my very first change to https://gerrit.googlesource.com/git-repo.
Following the steps in the 'submitting patches' page I've
  * Checked out git-repo
  * Made my change

Now when I try to push my change it simply hangs forever

```
╰─❯ git push origin HEAD:refs/for/main
Pushing to https://gerrit.googlesource.com/git-repo
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 96 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 824 bytes | 824.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0)
POST git-receive-pack (1181 bytes)
remote: Resolving deltas: 100% (4/4)
<.... here it just hangs for hours....>
```

If I ctrl-c out of here and try again I get a 403 error

```
╰─❯ git push origin HEAD:refs/for/main          
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
```

If I try this through Cider I get a slightly more informative error making me think I lack the 'Push' permission

```
Pull: POST /a/changes/git-repo~369694/revisions/991b1e2928a4d4dae9b736e406a27208be441f21/rebase failed with error code 403 and error message: rebase not permitted (change owners and users with the 'Submit' or 'Rebase' permission can rebase if they have the 'Push' permission)
```

Does anyone know what's wrong?

Thanks!

Jeroen

Edwin Kempin

unread,
Aug 20, 2024, 5:01:16 AM8/20/24
to Jeroen Dhollander, Repo and Gerrit Discussion
Please file an Google internal issue for this at go/gerrit-bug.
 

Thanks!

Jeroen

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/dbf13153-c2d0-430d-a662-6700b65ac545n%40googlegroups.com.

Jeroen Dhollander

unread,
Aug 20, 2024, 6:05:52 AM8/20/24
to Repo and Gerrit Discussion
Done, I created http://b/361027058
Reply all
Reply to author
Forward
0 new messages