{"action":"created","issue":{"url":"https://api.github.com/repos/braintree/braintree_php/issues/5","repository_url":"https://api.github.com/repos/braintree/braintree_php","labels_url":"https://api.github.com/repos/braintree/braintree_php/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree_php/issues/5/comments","events_url":"https://api.github.com/repos/braintree/braintree_php/issues/5/events","html_url":"https://github.com/braintree/braintree_php/issues/5","id":2211119,"number":5,"title":"Testing network failure causes SSL exception","user":{"login":"zombor","id":170538,"avatar_url":"https://avatars.githubusercontent.com/u/170538?v=3","gravatar_id":"","url":"https://api.github.com/users/zombor","html_url":"https://github.com/zombor","followers_url":"https://api.github.com/users/zombor/followers","following_url":"https://api.github.com/users/zombor/following{/other_user}","gists_url":"https://api.github.com/users/zombor/gists{/gist_id}","starred_url":"https://api.github.com/users/zombor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zombor/subscriptions","organizations_url":"https://api.github.com/users/zombor/orgs","repos_url":"https://api.github.com/users/zombor/repos","events_url":"https://api.github.com/users/zombor/events{/privacy}","received_events_url":"https://api.github.com/users/zombor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2011-11-11T16:44:51Z","updated_at":"2016-04-04T15:06:45Z","closed_at":"2011-11-13T17:53:52Z","body":"I'm trying to test cases where the braintree gateway is unavailable (host down, dns failure, etc), and I get a Braintree_Exception_SSLCertificate exception because of:\r\n\r\nhttps://github.com/braintree/braintree_php/blob/master/lib/Braintree/Http.php#L94\r\n\r\nIt seems like it should be testing if $result is empty, and throw a different kind of exception."},"comment":{"url":"https://api.github.com/repos/braintree/braintree_php/issues/comments/205340501","html_url":"https://github.com/braintree/braintree_php/issues/5#issuecomment-205340501","issue_url":"https://api.github.com/repos/braintree/braintree_php/issues/5","id":205340501,"user":{"login":"kbdavis07","id":5434970,"avatar_url":"https://avatars.githubusercontent.com/u/5434970?v=3","gravatar_id":"","url":"https://api.github.com/users/kbdavis07","html_url":"https://github.com/kbdavis07","followers_url":"https://api.github.com/users/kbdavis07/followers","following_url":"https://api.github.com/users/kbdavis07/following{/other_user}","gists_url":"https://api.github.com/users/kbdavis07/gists{/gist_id}","starred_url":"https://api.github.com/users/kbdavis07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbdavis07/subscriptions","organizations_url":"https://api.github.com/users/kbdavis07/orgs","repos_url":"https://api.github.com/users/kbdavis07/repos","events_url":"https://api.github.com/users/kbdavis07/events{/privacy}","received_events_url":"https://api.github.com/users/kbdavis07/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T15:06:44Z","updated_at":"2016-04-04T15:06:44Z","body":"I am getting this error with WHMCS.\r\n\r\nmodules\\gateways\\braintree\\lib\\Braintree\\Http.php:94\r\n\r\nHad this been fixed?"}}