Skip to content

Very large form conversion fails due to timeout #171

@yanokwa

Description

@yanokwa

When I upload a 1.6MB XLSForm on the test server, it fails with "Something went wrong: the server returned an invalid error."

The pyxform and service containers don't show any errors, but the nginx container does.

nginx | 2020/10/13 21:14:23 [error] 55#55: *30951 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 99.145.234.152, server: , request: "POST /v1/projects/102/forms HTTP/1.1", upstream: "http://172.18.0.7:8383/v1/projects/102/forms", host: "test.central.getodk.org", referrer: "https://test.central.getodk.org/"

The XML version uploads just fine.

Obviously something is timing out, but I don't know yet where the timeout is happening. Findings so far...

  • pyxform 1.2.0 converts the form just fine on my local machine. Slow, but works.
  • pyform-http (pyxform 1.2.0/waitress 1.4.4) on my local machine running in Docker works great with an HTTP post. Takes 6 minutes, but still works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions