-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
SPA proxy to React development server throws #18470
Comments
@loic-sharma thanks for contacting us. I would think that's expected as you are refreshing the page, that is causing the request to be aborted while in-flight which is typically signaled with an exception and that's likely what you are seeing there. |
@javiercn Hi, thanks for the prompt reply! It looks like you're correct, but this seems like a regression in ASP.NET Core 3 as this issue does not seem to reproduce on ASP.NET Core 2.2. Repro steps:
Output of `dotnet --info`
|
@loic-sharma there's been many internal changes in the framework and first-chance exceptions is not something breaking the experience. These are just traces you can safely ignore. |
Describe the bug
After upgrading to ASP.NET Core 3, the SPA Proxy to the React development server throws lots of exceptions:
System.IO.IOException: Unable to read data from the transport connection:
Call stack:
System.Threading.Tasks.TaskCanceledException: The operation was canceled.
Call stack:
I cannot reproduce this issue on ASP.NET Core 2.2.
To Reproduce
dotnet new react
.csproj
file using Visual Studio Enterprise 2019 v16.4.3Further technical details
ASP.NET Core version: 3.1.1
IDE: VS Enterprise 2019 v16.4.3
Output of `dotnet --info`
The text was updated successfully, but these errors were encountered: