Skip to content

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Mar 3, 2025

CI tests are failing with:

System.Net.Http.HttpRequestException : net_http_message_not_success_statuscode_reason, 503, Service Temporarily Unavailable
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Xamarin.Android.NetTests.AndroidHandlerTestBase.EnsureSuccessStatusCode(HttpResponseMessage response)
   at Xamarin.Android.NetTests.AndroidHandlerTestBase.Redirect_POST_With_Content_Works()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )

Add several additional HTTP 50X codes that indicate temporary network/server failures to the list of status codes that should be ignored in EnsureSuccessStatusCode.

@jpobst jpobst force-pushed the dev/jpobst/http-500 branch from 51bd5a9 to e6fac1e Compare March 4, 2025 20:10
@jpobst jpobst marked this pull request as ready for review March 4, 2025 22:53
@jpobst jpobst requested a review from jonpryor as a code owner March 4, 2025 22:53
@jpobst jpobst requested a review from pjcollins March 4, 2025 22:53
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw some of these on PRs yesterday. 👍

@jonathanpeppers jonathanpeppers merged commit 455ec0a into main Mar 5, 2025
58 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/jpobst/http-500 branch March 5, 2025 14:42
@github-actions github-actions bot locked and limited conversation to collaborators Apr 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants