Activities of "Leonardo.Willrich"

Hi Maliming,

It didn't change, I'm still getting the same issue.

Email sent.

Question
  • ABP Framework version: v7.2.1
  • UI type: Blazor WASM
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

When loading the page Manage (ManageYourProfile menu), it is not loading correctly the scripts when the application is deployed. Running in the localhost it works well. For example, the method abp.auth.isGranted() always returns false. Also, I'm getting this warning in the console: "Could not find localization source: AbpUi".

Any idea what could be wrong? I've already deployed again, and have cleaned the application data, and cache, but, I'm still getting this error.

The abp.auth.isGranted() is also not working in another application with same template, but, I'm not getting the warn message in the console.

@balessi75, I'm using Blazor WASM, but, the Host application should be the same as yours. That URL is from the Web API.

@maliming, I'm using IIS and I'm facing the same issue, therefore, I don't think Azure is the issue.

@maliming changing the environment and profile to release to be able to send emails, it is working like a charm in my local machine, however, when it is deployed to a IIS server, I'm getting the error 403 Forbbiden and Invalid Token message.

Just sharing something that I've noticed. When creating a new user by the menu "Identity Management > Users", and you check the option "Send confirmation email", it will send the email. If you click on the link when still logged it will work fine. But, if you don't check that option, when if you log out and try to login using the new user, it will as to confirm the email, then, the link sent will show error 403.

I'm getting the same error, using version 7.2.1. It shows the page error 403 and then the message Invalid Token. Note, sometimes it works fine, sometimes I get stuck to this page. Clicking on the Go To Application button, it goes to the Swagger page instead to the login page. I'm using Blazor WASM application.

I've fixed it by postponing the NpgSql.Connection call after Host.ApplicationInitialization.

I found the issue, finally. The project has an implementation to write the logs in the database, it is an ILogEventSink implementation for Serilog. It creates a connection, a dbcommand, and using an insert statement it just adds to the database. For some reason, when opening the connection, it is messing with the database and DbContext.

Do you have an example of how to write logs into the database by implementing an ILogEventSink or any other way?

Showing 11 to 20 of 192 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11