# HTTP IN node Timeout settings?

**URL:** <https://discourse.nodered.org/t/http-in-node-timeout-settings/76646>\
**Category:** General\
**Tags:** http-request\
**Created:** [16 March 2023 23:13 UTC](https://discourse.nodered.org/t/http-in-node-timeout-settings/76646 "2023-03-16T23:13:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahakobyan](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@ahakobyan](https://discourse.nodered.org/u/ahakobyan)\
**Post date:** [16 March 2023 23:13 UTC](https://discourse.nodered.org/t/http-in-node-timeout-settings/76646/1 "2023-03-16T23:13:06Z")

</div>

Using fetch to pull data from multiple api. Sometimes takes long. I get a timeout 504 exactly after 1 min.

Is there a way to edit the seconds for HTTP IN node timeout? Is it one of the records in msg.req or res?

Please help.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [16 March 2023 23:23 UTC](https://discourse.nodered.org/t/http-in-node-timeout-settings/76646/2 "2023-03-16T23:23:09Z")

</div>

Do you mean the http request node?  
If so, you can supply a timeout value in ms, and attach it to the payload being sent to the request node.

```auto
msg.requestTimeout = 120000 /* 2 minutes */

```

EDIT  
I have moved this to **General**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 May 2023 23:23 UTC](https://discourse.nodered.org/t/http-in-node-timeout-settings/76646/3 "2023-05-15T23:23:42Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
