{"action":"created","issue":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1054","labels_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1054/labels{/name}","comments_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1054/comments","events_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1054/events","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/1054","id":121018936,"number":1054,"title":"Non preemptive proxy auth is broken over HTTPS (1.9 only)","user":{"login":"IskanderMustafin","id":2435892,"avatar_url":"https://avatars.githubusercontent.com/u/2435892?v=3","gravatar_id":"","url":"https://api.github.com/users/IskanderMustafin","html_url":"https://github.com/IskanderMustafin","followers_url":"https://api.github.com/users/IskanderMustafin/followers","following_url":"https://api.github.com/users/IskanderMustafin/following{/other_user}","gists_url":"https://api.github.com/users/IskanderMustafin/gists{/gist_id}","starred_url":"https://api.github.com/users/IskanderMustafin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IskanderMustafin/subscriptions","organizations_url":"https://api.github.com/users/IskanderMustafin/orgs","repos_url":"https://api.github.com/users/IskanderMustafin/repos","events_url":"https://api.github.com/users/IskanderMustafin/events{/privacy}","received_events_url":"https://api.github.com/users/IskanderMustafin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/labels/Contributions%20Welcome!","name":"Contributions Welcome!","color":"fbca04"},{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/labels/Defect","name":"Defect","color":"e11d21"},{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/labels/Netty","name":"Netty","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/milestones/65","html_url":"https://github.com/AsyncHttpClient/async-http-client/milestones/1.9.32","labels_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/milestones/65/labels","id":1299330,"number":65,"title":"1.9.32","description":"","creator":{"login":"slandelle","id":849197,"avatar_url":"https://avatars.githubusercontent.com/u/849197?v=3","gravatar_id":"","url":"https://api.github.com/users/slandelle","html_url":"https://github.com/slandelle","followers_url":"https://api.github.com/users/slandelle/followers","following_url":"https://api.github.com/users/slandelle/following{/other_user}","gists_url":"https://api.github.com/users/slandelle/gists{/gist_id}","starred_url":"https://api.github.com/users/slandelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slandelle/subscriptions","organizations_url":"https://api.github.com/users/slandelle/orgs","repos_url":"https://api.github.com/users/slandelle/repos","events_url":"https://api.github.com/users/slandelle/events{/privacy}","received_events_url":"https://api.github.com/users/slandelle/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2015-09-10T12:56:39Z","updated_at":"2015-12-18T17:59:49Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-12-08T14:32:54Z","updated_at":"2015-12-23T21:41:13Z","closed_at":null,"body":"Hello, I have a problem with using proxy servers in 1.9.x branch of AsyncHttpClient.\r\n\r\nI'm setting proxy server, and it works OK with HTTP protocol, but when I'm requesting HTTPS pages proxy isn't used (it uses my local IP, not proxy IP address). \r\n\r\nThis is example code I'm using:  \r\n\r\n```\r\nprivate AsyncHttpClientConfig cfg = new AsyncHttpClientConfig.Builder( ).\r\n                setConnectTimeout( 20000 ).\r\n                setRequestTimeout( 20000 ).\r\n                setWebSocketTimeout(20000).\r\n                setMaxRequestRetry(3).\r\n                setReadTimeout( 20000 ).\r\n                setAcceptAnyCertificate( true ).\r\n                build( )\r\n\r\n   private AsyncHttpClient  client = new AsyncHttpClient( cfg )\r\n\r\n\r\n  client.prepareGet( url ).\r\n                 setProxyServer( new ProxyServer( ProxyServer.Protocol.HTTP, \"myproxyurl\", 2222, \"principal\", \"password\" ) ).\r\n                 execute( ).\r\n                 get()\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/comments/166996466","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/1054#issuecomment-166996466","issue_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1054","id":166996466,"user":{"login":"slandelle","id":849197,"avatar_url":"https://avatars.githubusercontent.com/u/849197?v=3","gravatar_id":"","url":"https://api.github.com/users/slandelle","html_url":"https://github.com/slandelle","followers_url":"https://api.github.com/users/slandelle/followers","following_url":"https://api.github.com/users/slandelle/following{/other_user}","gists_url":"https://api.github.com/users/slandelle/gists{/gist_id}","starred_url":"https://api.github.com/users/slandelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slandelle/subscriptions","organizations_url":"https://api.github.com/users/slandelle/orgs","repos_url":"https://api.github.com/users/slandelle/repos","events_url":"https://api.github.com/users/slandelle/events{/privacy}","received_events_url":"https://api.github.com/users/slandelle/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T21:41:13Z","updated_at":"2015-12-23T21:41:13Z","body":"No, AHC 2 is still undocumented (in Release Candidate phase)."}}