Base solution for your next web application

Activities of "Leonardo.Willrich"

Ok, maybe, the users are still using cached website pages/scripts and haven't reloaded with CTRL+F5.

Hi,

I could access the item, but, I didn't understand how the cache is invalidated in the clients. Could you explain how to do it? Also, what is gonna happen if the user is not logged in at that time, will he miss the notification?

Hi Ismcagdas,

As it is hosted in production, the request should be coming from some customer computer. I don't know how to map what is the origin. It is an event from AuthConfigurer for SignalR apparently. Do you how if there is a way to identify the requester in this case?

Checking AbpAuditLogs for the last 24 hours, with ExecptionMessage not null, I can see a high number (100 more or less) of this message: "Refresh token is not valid!"

Can it be related?

Hi,

I'm using .Net Core MVC template and I've updated my framework template from 9.01 to 11.4.1. It is working fine in stagging server and localhost, but, when deployed to the production server, it is raising an exception:

ERROR 2023-03-08 20:17:13,895 [78 ] uthentication.JwtBearer.JwtBearerHandler - Exception occurred while processing message. System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at Internal.Cryptography.UniversalCryptoDecryptor.GetPaddingLength(ReadOnlySpan1 block) at Internal.Cryptography.UniversalCryptoDecryptor.UncheckedTransformFinalBlock(ReadOnlySpan1 inputBuffer, Span1 outputBuffer) at Internal.Cryptography.UniversalCryptoDecryptor.UncheckedTransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at Internal.Cryptography.UniversalCryptoTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.ReadAsyncCore(Memory1 buffer, CancellationToken cancellationToken, Boolean useAsync) at System.Security.Cryptography.CryptoStream.Read(Byte[] buffer, Int32 offset, Int32 count) at Abp.Runtime.Security.SimpleStringCipher.Decrypt(String cipherText, String passPhrase, Byte[] salt, Nullable`1 keySize, Byte[] initVectorBytes) at ASL.iAPIS.Web.Startup.AuthConfigurer.SetToken(MessageReceivedContext context, Boolean allowAnonymous) in E:\Products\iAPISWeb\iapisprod7mar\head\iAPIS_11.4.1\src\ASL.iAPIS.Web.Mvc\Startup\AuthConfigurer.cs:line 245 at ASL.iAPIS.Web.Startup.AuthConfigurer.QueryStringTokenResolver(MessageReceivedContext context) in E:\Products\iAPISWeb\iapisprod7mar\head\iAPIS_11.4.1\src\ASL.iAPIS.Web.Mvc\Startup\AuthConfigurer.cs:line 214 at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()

I've searched, but, with no success to find out what is wrong. I've compared both environments and haven't found any difference.

Do you have any idea what could be wrong?

Kind regards, Leonardo Willrich.

Hi,

When there is a new release deployed the users always have to press CTRL + F5 to clear the cache and reload the Javascript and CSS files correctly.

I wonder if there is a way to automatically reload or clear the cache when there is a new version deployed. I've seen that for service works in ABP.IO Blazor WebAssembly projects.

Kind regards,

Leonardo Willrich.

It is working fine on the template. Will compare with my solution and see what is missing.

Ok, I'll do.

Sorry, I missed that information. We are using AspNetZero MVC Core + JQuery version 11.4.1.

Hi.

When the user is required to change the password after first access, it is redirecting to the login page after the password is changed. Is there some way to log in straightaway instead? If not, at least some way to enter the user name automatically on the login page.

Kind regards, Leonardo Willrich

Yes, I can. Recently I haven't changed too much the project entities. I'll let you know when it is happening again.

Showing 1 to 10 of 78 entries