Closed bmpcon closed 5 years ago
This line needs to specify an invariant culture: https://github.com/aspnet/BasicMiddleware/blob/1203bcf63dc793ae3f7c9217bb2a46727bae9348/src/Microsoft.AspNetCore.HttpOverrides/Internal/IPEndPointParser.cs#L65
@shirhatti for triage.
What was the local culture when this exception was thrown?
FYI: I've changed the middleware code to specify the invariant culture which should avoid this problem. However it does not explain the underlying IndexOutOfRangeException error in Globalization. I'm going to move this issue to corefx for further followup.
This issue was moved to dotnet/corefx#32870
Hello,
when deploying a vanilla ASP.NET Core (2.1.1) WebApi application to our enterprise server (Windows 2016) we get the following exception when doing a request from localhost:
As a workaround we were able to solve the problem with changing the thread culture to en-us: