{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/warehouse/issues/2533","repository_url":"https://api.github.com/repos/pypa/warehouse","labels_url":"https://api.github.com/repos/pypa/warehouse/issues/2533/labels{/name}","comments_url":"https://api.github.com/repos/pypa/warehouse/issues/2533/comments","events_url":"https://api.github.com/repos/pypa/warehouse/issues/2533/events","html_url":"https://github.com/pypa/warehouse/issues/2533","id":268314203,"number":2533,"title":"\"499 Client Error: Client Disconnected for url: https://upload.pypi.org/legacy/\"","user":{"login":"s-m-e","id":16851110,"avatar_url":"https://avatars0.githubusercontent.com/u/16851110?v=4","gravatar_id":"","url":"https://api.github.com/users/s-m-e","html_url":"https://github.com/s-m-e","followers_url":"https://api.github.com/users/s-m-e/followers","following_url":"https://api.github.com/users/s-m-e/following{/other_user}","gists_url":"https://api.github.com/users/s-m-e/gists{/gist_id}","starred_url":"https://api.github.com/users/s-m-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-m-e/subscriptions","organizations_url":"https://api.github.com/users/s-m-e/orgs","repos_url":"https://api.github.com/users/s-m-e/repos","events_url":"https://api.github.com/users/s-m-e/events{/privacy}","received_events_url":"https://api.github.com/users/s-m-e/received_events","type":"User","site_admin":false},"labels":[{"id":541094596,"url":"https://api.github.com/repos/pypa/warehouse/labels/bug%20:bug:","name":"bug :bug:","color":"fe3f0b","default":false},{"id":401994279,"url":"https://api.github.com/repos/pypa/warehouse/labels/requires%20triaging","name":"requires triaging","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-25T08:46:57Z","updated_at":"2018-02-23T00:26:19Z","closed_at":null,"author_association":"NONE","body":"Original / initial bug reports & discussions:\r\n* In [twine](https://github.com/pypa/twine/issues/263) (unanswered since 2017-07-25)\r\n* In [pypi-legacy](https://github.com/pypa/pypi-legacy/issues/675) (10+ replies, closed by @ewdurbin on 2017-10-24, requesting further discussion here)\r\n\r\n----\r\n\r\n**Synopsis**: Uploading new as well as updating existing python packages on PyPI fails with \"499 Client Error\" from certain networks. Only _production PyPI_ is affected - _pypitest_ on the other hand always accepts uploads. Uploads via both, twine and setuptools, are equally affected. Multiple versions of CPython on multiple operating systems show the same behavior. Altering username or password (to another working account or just complete bogus) has no effect.\r\n\r\n**Workaround**: Re-routing the traffic through another network (proxy) helps. The following example illustrates how to do this with ssh:\r\n```\r\n# first shell\r\nssh -D 8080 some_ssh_server_in_another_network\r\n# second shell\r\npip install -vU requests[socks]\r\nexport http_proxy=socks5://127.0.0.1:8080 https_proxy=socks5://127.0.0.1:8080\r\ntwine upload $filename $filename.asc\r\n```\r\nHosting & cloud providers such as AWS are known to work as proxies (if you have a server there, which you can access via ssh)."},"comment":{"url":"https://api.github.com/repos/pypa/warehouse/issues/comments/367869191","html_url":"https://github.com/pypa/warehouse/issues/2533#issuecomment-367869191","issue_url":"https://api.github.com/repos/pypa/warehouse/issues/2533","id":367869191,"user":{"login":"di","id":294415,"avatar_url":"https://avatars1.githubusercontent.com/u/294415?v=4","gravatar_id":"","url":"https://api.github.com/users/di","html_url":"https://github.com/di","followers_url":"https://api.github.com/users/di/followers","following_url":"https://api.github.com/users/di/following{/other_user}","gists_url":"https://api.github.com/users/di/gists{/gist_id}","starred_url":"https://api.github.com/users/di/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/di/subscriptions","organizations_url":"https://api.github.com/users/di/orgs","repos_url":"https://api.github.com/users/di/repos","events_url":"https://api.github.com/users/di/events{/privacy}","received_events_url":"https://api.github.com/users/di/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T00:26:19Z","updated_at":"2018-02-23T00:26:19Z","author_association":"MEMBER","body":"@caseyjlaw Would you also be able to provide us with a copy of the distribution you are trying to upload? (Or a recent commit at https://github.com/caseyjlaw/realfast that we could test from would work too)"}}
{"actor":{"display_login":"di"}}