{"action":"created","issue":{"url":"https://api.github.com/repos/scrapinghub/docker-devpi/issues/6","labels_url":"https://api.github.com/repos/scrapinghub/docker-devpi/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/scrapinghub/docker-devpi/issues/6/comments","events_url":"https://api.github.com/repos/scrapinghub/docker-devpi/issues/6/events","html_url":"https://github.com/scrapinghub/docker-devpi/issues/6","id":111376058,"number":6,"title":"mirroring does not work when accessed from host machine.","user":{"login":"bhanuvrat","id":499894,"avatar_url":"https://avatars.githubusercontent.com/u/499894?v=3","gravatar_id":"","url":"https://api.github.com/users/bhanuvrat","html_url":"https://github.com/bhanuvrat","followers_url":"https://api.github.com/users/bhanuvrat/followers","following_url":"https://api.github.com/users/bhanuvrat/following{/other_user}","gists_url":"https://api.github.com/users/bhanuvrat/gists{/gist_id}","starred_url":"https://api.github.com/users/bhanuvrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhanuvrat/subscriptions","organizations_url":"https://api.github.com/users/bhanuvrat/orgs","repos_url":"https://api.github.com/users/bhanuvrat/repos","events_url":"https://api.github.com/users/bhanuvrat/events{/privacy}","received_events_url":"https://api.github.com/users/bhanuvrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T11:08:07Z","updated_at":"2015-10-20T17:54:56Z","closed_at":null,"body":"when running from the host machine, pip complains as follows:\r\n\r\n    ➜  ~  pip install -i http://192.168.99.100:3141/root/pypi/ --upgrade flask\r\n    Collecting flask\r\n      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'.\r\n      Could not find a version that satisfies the requirement flask (from versions: )\r\n    No matching distribution found for flask\r\n    ➜  ~\r\nwhile the devpi server running inside the container prints out:\r\n\r\n    devpi_1    | 2015-10-14 11:04:40,368 INFO  [req18] GET /root/pypi/flask/\r\n    devpi_1    | 2015-10-14 11:04:40,375 INFO  [req19] GET /root/pypi/+simple/Flask\r\n\r\nAt the same time, when requested from inside a container tho whole thing works flawlessly.\r\nbug, or am I missing something very obvious?"},"comment":{"url":"https://api.github.com/repos/scrapinghub/docker-devpi/issues/comments/149647212","html_url":"https://github.com/scrapinghub/docker-devpi/issues/6#issuecomment-149647212","issue_url":"https://api.github.com/repos/scrapinghub/docker-devpi/issues/6","id":149647212,"user":{"login":"dangra","id":37369,"avatar_url":"https://avatars.githubusercontent.com/u/37369?v=3","gravatar_id":"","url":"https://api.github.com/users/dangra","html_url":"https://github.com/dangra","followers_url":"https://api.github.com/users/dangra/followers","following_url":"https://api.github.com/users/dangra/following{/other_user}","gists_url":"https://api.github.com/users/dangra/gists{/gist_id}","starred_url":"https://api.github.com/users/dangra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangra/subscriptions","organizations_url":"https://api.github.com/users/dangra/orgs","repos_url":"https://api.github.com/users/dangra/repos","events_url":"https://api.github.com/users/dangra/events{/privacy}","received_events_url":"https://api.github.com/users/dangra/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T17:54:56Z","updated_at":"2015-10-20T17:54:56Z","body":"if you put devpi behind a https url (with valid certificate) it won't complain. "}}