Starts in:
0 DAY
6 HRS
10 MIN
41 SEC
Starts in:
0 D
6 H
10 M
41 S
Open Closed

Time out Limits #4106


User avatar
0
viswajwalith created

ABP Framework version: v5.1.3 UI type: MVC DB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:"

We are having the Method which may take more than a minute to execute so getting the Timeout error (after deploying the application), I am suspecting that because of request timeout default values, I tried by adding the below code in Web Layer (UI) but still not working. Can you please help us to understand the things which we are missing


9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Timeout error (after deploying the application),

    What web server are you using? IIS? NGINX?

    https://dotnetblog.asphostportal.com/how-to-increase-timeout-asp-net-core/

  • User Avatar
    0
    viswajwalith created

    We are using IIS as well as WebApp on Azure

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can try to set the timeout in web.config.

    https://dotnetblog.asphostportal.com/how-to-increase-timeout-asp-net-core/

  • User Avatar
    0
    viswajwalith created

    We already tried that but no luck, would like to find an option to override the same using startup.cs or module.cs

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, You can run your app via dotnet run and IIS.

    then make a timeout test request to test.

  • User Avatar
    0
    viswajwalith created

    Will try but that wont be the final solution right as we had to use the Azure Web App as well... don't we have any override as I mentioned in my initial posting.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    builder.WebHost.ConfigureKestrel(x => x.Limits.KeepAliveTimeout = xx); is the right way to change Kestrel serttings.

    Abp framework will not change anything about Kestrel.

  • User Avatar
    0
    viswajwalith created

    builder.WebHost.ConfigureKestrel(x => x.Limits.KeepAliveTimeout = xx);

    hummm, Yes. we already tried this but no luck. anyway will try once again with different ways and update you back.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    👍

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