You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/11/05 16:47:34 UTC

[jira] [Resolved] (CB-7939) Android CordovaChromeClient doesn't respect Wifi proxy bypass list

     [ https://issues.apache.org/jira/browse/CB-7939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-7939.
-------------------------------
    Resolution: Won't Fix
      Assignee: Andrew Grieve

Looks like this is as you suspected, a bug in the system webview. Looks like it's fixed upstream though (in M39):

https://codereview.chromium.org/421493002/

Not sure if this change is in Android L (guess we'll find out soon though), and should be picked up by Crosswalk once they have an M39 branch.

> Android CordovaChromeClient doesn't respect Wifi proxy bypass list
> ------------------------------------------------------------------
>
>                 Key: CB-7939
>                 URL: https://issues.apache.org/jira/browse/CB-7939
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.5.0
>         Environment: Android 4.4.2
>            Reporter: Jon Tancer
>            Assignee: Andrew Grieve
>              Labels: android, proxy, webview
>
> When running a cordova app on an Android 4.4.2 device, the device does not respect the "Bypass proxy for:" list in the device's WiFi settings.
> My ajax request ultimately fails, because authentication to the proxy fails.  The end points I am requesting are internal servers which are listed as exclusions in the setting mentioned above, so they should never be going through the proxy and ultimately failing.
> My listed exclusions are:
> company.com,subdomain.company.com
> Changing the Wifi exclusion setting to only include hostname.subdomain.company.com fixes the issue, but this is not a feasible.
> This issue is not present in older versions of Android, holding all other variables constant.  The issue is also not present when creating a HttpURLConnection in native java code, it only happens with ajax requests through javascript.  This leads me to believe it has something to do with the Chrome WebView which was introduced in Android 4.4 KitKat.
> Any ideas?  Can the proxy exclusion be manually over ridden from the app?
> More details about the Chrome Web View here:
> https://developer.chrome.com/multidevice/webview/overview



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org