Activities of "okains"

I can share anything you like, can you be more specific about what logs you need? What exactly are you looking for in the logs? I am deploying to Azure, so I can turn on logging there?

Hi, let met provide an update on this. I have a workaround for now.

This is happening with InteractiveAuto rendering, which is the default rendering mode on the ABP Suite generated Blazor Web App. Once the WASM code has finished downloading, and the app is switching from the socket connection to WASM that is when the 'Authorizing...' text is shown and things are rebinding.

At this point I lose the binding to my overridden ABP Components, even though they are in the Client Project, which is the main problem. Also, this WASM download is happening on every route, so this behavior repeats constantly.

So, the workaround is the change the global rendering mode to InteractiveServer and not use WASM at this point, which is fine for me and everything works perfectly. So I will stick with that until I know that the WASM experience has been fixed / improved.

I am OK to close this now, I will go with this workaround on this project.

Can I get credit back for the question?

Thanks,

Karim

Hi,

Just some more info on this. On initial page load everything is fine, binding our control using OnInitializedAsync(). After the 5 second pause, then the Authenticating... message none of the page lifecycle methods are being hit. This happens on every page, so it is not really possible to do any UI work now.

Looking around on Chat GPT for general solutions and seems this might be related to an issue in middleware:

"Additionally, ensure that your authentication service or middleware is configured correctly and doesn't inadvertently trigger a full page reload or component reinitialization. This behavior can often be controlled via configuration settings or by using specific authentication mechanisms that work well with Blazor's SPA nature."

Hopefully this gives you an idea on where to look.

Thanks,

Karim

OK please continue to investigate. Even if that Authorizing call is normal, we are losing the binding of our ABP Custom Components and other page level data binding. That can't be correct. This is making it extremely difficult for us to even do any dev work on the UI.

Hi,

I have given you acces.

Thanks

Hi,

This seems to be happening on all projects I have created after the 8.2 upgrade. Here is another video of a test solution that is brand new created, 8.2, tiered solution. The same ABP configuration as my last solution for which I shared the last video.

https://drive.google.com/file/d/1Ipi_gjmyuhM0kTfRKXzjLKfttyaW8uEO/view?usp=sharing

I can give you access to this repo if you can give me your GitHub username. I think that will make it easier to troubleshoot.

Thanks,

Karim

Sure, here you go:

https://drive.google.com/file/d/1l1bohNn4z8NCVQVn-HbSQPET_CLUE_wT/view?usp=sharing

This isn't happening due to a refresh, it happens after a few seconds, after the page had loaded. I can recreate it using a refresh, then wait a few seconds and Authenticating... then I lose my Custom Components ( MainHeaderBranding ) and 3rd party control binding.

If this was just the application restarting then I would expect it to then be in an initial state, custom components fine, databound controls etc.

Hi, yes this seems to be working now, I was able to Auth and the redirect worked and took me to the Register UI on ABP, which is what I would expect:

Can you summarize the fix / changes so I understand what I was doing wrong?

Thanks!

Hi, yes you can use this user:

abpsupport@gmail.com Notu801201

Or just create an account, everything including the AD Tenant is just for testing / debugging purposes and will be deleted once the problem is resolve.

Thanks,

Karim

Showing 51 to 60 of 111 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30