-
Notifications
You must be signed in to change notification settings - Fork 141
400 Bad Request when uploading to server #195
Comments
I tried running |
I have similar problem when trying to upload
I was trying to upload Python build of this project: https://github.com/facebookresearch/fastText. I think this is not a problem with Twine because I cannot upload |
I tried uploading that file and it seems to work fine for me with S3 on the backend. My guess is there may be some sort of connection issue? Check the server logs and see if they have any more information. From the twine client it seems like the TCP connection is being broken during the upload process, but there's no clue as to what may be happening on the server side that causes that. |
I am trying to run pypicloud on an EC2 instance. The UI works fine and I can log in, upload and fetch there just fine, however, I can't seem to search or upload packages.
For example, when I try to upload a package like:
I get
HTTPError: 400 Client Error: Bad Request for url: http://<domainname>/pypi
I have already configured my .pypirc file as mentioned here and confirmed that I get a 401 unauthorized error if I try to upload a package with a non-existent user. I have set
pypi.default_write = authenticated
and am also logging in using admin credentials. I have also tried the/pypi
and/simple
endpoints but I still keep getting the 400 error.Any ideas?
Here is my server.ini
The text was updated successfully, but these errors were encountered: