-
Notifications
You must be signed in to change notification settings - Fork 5
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
Creating any kind of security creates issue #141
Comments
There is probably more of this stacktrace. What is the full message? Also make sure you have installed the donet HTTPS developer certificate. It is a requirement. |
HTTPS certificate is installed. Please find attached a full stacktrace System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) |
Unfortunately I have no idea why this exception could happen. Also it still doesn't look to be the full exception stack trace. What is the actual exception being thrown? |
Connection id "0HN3P4BQCC07A", Request id "0HN3P4BQCC07A:00000002": An unhandled exception was thrown by the application. |
There is another exception before that |
Hi, C:\Users\mirek\source\repos\StudioTatuażu5\Client\Pages\ApplicationRoles.razor.cs(39,35): warning CS8618: Niedopuszczający wartości null element właściwość „Security” musi zawierać wartość inną niż null podczas kończenia działania konstruktora. Rozważ zadeklarowanie elementu właściwość jako dopuszczającego wartość null. [C:\Users\mirek\source\repos\StudioTatuażu5\Client\StudioTatuażu5.Client.csproj] |
Any kind of security on any database creates the same error
System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, bool disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
StudioTatuażu5.Client.SecurityService.GetUserById(string id) in SecurityService.cs
+
var response = await httpClient.GetAsync(uri);
StudioTatuażu5.Client.SecurityService.InitializeAsync(AuthenticationState result) in SecurityService.cs
+
User = await GetUserById(userId);
StudioTatuażu5.Client.ApplicationAuthenticationStateProvider.GetAuthenticationStateAsync() in ApplicationAuthenticationStateProvider.cs
+
await securityService.InitializeAsync(result);
Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.OnParametersSetAsync()
The text was updated successfully, but these errors were encountered: