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

404 error while uploading package #53

Open
k0nsta opened this issue Aug 28, 2020 · 1 comment
Open

404 error while uploading package #53

k0nsta opened this issue Aug 28, 2020 · 1 comment

Comments

@k0nsta
Copy link

k0nsta commented Aug 28, 2020

Hi guys!

I can't understand what is wrong:

my .pypirc

[distutils]
index-servers =
  pserver


[pserver]
repository: http://123.12.12.12:8050/pypi
username: user
password: password

I use an external DB and run server as a docker container:

docker run -p 8050:80 --restart=always -v /home/ubuntu/pypackages:/var/lib/pypi-server -e 'postgres://pg_user@111.11.11.111/pypi_server' -d mosquito/pypi-server:latest

Then I run python setup.py sdist register upload -r pserver and got error:

Submitting dist/mypackage-1.0.0.tar.gz to http://123.12.12.12:8050/pypi
Upload failed (404): Not Found
error: Upload failed (404): Not Found

The server log:

[W 200828 16:21:23 httputil:774] multipart/form-data missing headers
[I 200828 16:21:23 package:242] Calling action: file_upload
[W 200828 16:21:24 web:2064] 404 POST /pypi (172.31.25.168) 515.85ms
@akashkroy
Copy link

Any update on this ? I am having the same 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

2 participants