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)
-
0
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/
-
0
We are using IIS as well as WebApp on Azure
-
0
You can try to set the timeout in
web.config.
https://dotnetblog.asphostportal.com/how-to-increase-timeout-asp-net-core/
-
0
We already tried that but no luck, would like to find an option to override the same using startup.cs or module.cs
-
0
ok, You can run your app via
dotnet run
and IIS.then make a timeout test request to test.
-
0
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.
-
0
builder.WebHost.ConfigureKestrel(x => x.Limits.KeepAliveTimeout = xx);
is the right way to changeKestrel
serttings.Abp framework will not change anything about Kestrel.
-
0
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.
-
0
👍