Connect timed out in Rest step flow designer

Community Alums
Not applicable

I am getting this timed out error most of the time when I make rest call from action but it seems to be working fine when doing in Rest message.find_real_file.png

1 REPLY 1

rubina khatun2
Tera Expert

Hi Sreejith

you can try increasing the timeout for Outbound REST.

  • Property: glide.http.outbound.max_timeout
  • Description: Specifies the number of seconds that RESTMessageV2 and SOAPMessageV2 APIs wait for a response from a synchronous call. The maximum value is 30 seconds.


RESOLUTION: To define a timeout longer than 30 seconds, set the glide.http.outbound.max_timeout.enabled system property to false and use the waitForResponse() method to set the timeout (after setting that property to false you should be able to set different timeouts with waitForResponse()). For examples, see Asynchronous RESTMessageV2 example: https://docs.servicenow.com/bundle/madrid-application-development/page/app-store/dev_portal/API_refe...

and Asynchronous SOAPMessageV2 example:
https://docs.servicenow.com/bundle/madrid-application-development/page/app-store/dev_portal/API_refe...

If glide.http.outbound.max_timeout.enabled is set to true and a value is passed in the waitForResponse() method, the system uses the smallest value from either the waitForResponse() method or the glide.http.outbound.max_timeout system property."

 

Thank you !

please mark my comment  Helpful if it has solved your query.