{"action":"created","issue":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1008","labels_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1008/labels{/name}","comments_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1008/comments","events_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1008/events","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/1008","id":111411668,"number":1008,"title":"AsyncHttpClient fails silently when encountering a proxy error","user":{"login":"drmaas","id":3291796,"avatar_url":"https://avatars.githubusercontent.com/u/3291796?v=3","gravatar_id":"","url":"https://api.github.com/users/drmaas","html_url":"https://github.com/drmaas","followers_url":"https://api.github.com/users/drmaas/followers","following_url":"https://api.github.com/users/drmaas/following{/other_user}","gists_url":"https://api.github.com/users/drmaas/gists{/gist_id}","starred_url":"https://api.github.com/users/drmaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmaas/subscriptions","organizations_url":"https://api.github.com/users/drmaas/orgs","repos_url":"https://api.github.com/users/drmaas/repos","events_url":"https://api.github.com/users/drmaas/events{/privacy}","received_events_url":"https://api.github.com/users/drmaas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-14T14:33:29Z","updated_at":"2015-10-16T01:29:58Z","closed_at":null,"body":"If I execute a request against a URL that requires a proxy, but do not provide the proxy, using the BoundRequestBuilder, e.g. builder.execute(handler), no error message is logged. When using client.execute(request, handler), a NPE exception is thrown.\r\n\r\nIdeally a proxy exception should be thrown in both cases to indicate the underlying error."},"comment":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/comments/148570598","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/1008#issuecomment-148570598","issue_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/1008","id":148570598,"user":{"login":"drmaas","id":3291796,"avatar_url":"https://avatars.githubusercontent.com/u/3291796?v=3","gravatar_id":"","url":"https://api.github.com/users/drmaas","html_url":"https://github.com/drmaas","followers_url":"https://api.github.com/users/drmaas/followers","following_url":"https://api.github.com/users/drmaas/following{/other_user}","gists_url":"https://api.github.com/users/drmaas/gists{/gist_id}","starred_url":"https://api.github.com/users/drmaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmaas/subscriptions","organizations_url":"https://api.github.com/users/drmaas/orgs","repos_url":"https://api.github.com/users/drmaas/repos","events_url":"https://api.github.com/users/drmaas/events{/privacy}","received_events_url":"https://api.github.com/users/drmaas/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T01:29:58Z","updated_at":"2015-10-16T01:29:58Z","body":"I'll add a stacktrace (or lack thereof) when I'm back behind the proxy tomorrow.\r\n\r\nNo, I don't see a way to reproduce this when not in an org that requires a proxy."}}