{"action":"created","issue":{"url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin/issues/39","repository_url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin","labels_url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin/issues/39/comments","events_url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin/issues/39/events","html_url":"https://github.com/jamesmontemagno/ConnectivityPlugin/issues/39","id":192390901,"number":39,"title":"IsRemoteReachable() does not work if a proxy is set.","user":{"login":"jeremycookhp","id":17459560,"avatar_url":"https://avatars.githubusercontent.com/u/17459560?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremycookhp","html_url":"https://github.com/jeremycookhp","followers_url":"https://api.github.com/users/jeremycookhp/followers","following_url":"https://api.github.com/users/jeremycookhp/following{/other_user}","gists_url":"https://api.github.com/users/jeremycookhp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremycookhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremycookhp/subscriptions","organizations_url":"https://api.github.com/users/jeremycookhp/orgs","repos_url":"https://api.github.com/users/jeremycookhp/repos","events_url":"https://api.github.com/users/jeremycookhp/events{/privacy}","received_events_url":"https://api.github.com/users/jeremycookhp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-29T20:29:35Z","updated_at":"2016-11-30T22:05:03Z","closed_at":null,"body":"For both Android and iOS, if the WIFI connection is configured using a proxy, the IsReachable() and IsRemoteReachable() calls always return false.   UWP seemed to work ok.\r\n\r\nVersion Number of Plugin: 2.2.12\r\nDevice Tested On:  iPhone 6 plus, iOS 9.3.   Android: multiple versions (4.3, 5.0, 6.0)\r\nSimulator Tested On:\r\n\r\n### Expected Behavior\r\nHad hoped that the IsReachable() and IsRemoteReachable() would take into account any system proxy setting, and use that for establishing a connection to determine connectivity.   Since our application will be used often with corporate users that have WIFI connections that need a proxy, we can't reliably use this plug-in to determine connectivity up front.\r\n\r\n### Actual Behavior\r\nCalls to IsReachable() and IsRemoteReachable() will timeout and return false.\r\n\r\n### Steps to reproduce the Behavior\r\nOn an iOS or Android device, configure a connection that uses a proxy to the network.   Verify that the proxy works by checking normal browser connectivity.  Then attempt to use the Connectivity plugin.\r\n\r\n## Feature Request:\r\nAm guessing that since no-one else has reported this, maybe no-one else cares about proxy environments.   Would sure be nice to have this supported.   \r\n\r\nThanks\r\nJeremy"},"comment":{"url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin/issues/comments/264010595","html_url":"https://github.com/jamesmontemagno/ConnectivityPlugin/issues/39#issuecomment-264010595","issue_url":"https://api.github.com/repos/jamesmontemagno/ConnectivityPlugin/issues/39","id":264010595,"user":{"login":"jeremycookhp","id":17459560,"avatar_url":"https://avatars.githubusercontent.com/u/17459560?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremycookhp","html_url":"https://github.com/jeremycookhp","followers_url":"https://api.github.com/users/jeremycookhp/followers","following_url":"https://api.github.com/users/jeremycookhp/following{/other_user}","gists_url":"https://api.github.com/users/jeremycookhp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremycookhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremycookhp/subscriptions","organizations_url":"https://api.github.com/users/jeremycookhp/orgs","repos_url":"https://api.github.com/users/jeremycookhp/repos","events_url":"https://api.github.com/users/jeremycookhp/events{/privacy}","received_events_url":"https://api.github.com/users/jeremycookhp/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T22:05:03Z","updated_at":"2016-11-30T22:05:03Z","body":"I think you could test this by setting up iOS / Android WIFI connections to use a bogus manual proxy.   Setting up a manual proxy is just a matter of editing your WIFI connection and adding a manual proxy.   Point it at any address/port.    Test proxy settings by then trying to use a web-browser to reach a valid site.  It should time out and fail.    Now try testing the IsRemoteReachable() calls on a valid server.  If they succeed, you know that it's not correctly using the proxy settings.\r\n\r\nSince the proxy is specific to HTTP/HTTPS traffic, I think that the implementation of IsRemoteReachable() would need to use some form of an HTTP/HTTPS call to verify true reachability.   "}}
{"actor":{"display_login":"jeremycookhp"}}