Forum Discussion

Gursimrat's avatar
Gursimrat
Leader
11 years ago

Endpoint timeout

I am calling an Endpoint from my custom component, but there are instances intemittently where in the request is timed out and following error comes in firebug: 

 

error making http request: Request timed out

My endpoint is further calling a PHP service(I haven't checked that yet for timeout reasons), but what is the default timeout for and endpoint before it raises its hands?

 

Even when I hit the endpoint URL direclty in browser, it gives time out intemittently. I set my ajax request timeout in Custom Content to 30 seconds, but it gave above error in 5 seconds, which makes me believe the issue is in the PHP service timeout, but i am not sure.

  • Hi Gursimrat,

     

    Are you using http client freemarker context object in your endpoint? If yes, then the default time out value for the http call is 5s. This value can be configured by our support team. If you need that, I suggest creating a support ticket to increase that value.

     

    Hope this helps.

     

    Regards,
    Chhama

  • Hi Gursimrat,

     

    Are you using http client freemarker context object in your endpoint? If yes, then the default time out value for the http call is 5s. This value can be configured by our support team. If you need that, I suggest creating a support ticket to increase that value.

     

    Hope this helps.

     

    Regards,
    Chhama