Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

Proxy and uploading not working #11

@mattrei

Description

@mattrei

Hi,

I installed Flask Proxy succesfully.
I just figured out in your documentation that you also have to set the group of the proxy-pypi user to apache (at least here on RHEL).

However it seems I have no luck: downloading and uploading packages just do not work.

Uploading: pip gives me a "Upload failed (405): METHOD NOT ALLOWED" when using the pip command.

Downloading: i have set to timeout to 60 according the docs but it just does not download it, says no distribution found.
The Flask Pypi log for instance for pip install -i https://myserver/simple Django just shows

2013-07-09 11:39:23,783 [DEBUG] Requesting index for: Django
2013-07-09 11:39:23,783 [DEBUG] Didnt found package: Django in local repository. Using proxy.
2013-07-09 11:39:23,825 [INFO] Starting new HTTP connection (1): pypi.python.org
2013-07-09 11:39:23,954 [DEBUG] "GET /simple/Django/ HTTP/1.1" 301 0
2013-07-09 11:39:23,957 [INFO] Starting new HTTPS connection (1): pypi.python.org
2013-07-09 11:39:24,108 [DEBUG] "GET /simple/Django/ HTTP/1.1" 200 957
2013-07-09 11:39:24,110 [DEBUG] The url was redirected
2013-07-09 11:39:38,999 [DEBUG] Requesting index for: Django
2013-07-09 11:39:39,000 [DEBUG] Didnt found package: Django in local repository. Using proxy.
2013-07-09 11:39:39,036 [INFO] Starting new HTTP connection (1): pypi.python.org
2013-07-09 11:39:39,099 [DEBUG] "GET /simple/Django/ HTTP/1.1" 301 0
2013-07-09 11:39:39,101 [INFO] Starting new HTTPS connection (1): pypi.python.org
2013-07-09 11:39:39,250 [DEBUG] "GET /simple/Django/ HTTP/1.1" 200 957
2013-07-09 11:39:39,251 [DEBUG] The url was redirected
2013-07-09 11:40:19,144 [DEBUG] Requesting index for: Django
2013-07-09 11:40:19,145 [DEBUG] Didnt found package: Django in local repository. Using proxy.
2013-07-09 11:40:19,170 [INFO] Starting new HTTP connection (1): pypi.python.org
2013-07-09 11:40:19,422 [DEBUG] "GET /simple/Django/ HTTP/1.1" 301 0
2013-07-09 11:40:19,424 [INFO] Starting new HTTPS connection (1): pypi.python.org
2013-07-09 11:40:19,576 [DEBUG] "GET /simple/Django/ HTTP/1.1" 200 957
2013-07-09 11:40:19,577 [DEBUG] The url was redirected
2013-07-09 11:41:20,235 [DEBUG] Requesting index for: Django
2013-07-09 11:41:20,235 [DEBUG] Didnt found package: Django in local repository. Using proxy.
2013-07-09 11:41:20,278 [INFO] Starting new HTTP connection (1): pypi.python.org
2013-07-09 11:41:20,376 [DEBUG] "GET /simple/Django/ HTTP/1.1" 301 0
2013-07-09 11:41:20,378 [INFO] Starting new HTTPS connection (1): pypi.python.org
2013-07-09 11:41:20,527 [DEBUG] "GET /simple/Django/ HTTP/1.1" 200 957
2013-07-09 11:41:20,529 [DEBUG] The url was redirected

Firewall etc. not running.

Thank you,
Matthias

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