Skip to content
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

Made a SQL DB.. Changed string.. rand host and I can't login.. Any idea? #1024

Open
punkouter25 opened this issue Aug 29, 2024 · 1 comment

Comments

@punkouter25
Copy link

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.d__131[[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.g__Impl|53_0(HttpRequestMessage request, CancellationToken cancellationToken, Nullable1 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)

@iammukeshm
Copy link
Member

Might be a CORS issue? @punkouter24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants