pypi-server
pypi-server copied to clipboard
Error while uploading using twine
While uploading, I get the following server error:
[I 200426 03:32:00 http1connection:253] Malformed HTTP message from 192.168.59.13: Content-Length too long
Using the following to upload the whl file
python3 -m twine upload --repository-url=http://x.x.x.x:5555/pypi --verbose -u=user -p=pwd pkg.whl
I’m running it in docker. How do I restart the Docker with the changes? Using the docker compose file isn’t working for me.
If you look closely at the code in the comment above you will find out the environment variable name
I set the docker environment variable and started a new docker image. I still have the same issue. I can see the new environment variable in the docker bash.
Any updates @mosquito ?
@CatsNipYummy , The line that @mosquito linked was for the PyPi.org proxy I beleive. Try setting max_body_size param in server init line and see if that resolves your issue.