Made a SQL DB.. Changed string.. rand host and I can't login.. Any idea?
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: TypeError: Failed to fetch
System.Net.Http.HttpRequestException: TypeError: Failed to fetch
---> TypeError: Failed to fetch
--- End of inner exception stack trace ---
at System.Net.Http.BrowserHttpInterop.1[[System.Runtime.InteropServices.JavaScript.JSObject, System.Runtime.InteropServices.JavaScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
at System.Net.Http.BrowserHttpHandler.CallFetch(HttpRequestMessage request, CancellationToken cancellationToken, Nullable1 allowAutoRedirect)
at System.Net.Http.BrowserHttpHandler.1 allowAutoRedirect)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
at FSH.Starter.Blazor.Infrastructure.Auth.Jwt.JwtAuthenticationHeaderHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in C:\Users\punko\Downloads\dotnet-starter-kit\src\apps\blazor\infrastructure\Auth\Jwt\JwtAuthenticationHeaderHandler.cs:line 32
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at FSH.Starter.Blazor.Infrastructure.Api.ApiClient.TokenGenerationEndpointAsync(String tenant, TokenGenerationCommand body, CancellationToken cancellationToken) in C:\Users\punko\Downloads\dotnet-starter-kit\src\apps\blazor\infrastructure\Api\ApiClient.cs:line 3209
at FSH.Starter.Blazor.Infrastructure.Auth.Jwt.JwtAuthenticationService.LoginAsync(String tenantId, TokenGenerationCommand request) in C:\Users\punko\Downloads\dotnet-starter-kit\src\apps\blazor\infrastructure\Auth\Jwt\JwtAuthenticationService.cs:line 57
at FSH.Starter.Blazor.Client.Components.ApiHelper.ExecuteCallGuardedAsync(Func1 call, ISnackbar snackbar, FshValidation customValidation, String successMessage) in C:\Users\punko\Downloads\dotnet-starter-kit\src\apps\blazor\client\Components\ApiHelper.cs:line 54
at FSH.Starter.Blazor.Client.Pages.Auth.Login.SubmitAsync() in C:\Users\punko\Downloads\dotnet-starter-kit\src\apps\blazor\client\Pages\Auth\Login.razor.cs:line 61
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.Forms.EditForm.HandleSubmitAsync()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
Might be a CORS issue? @punkouter24
Yes it CORS issue. Can you fix and push update.
Iām experiencing the same issue and would appreciate any help in resolving it. Iām trying to run the latest version from the master branch.
Closing this issue as part of our housekeeping.
š FullStackHero has been completely rewritten for .NET 10!
The new version includes:
- .NET 10 with latest C# features
- Modular architecture with vertical slices
- Built-in multi-tenancy support
- Aspire integration for local development
- OpenTelemetry observability
- And much more!
Please check the latest develop branch or create a new issue if this is still relevant in the new version.
Thank you for your contribution to FSH! š