{"action":"created","issue":{"url":"https://api.github.com/repos/aio-libs/aiohttp/issues/3075","repository_url":"https://api.github.com/repos/aio-libs/aiohttp","labels_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/3075/labels{/name}","comments_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/3075/comments","events_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/3075/events","html_url":"https://github.com/aio-libs/aiohttp/issues/3075","id":331503291,"node_id":"MDU6SXNzdWUzMzE1MDMyOTE=","number":3075,"title":"trust_env doesn't works","user":{"login":"cartosco","id":2962372,"node_id":"MDQ6VXNlcjI5NjIzNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2962372?v=4","gravatar_id":"","url":"https://api.github.com/users/cartosco","html_url":"https://github.com/cartosco","followers_url":"https://api.github.com/users/cartosco/followers","following_url":"https://api.github.com/users/cartosco/following{/other_user}","gists_url":"https://api.github.com/users/cartosco/gists{/gist_id}","starred_url":"https://api.github.com/users/cartosco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartosco/subscriptions","organizations_url":"https://api.github.com/users/cartosco/orgs","repos_url":"https://api.github.com/users/cartosco/repos","events_url":"https://api.github.com/users/cartosco/events{/privacy}","received_events_url":"https://api.github.com/users/cartosco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-12T09:13:42Z","updated_at":"2018-06-12T09:58:58Z","closed_at":null,"author_association":"NONE","body":"## Long story short\r\n\r\nPassing trust_env=True in ClientSession doesn't works\r\n\r\n## Expected behaviour\r\n\r\nTry to connect to proxy\r\n\r\n## Actual behaviour\r\n\r\nDoesn't connect to proxy\r\n\r\n## Steps to reproduce\r\n\r\ntrust_env=True\r\n\r\nenv Vars setted http_proxy HTTP_PROXY https_proxy and HTTPS_PROXY\r\nclient connect directly to endpoint instead to connect with proxy\r\n\r\nIf I set proxy=http://myproxy.es the client works and try to connect with proxy but with trust_env method doesn't work\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aio-libs/aiohttp/issues/comments/396535238","html_url":"https://github.com/aio-libs/aiohttp/issues/3075#issuecomment-396535238","issue_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/3075","id":396535238,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjUzNTIzOA==","user":{"login":"asvetlov","id":356399,"node_id":"MDQ6VXNlcjM1NjM5OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/356399?v=4","gravatar_id":"","url":"https://api.github.com/users/asvetlov","html_url":"https://github.com/asvetlov","followers_url":"https://api.github.com/users/asvetlov/followers","following_url":"https://api.github.com/users/asvetlov/following{/other_user}","gists_url":"https://api.github.com/users/asvetlov/gists{/gist_id}","starred_url":"https://api.github.com/users/asvetlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asvetlov/subscriptions","organizations_url":"https://api.github.com/users/asvetlov/orgs","repos_url":"https://api.github.com/users/asvetlov/repos","events_url":"https://api.github.com/users/asvetlov/events{/privacy}","received_events_url":"https://api.github.com/users/asvetlov/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T09:58:58Z","updated_at":"2018-06-12T09:58:58Z","author_association":"MEMBER","body":"The problem is https://myproxy.es proxy for `HTTPS_PROXY` env var. \r\naiohttp doesn't support it.\r\nIf you enable logging you'll see `\"HTTPS proxies %s are not supported, ignoring\"`.\r\nUse `http://myproxy.es` as the value."}}
{"actor":{"display_login":"asvetlov"}}