You are not logged in.

#1 2024-04-12 07:37:09

bartus
Member
Registered: 2013-05-13
Posts: 50

aur-web: `git push` hangs, posting comment returns error:502.

Have some weird issues with AUR service lately:
* posting comments returns error 502 (nginx: bad gateway)
* `git push` never finishes despite new commits popping up in the repo.

$ GIT_TRACE2=2 GIT_CURL_VERBOSE=1 git push
09:38:49.931986 common-main.c:55                  version 2.44.0
09:38:49.932004 common-main.c:56                  start git push
09:38:49.932056 compat/linux/procinfo.c:170       cmd_ancestry bash <- tmux: server <- systemd
09:38:49.932129 repository.c:148                  worktree /home/bartus/AUR/gimp-git
09:38:49.932195 git.c:464                         cmd_name push (push)
09:38:49.932531 run-command.c:724                 child_start[0] ssh aur@aur.archlinux.org 'git-receive-pack '\''/gimp-git'\'''
Enter passphrase for key '/home/bartus/.ssh/aur':
09:38:53.020952 run-command.c:724                 child_start[1] git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progress
09:38:53.022296 common-main.c:55                  version 2.44.0
09:38:53.022317 common-main.c:56                  start /usr/lib/git-core/git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progress
09:38:53.022389 compat/linux/procinfo.c:170       cmd_ancestry git <- bash <- tmux: server <- systemd
09:38:53.022465 repository.c:148                  worktree /home/bartus/AUR/gimp-git
09:38:53.022537 git.c:464                         cmd_name pack-objects (push/pack-objects)
Enumerating objects: 18, done.
Counting objects: 100% (18/18), done.
Delta compression using up to 8 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 1.57 KiB | 1.57 MiB/s, done.
Total 14 (delta 11), reused 0 (delta 0), pack-reused 0 (from 0)
09:38:53.026024 git.c:724                         exit elapsed:0.003950 code:0
09:38:53.026036 trace2/tr2_tgt_normal.c:128       atexit elapsed:0.003965 code:0
09:38:53.026671 run-command.c:977                 child_exit[1] pid:363805 code:0 elapsed:0.005718

Last edited by bartus (2024-04-12 07:46:27)

Offline

#2 2024-04-12 07:51:32

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 21
Website

Re: aur-web: `git push` hangs, posting comment returns error:502.

Hey, are you giving the git push enough time to finish? When I dropped a few packages from the official repos to the AUR I noticed that it sometimes takes quite a long time, especially if you're pushing multiple commits.

Offline

#3 2024-04-12 08:15:57

davispuh
Member
From: Latvia
Registered: 2014-03-31
Posts: 10

Re: aur-web: `git push` hangs, posting comment returns error:502.

I'm also seeing "502 Bad Gateway" error when trying to submit comment on https://aur.archlinux.org/packages/
I tried like 10x times and got it every time. But note that even while it returned error to browser it still saved comment itself and I happened to spam bunch of them big_smile

My random guess would be that backend is taking too long to respond due to something slowing it down (DB?) but it finishes eventually.

Probably increasing Nginx's proxy_read_timeout would avoid this if backend can't be made faster.

Last edited by davispuh (2024-04-12 08:16:58)

Offline

#4 2024-04-12 08:16:48

bartus
Member
Registered: 2013-05-13
Posts: 50

Re: aur-web: `git push` hangs, posting comment returns error:502.

I've waited for ~15 minutes to push 3 commits.

Offline

Board footer

Powered by FluxBB