Just to publish the result of the hidden 1:1 communication with Than Ngo: The file is probably too big and there might be a limit on httpd.
For example, this version of httpd 2.4 newly introduces 1G limit: https://httpd.apache.org/docs/2.4/mod/core.html#limitrequestbody But I don't have access to the Fedora ecosystem to check it out. Please, ask for an investigation (or customization) here: https://pagure.io/fedora-infrastructure/ On Mon, Nov 21, 2022 at 10:40 AM Than Ngo <t...@redhat.com> wrote: > > > > -------- Weitergeleitete Nachricht -------- > Betreff: Re: fedpkg upload broken > Datum: Mon, 21 Nov 2022 10:38:23 +0100 > Von: Than Ngo <t...@redhat.com> <t...@redhat.com> > An: Ondrej Nosek <ono...@redhat.com> <ono...@redhat.com> > > > Am 21.11.22 um 10:29 schrieb Ondrej Nosek: > > Hi, > > I checked the functionality and for me, it worked. > Could you, please, run it with "-v" debug argument? > fedpkg -v upload ... > > fedpkg -v upload chromium-107.0.5304.110-clean.tar.xz > Creating repo object from /home/than/repos/GIT/fedora/chromium > Uploading: chromium-107.0.5304.110-clean.tar.xz > ######################################################################## > 100.0% > Could not execute upload: Fail to upload files. Server returns status 502 > Traceback (most recent call last): > File "/usr/bin/fedpkg", line 33, in <module> > sys.exit(load_entry_point('fedpkg==1.43', 'console_scripts', > 'fedpkg')()) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > File "/usr/lib/python3.11/site-packages/fedpkg/__main__.py", line 89, in > main > sys.exit(client.args.command()) > ^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/pyrpkg/cli.py", line 2738, in > upload > self.new_sources() > File "/usr/lib/python3.11/site-packages/pyrpkg/cli.py", line 2727, in > new_sources > self.cmd.upload( > File "/usr/lib/python3.11/site-packages/pyrpkg/__init__.py", line 3118, > in upload > self.lookasidecache.upload( > File "/usr/lib/python3.11/site-packages/pyrpkg/lookaside.py", line 353, > in upload > self.raise_upload_error(status) > File "/usr/lib/python3.11/site-packages/pyrpkg/lookaside.py", line 128, > in raise_upload_error > raise UploadError(message, http_status=http_status) > pyrpkg.errors.UploadError: Fail to upload files. Server returns status 502 > > And what are lookaside (and gitbase) addresses in the config > /etc/rpkg/fedpkg.conf ? > The config should not contain any http, but https protocols in URLs. > > > > > lookaside = https://src.fedoraproject.org/repo/pkgs > lookasidehash = sha512 > lookaside_cgi = https://src.fedoraproject.org/repo/pkgs/upload.cgi > lookaside_namespaced = True > > gitbaseurl = ssh://%(user)s...@pkgs.fedoraproject.org/%(repo)s > > On Mon, Nov 21, 2022 at 10:22 AM Than Ngo <t...@redhat.com> wrote: > >> Hi Ondřej, >> >> i have tried to upload new tarball chromium-107.0.5304.110-clean.tar.xz >> (1.6GB) for chromium and got the error: >> >> fedpkg upload chromium-107.0.5304.110-clean.tar.xz >> Uploading: chromium-107.0.5304.110-clean.tar.xz >> ######################################################################## >> 100.0% >> Could not execute upload: Fail to upload files. Server returns status 502 >> >> -- >> >> rpm -q fedora-packager fedpkg curl python3-pycurl libcurl >> fedora-packager-0.6.0.7-1.fc37.noarch >> fedpkg-1.43-2.fc37.noarch >> curl-7.85.0-2.fc37.x86_64 >> python3-pycurl-7.45.1-4.fc37.x86_64 >> libcurl-7.85.0-2.fc37.x86_64 >> libcurl-7.85.0-2.fc37.i686 >> >> -- >> >> Any ideas about what is going on here? >> >> Thanks! >> >> Than >> >> >> _______________________________________________ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue >
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue