-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default Android OS proxy is ignored #3058
Comments
The cause of this issue is at https://github.com/xamarin/xamarin-android/blob/756117040ef85fd7d6c9ae5c7afe218da6cae734/src/Mono.Android/Xamarin.Android.Net/AndroidClientHandler.cs#L263 and changed with bf07044
|
For future reference: |
The solution here would be to not return |
@grendello when you have a chance to take a look, @SamuelDeBruyn sent a PR for this one. |
Is there any way to backport this in Xamarin.Android 9.3 or 9.4? Our QA team depends on proxy to test different scenarios, and we cannot use 9.1 because of this: https://developercommunity.visualstudio.com/content/problem/399276/missing-method-bindings-in-androidhardwarebiometri.html |
Release status update for the candidate fix A new Release version has now been published that includes the fix for this item. Fix included in Xamarin.Android 10.0.0.43 Fix included on Windows in Visual Studio 2019 version 16.3. To get the new version that includes the fix, check for the latest updates or install the latest version from https://visualstudio.microsoft.com/downloads/. Fix included on macOS in Visual Studio 2019 for Mac version 8.3. To get the new version that includes the fix, check for the latest updates on the Stable updater channel. |
Steps to Reproduce
HttpClient
and perform an HTTP requestRepro project: https://github.com/3factr/xamarin-android-proxy-issue
Workaround:
workaround
branchExpected Behavior
The request goes through the system OS defined proxy.
Actual Behavior
The request ignores the proxy.
Temporary workaround
You can define a proxy yourself on the
AndroidClientHandler
. This proxy is then correctly used. This is not feasible for us. We use Charles to intercept HTTP traffic after the app is built and this is no longer possible.Version Information
The issue did not occur in Xamarin.Android 8.
Log File
N/A
The text was updated successfully, but these errors were encountered: