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

Error while uploading using twine #50

Open
CatsNipYummy opened this issue Apr 26, 2020 · 6 comments
Open

Error while uploading using twine #50

CatsNipYummy opened this issue Apr 26, 2020 · 6 comments

Comments

@CatsNipYummy
Copy link

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

@mosquito
Copy link
Owner

Just increate max body size

@CatsNipYummy
Copy link
Author

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.

@mosquito
Copy link
Owner

If you look closely at the code in the comment above you will find out the environment variable name

@CatsNipYummy
Copy link
Author

CatsNipYummy commented Apr 28, 2020

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.

@CatsNipYummy
Copy link
Author

Any updates @mosquito ?

@evansano
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants