{"action":"created","issue":{"url":"https://api.github.com/repos/blue-yonder/devpi-builder/issues/94","repository_url":"https://api.github.com/repos/blue-yonder/devpi-builder","labels_url":"https://api.github.com/repos/blue-yonder/devpi-builder/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/blue-yonder/devpi-builder/issues/94/comments","events_url":"https://api.github.com/repos/blue-yonder/devpi-builder/issues/94/events","html_url":"https://github.com/blue-yonder/devpi-builder/issues/94","id":142134468,"number":94,"title":"HTTP Auth does not work","user":{"login":"aadis","id":28715,"avatar_url":"https://avatars.githubusercontent.com/u/28715?v=3","gravatar_id":"","url":"https://api.github.com/users/aadis","html_url":"https://github.com/aadis","followers_url":"https://api.github.com/users/aadis/followers","following_url":"https://api.github.com/users/aadis/following{/other_user}","gists_url":"https://api.github.com/users/aadis/gists{/gist_id}","starred_url":"https://api.github.com/users/aadis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aadis/subscriptions","organizations_url":"https://api.github.com/users/aadis/orgs","repos_url":"https://api.github.com/users/aadis/repos","events_url":"https://api.github.com/users/aadis/events{/privacy}","received_events_url":"https://api.github.com/users/aadis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blue-yonder/devpi-builder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/blue-yonder/devpi-builder/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-20T06:33:08Z","updated_at":"2016-04-20T09:42:37Z","closed_at":null,"body":"We protect our devpi server with HTTP Auth. When trying to use devpi-builder to build and upload packages run into the following issue:\r\n```\r\n$ devpi-builder dev-requirements.txt 'https://foo:bar@pypi.example.com/user/prod/+simple/' 'user' pass \r\nTraceback (most recent call last):\r\n  File \"/home/aaditya/.virtualenvs/c/bin/devpi-builder\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/aaditya/.virtualenvs/c/local/lib/python2.7/site-packages/devpi_builder/cli.py\", line 106, in main\r\n    with wheeler.Builder() as builder, DevpiClient(args.index, args.user, args.password) as devpi_client:\r\n  File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\r\n    return self.gen.next()\r\n  File \"/home/aaditya/.virtualenvs/c/local/lib/python2.7/site-packages/devpi_plumber/client.py\", line 33, in DevpiClient\r\n    wrapper.login(user, password)\r\n  File \"/home/aaditya/.virtualenvs/c/local/lib/python2.7/site-packages/devpi_plumber/client.py\", line 71, in login\r\n    return self._execute('login', user, '--password', password)\r\n  File \"/home/aaditya/.virtualenvs/c/local/lib/python2.7/site-packages/devpi_plumber/client.py\", line 62, in _execute\r\n    raise DevpiClientError(output.getvalue())\r\ndevpi_plumber.client.DevpiClientError: WARN: devpi-client-2.5.0 got an unversioned reply, assuming API-VERSION 2 (as implemented by devpi-server-2.0)\r\nPOST http://pypi.example.com/+login\r\n401 Unauthorized: <html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>401 Authorization Required</h1></center>\r\n<hr><center>nginx/1.2.1</center>\r\n</body>\r\n</html>\r\n```\r\n\r\nThe other issue about using devpi login would solve this I believe. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/blue-yonder/devpi-builder/issues/comments/212353555","html_url":"https://github.com/blue-yonder/devpi-builder/issues/94#issuecomment-212353555","issue_url":"https://api.github.com/repos/blue-yonder/devpi-builder/issues/94","id":212353555,"user":{"login":"theMarix","id":1125055,"avatar_url":"https://avatars.githubusercontent.com/u/1125055?v=3","gravatar_id":"","url":"https://api.github.com/users/theMarix","html_url":"https://github.com/theMarix","followers_url":"https://api.github.com/users/theMarix/followers","following_url":"https://api.github.com/users/theMarix/following{/other_user}","gists_url":"https://api.github.com/users/theMarix/gists{/gist_id}","starred_url":"https://api.github.com/users/theMarix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theMarix/subscriptions","organizations_url":"https://api.github.com/users/theMarix/orgs","repos_url":"https://api.github.com/users/theMarix/repos","events_url":"https://api.github.com/users/theMarix/events{/privacy}","received_events_url":"https://api.github.com/users/theMarix/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T09:42:37Z","updated_at":"2016-04-20T09:42:37Z","body":"I just created a small test to verify the hypothesis about `_extract_server_url` being the issue. This does not seem to be the case, though. https://travis-ci.org/theMarix/devpi-plumber/builds/124422744"}}