- ABP Framework version: v8.0.1
- UI Type: Blazor Server
Hi teams,
My blazor application is often to show warning "Attempting to reconnect to the server" recently. How many reasons could be for this warning?
If I want to increase session timeout, so how can I do that?
Thanks and best regards!
3 Answer(s)
-
0
Hi,
You can increase the token expiration time. https://github.com/abpframework/abp/blob/1863a619f172634b2eb4842f0c241c40a9642c91/docs/en/Modules/OpenIddict.md?plain=1#L425
-
0
Thank a lot.
Btw, do you think if we change to use Blazor WebAssemnly (WASM), we will not face this kind of issue?
-
0
Hi,
Yes, this is a specific issue with Blazor server: https://github.com/dotnet/aspnetcore/issues/32113
Some links: https://stackoverflow.com/questions/59236834/how-to-disable-attempting-to-reconnect-to-the-server-message-on-asp-net-core-p