Unhandled exception in circuit 'MRaI1ABm-rp1KLVaCe5MPkhKsLRrO5zCAz5FZHLIDjk'.
System.InvalidOperationException: OnStarting cannot be set because the response has already started.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowResponseAlreadyStartedException(String value)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.OnStarting(Func`2 callback, Object state)
at CustomAuthenticationStateProvider.MarkUserAsAuthenticated(String username, String role) in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Services/CustomAuthenticationProvider.cs:line 34
at ProtaTestTrack2.Components.Pages.Login.LoginUser() in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Components/Pages/Login.razor:line 40
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at MudBlazor.MudBaseButton.OnClickHandler(MouseEventArgs ev)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
Unhandled exception in circuit 'MRaI1ABm-rp1KLVaCe5MPkhKsLRrO5zCAz5FZHLIDjk'.
System.InvalidOperationException: OnStarting cannot be set because the response has already started.
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowResponseAlreadyStartedException(String value)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.OnStarting(Func`2 callback, Object state)
at CustomAuthenticationStateProvider.MarkUserAsAuthenticated(String username, String role) in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Services/CustomAuthenticationProvider.cs:line 34
at ProtaTestTrack2.Components.Pages.Login.LoginUser() in /Users/ensarerdeve/Documents/VSC Projects/testtrack/ProtaTestTrack2/Components/Pages/Login.razor:line 40
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at MudBlazor.MudBaseButton.OnClickHandler(MouseEventArgs ev)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
inside the containers front end and backend communicates with 8080. I thought I can make them communicate with 8000 as I use to reach backend with 8000