Open Closed

How to increase http client timeout #8325


User avatar
0
duyan11110 created
  • ABP Framework version: v7.3.0

  • UI Type: MVC

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue: I tried to increase HttpClient timeout but failed. The long running task is in ReportModule which is used in AMLReportService, so I tried to increase HttpClient like this:

    AMLReportServiceHttpApiClientModule

    ReportHttpApiClientModule

    MHIBSWebGatewayModule

    MHIBSWebModule

Error logs: In Gateway: In Web:


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think this is because of the gateway timeout; the gateway doesn't use a client proxy.

    see https://github.com/microsoft/reverse-proxy/issues/2207 https://microsoft.github.io/reverse-proxy/articles/timeouts.html

  • User Avatar
    0
    duyan11110 created

    Hi,

    Thank you. It works.

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