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

I am getting an error that wont stop replicating. Oqtane 3.2.0 #2453

Closed
leigh-pointer opened this issue Oct 12, 2022 · 3 comments
Closed

I am getting an error that wont stop replicating. Oqtane 3.2.0 #2453

leigh-pointer opened this issue Oct 12, 2022 · 3 comments

Comments

@leigh-pointer
Copy link
Contributor

leigh-pointer commented Oct 12, 2022

The error is below

Error Loading Logs Exception of type 'Microsoft.AspNetCore.Components.NavigationException' was thrown.

Microsoft.AspNetCore.Components.NavigationException: Exception of type 'Microsoft.AspNetCore.Components.NavigationException' was thrown.
   at Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager.NavigateToCore(String uri, NavigationOptions options)
   at Microsoft.AspNetCore.Components.NavigationManager.NavigateToCore(String uri, Boolean forceLoad)
   at Oqtane.Modules.Admin.Logs.Index.OnParametersSetAsync() in C:\Users\Shaun.Walker\source\repos\sbwalker\oqtane.framework\Oqtane.Client\Modules\Admin\Logs\Index.razor:line 142

The only way I have reduced the number of emails and records is to restart the app. My Notification table has 421055 messages to the host. The emails still come in but reduced.

Looking at the line 142 there is not test done to see if the "token" key exists?

user = await UserService.VerifyEmailAsync(user, PageState.QueryString["token"]);

Also noticed that in the email the log id is incrementing but the log table is not.

Anyone else seeing this?

@sbwalker
Copy link
Member

By default the framework will create a Notification for Errors that are logged in the Event Log (this feature can be disabled). You should check your Event Log for Errors. I do not believe the error message above is the main issue - as it would only be raised if an Administrator browsed to the Event Log page in your site - which is a fairly low frequency event. 400,000 errors is a very high frequency event - I am guessing you have a custom scheduled job which may be throwing errors?

@sbwalker
Copy link
Member

#2430 resolved an issue where the link to the Event Log item was not being created correctly. This may explain the error you posted above - but not the 400,000 error notifications.

@leigh-pointer
Copy link
Contributor Author

@sbwalker Not sure how but had an orphan record causing a scheduled job to fail. Have removed record and logging is back to normal. Thanks for your time.

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