Activities of "okains"

As discussed, waiting on another support ticket to clear on this then I will run load testing, please keep open just in case these issues occur again during load testing. Once I get through the other support ticket, and the testing, I will close.

Thanks,

Karim

Hi,

Yeah I have already gone through that process. If I comment out that code then it just throws the AbpRemoteCallException : Unauthorized the next time I make a call into the Service layer.

It seems to be logging in / authenticating fine for a period of time, a few seconds, then losing auth. Here is a video showing this:

https://1drv.ms/v/s!AkJmGuHQuob7kqpdeMB_g8HYqKIW_w?e=c8Krme

I don't understand what would cause us to lose authentication after a few seconds like this, that is the original question.

Thanks,

Karim

Hi,

All log levels are at DEBUG. I stopped all 3 services, cleaned out the logs, then re ran all, logged in and got the Auth exception again. Currently the AUTH / API projects are running fine, no errors, just dealing with this UNAUTHORIZED error in the Blazor Project.

Here are the logs from just now:

https://1drv.ms/u/s!AkJmGuHQuob7kqpAq6Pb-Ro49fpzjQ?e=y7mA7e

Thanks,

Karim

Hi,

I have added this code into all 3 projects, still getting the same error as before. Is there anything configuration or db related that would cause this? Any other ideas on a way forward here? I need to demo to our client and this is becoming a serious problem for us now.

I had been travelling last week and wasn't available much but I will be very much available now to implement any and all possible solutions to this quickly.

Thanks,

Karim

Hi,

Sorry for late reply, was travelling. I will add this in and do some further testing, if the db issues are no longer in the logs then that will be great. My only concern is that there is a lot of extra code / configuration to get to this point and that might have other unintended effects. I am going to be doing some heavy load testing on this app next week so I want to make sure we haven't introduced any issues that might come up during testing.

For now please keep this ticket open until I can finish my testing and confirm that things are OK.

Thanks,

Karim

Hi,

OK I configured the test environment with the test redis db, and removed the initial DB call from the Index page, however when I go to the next page (Dashboard) I am still getting the Unauthorized:

I am not sure where you want me to put the MyIdentitySessionChecker code, can you let me know where that goes and I will give that a try?

Thanks,

Karim

Hi,

Can you tell me where to put the MyIdentitySessionChecker code so I can test this possible solution?

Thanks,

Karim

Hi,

Also here are the logs for that test run:

https://1drv.ms/u/s!AkJmGuHQuob7kqdJN7sF0etJ-CbLzQ?e=GYNaHp

Exception being thrown in API here:

Thanks,

Karim

Hi,

OK I have commented out the AppService call in Index, and also the db call in Index in the Auth project. I don't see any of those DB errors in the logs now, though still having ABPAuthentication errors ( different support ticket ).

Here are the new logs:

https://1drv.ms/u/s!AkJmGuHQuob7kqdJN7sF0etJ-CbLzQ?e=GYNaHp

Is there a way for me to fix this so that I can add back my code? Is this related to the OpenIDDict db context? Hope to be able to find a proper fix for this so that I can continue working.

Thanks,

Karim

Hi,

OK I configured the test environment with the test redis db, and removed the initial DB call from the Index page, however when I go to the next page (Dashboard) I am still getting the Unauthorized:

I am not sure where you want me to put the MyIdentitySessionChecker code, can you let me know where that goes and I will give that a try?

Thanks,

Karim

Btw You can try using NullCancellationTokenProvider instead HttpContextCancellationTokenProvider to troubleshoot the A task was canceled. problem

 
public override void ConfigureServices(ServiceConfigurationContext context) 
{ 
    context.Services.Replace(ServiceDescriptor.Transient<ICancellationTokenProvider, NullCancellationTokenProvider>()); 
         
} 

Getting an error here:

Any idea on how to get this to work?

Thanks,

Karim

Showing 21 to 30 of 145 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 21, 2026, 11:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.