Activities of "liangshiwei"

Answer

HI,

System.Net.Http.HttpRequestException: An error occurred while sending the request. [web-gateway_4420d4f8-1]: ---> System.IO.IOException: The response ended prematurely.

Could you share the full logs? (web gateway& signalr service)

Hi,

Could you share a project that can reproduce the problem? I will check it. my email is shiwei.liang@volosoft.com

We removed the primary keys from our solution but the error still occurs randomly.

What's the error logs?

I am not sure how to provide you with a copy of our solution in a secure way, though.

You can use Suite to create a new solution to reproduce this problem.

Hi,

Could you share the full steps to reproduce the problem?

It's better if you can share a simple project that can reproduce the problem shiwei.liang@volosoft.com I will check it.

Hi,

Actually, ABP uses Microsoft's distributed Redis cache package

Can this problem be reproduced with the local Redis server? Could you provide the full steps to reproduce? I will check it.

I have no suggestion if it cannot be reproduced

Yes, the solution I provide is suitable for blazor server. Due to the limitations of blazor webassembly, it cannot be implemented for blazor webassembly.

I don't know what you mean.

Hi,

This is possible,you can try something like this:

public partial class Index
{
    [Inject] public NavigationManager NavigationManager { get; set; }

    [Inject] public IOptions<LeptonXThemeBlazorOptions> Options { get; set; }

    protected override Task OnInitializedAsync()
    {
        if (CurrentUser.IsAuthenticated)
        {
            if (CurrentUser.IsInRole("admin") && Options.Value.Layout != LeptonXBlazorLayouts.TopMenu)
            {
                Options.Value.Layout = LeptonXBlazorLayouts.TopMenu;
                NavigationManager.NavigateTo("/", true);
            }
        }

        return base.OnInitializedAsync();
    }
}

Hi,

It's better you separate them into two projects, the admin project and the employee project.

Hi,

Could you share the error logs? It is under the logs folder

Showing 3421 to 3430 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 15, 2025, 14:41