-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error in database connection duende development testing #508
Comments
Do you have any more details?
No. Invalid license errors are simply surfaced as entries in the logging system: https://docs.duendesoftware.com/identityserver/v6/fundamentals/license_key/#license-validation-and-logging |
Any updates here? |
Hi, I am using seriLog for Duende Identity Server. I found repeating error but in different places. When i run for first time, the error after GET connect/authorize. I stop and run again the identity server, the same error after found bearer token. But after GET connect/authorize log, no error like the first run. The error Log is: |
Is there more info here from the logs? I can't tell from this alone what the problem might be. |
Hi This is my code for identity server: public static WebApplication ConfigureServices(this WebApplicationBuilder builder)
public static WebApplication ConfigurePipeline(this WebApplication app)
|
We need error logs, I think. They should contain the message as to the problem. |
The video link: https://drive.google.com/file/d/1l0-vakjvRtdnmRbhRJNjrLEUvuN2cm8F/view?usp=sharing Issue: Here the error log: [11:15:23 Error] Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware |
Ok, this is the exception. You can ignore this, as it's related to all of this: DuendeSoftware/IdentityServer#1084 and this: DuendeSoftware/IdentityServer#1040 The filter we added in the PR can help, so I'd suggest updating to that version (6.2.0). |
My duende version is this: Do i need to downgrade it to 6.2.0 ? |
Oh I'm sorry -- I misread it from above. You should be on the correct version that filters the exceptions. So looking more at your call stack, it looks like the DeveloperExceptionPageMiddleware is catching it and logging (and maybe re-throwing the exception). In short, this is something you should catch and decide if you allow it to be logged and/or re-thrown. Also, do you enable DeveloperExceptionPageMiddleware in production? If not, then maybe this is something you only see at dev time. This scenario is caused by the browser closing the connection, which is not really a bug and also not something you can really do much about. Just manage it the best you can in the way you want to. |
Any further update here? Can we close this issue? |
Yup, Thank you @brockallen |
Which version of Duende BFF are you using?
Duende IdentityServer version 6.2.1+bda14c367eb8a85f3dae614fa0ac1005bb13dfdc
Which version of .NET are you using?
(.NET 6.0.12)
Question
Im receiving error cannot connect with database on first run in development testing ? After i logout and login again, there are no problem. Is it because i dont have valid license ?
The text was updated successfully, but these errors were encountered: