Hi,
This project was using InteractiveAuto initially, but I was having issues even in development with Authentication. I had created a support ticket for that 3 months ago that you and I went through, the solution was to change to InteractiveServer mode.
I just did try and go back to InteractiveAuto earlier today, but got some different auth related exceptions in development so I have moved it back.
Or create a new same name project with BlazorServer UI to replace your existing project and copy your code.
This could knock me back a month, we have been working through various issues and it feels like we are so close. Everything is working fine in development, there is just this Auth exception in the test environment.
Any other suggestions on how to focus and fix that particular issue would be great, really need to get past this so that I can continue working on this project.
Thanks,
Karim
Hi,
OK I have sent credentials to that email.
Hi,
Sure, what is your email address?
Hi,
Unfortunately, same AbpRemoteCallException. Ran everything locally, worked fine. I think probably removing the WebAssembly code is the right thing to do, it could cause other problems but unfortunately it didn't help with this one:
Volo.Abp.Http.Client.AbpRemoteCallException: Unauthorized , what is the root cause of this exception ( other than obviously not being properly logged in ) , is there any way to dig into this and determine what we need to look at a bit more closer?
Thanks,
Kariom
OK great, yeah I wasn't sure if you could hear me during the ZOOM call. I was following what you did, makes sense. Let me test this out locally, then deploy to our test environment and I will let you know how it goes.
Hi,
I am in UTC + 6.5, free for the next few hours if you want to send a meeting link. We could try at 12pm my time , 1:30pm your time if that works?
This only occurs in a production environment, locally everything is fine. May be helpful to run through the code though to see if there is anything obvious that could be causing this.
Thanks,
Karim
Hi,
Yes of course, anything you need to do. Though this is deployed to an Azure App Service x 3, Auth / API / Blazor, and that is where I am having the problems. Let me know what you need from me and I will provide to you.
Thanks,
Karim
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