Skip to content

mirroring does not work when accessed from host machine. #6

@bhanuvrat

Description

@bhanuvrat

when running from the host machine, pip complains as follows:

➜  ~  pip install -i http://192.168.99.100:3141/root/pypi/ --upgrade flask
Collecting flask
  The repository located at 192.168.99.100 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host 192.168.99.100'.
  Could not find a version that satisfies the requirement flask (from versions: )
No matching distribution found for flask
➜  ~

while the devpi server running inside the container prints out:

devpi_1    | 2015-10-14 11:04:40,368 INFO  [req18] GET /root/pypi/flask/
devpi_1    | 2015-10-14 11:04:40,375 INFO  [req19] GET /root/pypi/+simple/Flask

At the same time, when requested from inside a container tho whole thing works flawlessly.
bug, or am I missing something very obvious?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions