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

Frontend traceback: Partial results are valid but processing is incomplete #3459

Open
praiskup opened this issue Oct 7, 2024 · 0 comments
Open

Comments

@praiskup
Copy link
Member

praiskup commented Oct 7, 2024

mod_wsgi (pid=588837): Request data read error when proxying data to daemon process: The timeout specified has expired., referer: https://copr.fedorainfracloud.org/coprs/ligenix/enterprise-ipu6/add_build_upload/
ERROR:coprs:Admin-only exception
Request: POST https://copr.fedorainfracloud.org/coprs/ligenix/enterprise-ipu6/new_build_upload/
User: ligenix
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/werkzeug/wsgi.py", line 993, in read
    read = self._read(to_read)
           ^^^^^^^^^^^^^^^^^^^
OSError: Apache/mod_wsgi request data read error: Partial results are valid but processing is incomplete.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/werkzeug/formparser.py", line 140, in wrapper
    return f(self, stream, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/formparser.py", line 296, in _parse_multipart
    form, files = parser.parse(stream, boundary, content_length)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/formparser.py", line 428, in parse
    for data in iterator:
  File "/usr/lib/python3.12/site-packages/werkzeug/wsgi.py", line 689, in _make_chunk_iter
    item = _read(buffer_size)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/wsgi.py", line 995, in read
    return self.on_disconnect()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/wsgi.py", line 929, in on_disconnect
    raise ClientDisconnected()
werkzeug.exceptions.ClientDisconnected: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/copr/coprs_frontend/coprs/views/misc.py", line 172, in decorated_function
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/share/copr/coprs_frontend/coprs/views/misc.py", line 207, in wrapper
    return f(copr, **kwargs)
           ^^^^^^^^^^^^^^^^^
  File "/usr/share/copr/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py", line 419, in copr_new_build_upload
    return process_new_build_upload(copr, view, url_on_success)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/copr/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py", line 431, in process_new_build_upload
    form = forms.BuildFormUploadFactory(copr.active_chroots)()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/wtforms/form.py", line 208, in __call__
    return type.__call__(cls, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/flask_wtf/form.py", line 73, in __init__
    super().__init__(formdata=formdata, **kwargs)
  File "/usr/lib/python3.12/site-packages/wtforms/form.py", line 286, in __init__
    self.process(formdata, obj, data=data, **kwargs)
  File "/usr/lib/python3.12/site-packages/wtforms/form.py", line 106, in process
    formdata = self.meta.wrap_formdata(self, formdata)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/flask_wtf/form.py", line 55, in wrap_formdata
    if request.files:
       ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/utils.py", line 109, in __get__
    value = self.fget(obj)  # type: ignore
            ^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/wrappers/request.py", line 488, in files
    self._load_form_data()
  File "/usr/lib/python3.12/site-packages/flask/wrappers.py", line 112, in _load_form_data
    super()._load_form_data()
  File "/usr/lib/python3.12/site-packages/werkzeug/wrappers/request.py", line 274, in _load_form_data
    data = parser.parse(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/formparser.py", line 268, in parse
    return parse_func(self, stream, mimetype, content_length, options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/werkzeug/formparser.py", line 148, in wrapper
    chunk = stream.read(1024 * 64)
            ^^^^^^^^^^^^^^^^^^^^^^
OSError: Apache/mod_wsgi request data read error: Input is already in error state.
ERROR:coprs:Response error: 500 Request wasn't successful, there is probably a bug in the Copr code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant