MuleSoft · HTTP Connector

HTTP:TIMEOUT

Short answer

HTTP:TIMEOUT means a request sent by the HTTP Request operation timed out before the response arrived. The wait is set by Response Timeout, which is 10000 milliseconds unless you change it, so raise it or make the remote service answer faster.

VerifiedLast verified

01Error text

MuleSoft error
Error type: HTTP:TIMEOUT

02Likely causes

  • The request sent by the HTTP requester timed out.
  • Response Timeout is the maximum time, in milliseconds, that the request blocks the flow while it waits for the HTTP response. It inherits defaultResponseTimeout, which is 10000 ms by default.
  • The remote service took longer than that limit to respond.

03How to fix it

  1. Find out how long the remote service really takes for this call, and whether that time is acceptable.
  2. Raise Response Timeout on the HTTP Request operation, or on the HTTP Request configuration so it applies to every request that uses it.
  3. To change the default for the whole application, set defaultResponseTimeout on the global <configuration> element, for example <configuration defaultResponseTimeout="30000"/>.
  4. Handle the failure with an error handler of type HTTP:TIMEOUT, or wrap the call in an Until Successful scope if a retry is safe.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.