Open Closed

Blazor warning "Attempting to reconnect to the server" #6943


User avatar
0
huy.quan created
  • 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)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    You can increase the token expiration time. https://github.com/abpframework/abp/blob/1863a619f172634b2eb4842f0c241c40a9642c91/docs/en/Modules/OpenIddict.md?plain=1#L425

  • User Avatar
    0
    huy.quan created

    Thank a lot.

    Btw, do you think if we change to use Blazor WebAssemnly (WASM), we will not face this kind of issue?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11