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

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    viswajwalith created

    We are using IIS as well as WebApp on Azure

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    👍

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.