Skip to content

Problems with Python app using uwsgi inside a docker container #301

Description

@ribx

I am running my python application inside a docker container and wanted to run some automatic testing.

When I use --interactive true and wait a second between the calls, everything runs fine, but otherwise I get the following error:

* We are completely uploaded and fine
* Connection died, retrying a fresh connect
* necessary data rewind wasn't possible
* Closing connection 5
ERROR:Test Failed: Testseries object PUT (change object) URL=http://127.0.0.1:3000/api/v1/endpoint Group=Default HTTP Status Code: None
ERROR:Test Failure, failure type: Curl Exception, Reason: Curl Exception: (65, "necessary data rewind wasn't possible")
ERROR:Validator/Error details:Traceback (most recent call last):
  File "~/.virtualenvs/project/lib/python3.5/site-packages/pyresttest/resttest.py", line 351, in run_test
    curl.perform()  # Run the actual call
pycurl.error: (65, "necessary data rewind wasn't possible")

I am running 90 tests and it is not deteministic, which one will fail with this error message.

Using my javascript frontend I never experience such a problem. The software is running for over one year in production.

I guess this is somehow connected to the docker proxy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions