# Trouble w/HTTP request node (ENOTFOUND)

**URL:** <https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302>\
**Category:** General\
**Created:** [22 May 2018 14:10 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302 "2018-05-22T14:10:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joey.Bail](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Joey.Bail](https://discourse.nodered.org/u/Joey.Bail)\
**Post date:** [22 May 2018 14:10 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/1 "2018-05-22T14:10:40Z")

</div>

I am running into an error with the HTTP Request node in Node-RED. I am following this [tutorial](https://nodered.org/docs/getting-started/second-flow.html) step-by-step, but I am not receiving expected results. Instead, I am seeing an ENOTFOUND error when the flow gets to the HTTP Request node.

**Is anyone familiar with this ENOTFOUND error?**

The flow that I am working with is pictured here:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/6f35f7885be8f7655e13cb933a93b287d00cbe80.png)

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [22 May 2018 14:18 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/2 "2018-05-22T14:18:11Z")

</div>

Are you using the same url that is mentioned in the tutorial ([https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant\_week.csv](https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant_week.csv))?

What happens if you try to open that url in a browser on the same device running node-red? If that page returns a file to your browser, then it may be a typo in your request node’s config. If you export your flow and post it here, we can try it for ourselves.

---

<div class="post-metadata">

**Author:** ![Joey.Bail](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Joey.Bail](https://discourse.nodered.org/u/Joey.Bail)\
**Post date:** [22 May 2018 14:22 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/3 "2018-05-22T14:22:39Z")

</div>

So its a little complicated… I am running Node-RED on my computer, but Node-RED was pre-installed onto a device called the MultiConnect Conduit (this could be the culprit for this issue).

Anyway, here is the exported flow that I am using:

[{“id”:“84b41468.4822d8”,“type”:“inject”,“name”:"",“topic”:"",“payload”:"",“payloadType”:“date”,“repeat”:"",“crontab”:"",“once”:false,“x”:100,“y”:52,“z”:“637e8c51.a041d4”,“wires”:[[“f5a565b.875da98”]]},{“id”:“f5a565b.875da98”,“type”:“http request”,“name”:"",“method”:“GET”,“ret”:“txt”,“url”:“[https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant\_week.csv",“x”:294,“y”:52,“z”:“637e8c51.a041d4”,“wires”:[[“b7f923db.698b3”]]},{“id”:“b7f923db.698b3”,“type”:“csv”,“name”:"",“sep”:",",“hdrin”:true,“hdrout”:"",“multi”:“one”,“ret”:"\r\n",“temp”:"",“x”:483,“y”:55,“z”:“637e8c51.a041d4”,“wires”:[[“63034279.3cc90c”,“66bbc310.aaacbc”]]},{“id”:“63034279.3cc90c”,“type”:“debug”,“name”:"",“active”:true,“console”:“true”,“complete”:“payload”,“x”:687,“y”:56,“z”:“637e8c51.a041d4”,“wires”:[]},{“id”:“66bbc310.aaacbc”,“type”:“switch”,“name”:"",“property”:“payload.mag”,“rules”:[{“t”:“gte”,“v”:“7”}],“checkall”:“true”,“outputs”:1,“x”:315,“y”:259,“z”:“637e8c51.a041d4”,“wires”:[[“35fec41b.5668bc”]]},{“id”:“35fec41b.5668bc”,“type”:“change”,“name”:"",“rules”:[{“t”:“set”,“p”:“payload”,“to”:“PANIC”}],“action”:"",“property”:"",“from”:"",“to”:"",“reg”:false,“x”:512,“y”:259,“z”:“637e8c51.a041d4”,“wires”:[[“75e1cf3c.721b9”]]},{“id”:“75e1cf3c.721b9”,“type”:“debug”,“name”:"",“active”:true,“console”:“true”,“complete”:“payload”,“x”:724,“y”:256,“z”:“637e8c51.a041d4”,"wires](https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant_week.csv%22,%22x%22:294,%22y%22:52,%22z%22:%22637e8c51.a041d4%22,%22wires%22:%5B%5B%22b7f923db.698b3%22%5D%5D%7D,%7B%22id%22:%22b7f923db.698b3%22,%22type%22:%22csv%22,%22name%22:%22%22,%22sep%22:%22,%22,%22hdrin%22:true,%22hdrout%22:%22%22,%22multi%22:%22one%22,%22ret%22:%22%5Cr%5Cn%22,%22temp%22:%22%22,%22x%22:483,%22y%22:55,%22z%22:%22637e8c51.a041d4%22,%22wires%22:%5B%5B%2263034279.3cc90c%22,%2266bbc310.aaacbc%22%5D%5D%7D,%7B%22id%22:%2263034279.3cc90c%22,%22type%22:%22debug%22,%22name%22:%22%22,%22active%22:true,%22console%22:%22true%22,%22complete%22:%22payload%22,%22x%22:687,%22y%22:56,%22z%22:%22637e8c51.a041d4%22,%22wires%22:%5B%5D%7D,%7B%22id%22:%2266bbc310.aaacbc%22,%22type%22:%22switch%22,%22name%22:%22%22,%22property%22:%22payload.mag%22,%22rules%22:%5B%7B%22t%22:%22gte%22,%22v%22:%227%22%7D%5D,%22checkall%22:%22true%22,%22outputs%22:1,%22x%22:315,%22y%22:259,%22z%22:%22637e8c51.a041d4%22,%22wires%22:%5B%5B%2235fec41b.5668bc%22%5D%5D%7D,%7B%22id%22:%2235fec41b.5668bc%22,%22type%22:%22change%22,%22name%22:%22%22,%22rules%22:%5B%7B%22t%22:%22set%22,%22p%22:%22payload%22,%22to%22:%22PANIC%22%7D%5D,%22action%22:%22%22,%22property%22:%22%22,%22from%22:%22%22,%22to%22:%22%22,%22reg%22:false,%22x%22:512,%22y%22:259,%22z%22:%22637e8c51.a041d4%22,%22wires%22:%5B%5B%2275e1cf3c.721b9%22%5D%5D%7D,%7B%22id%22:%2275e1cf3c.721b9%22,%22type%22:%22debug%22,%22name%22:%22%22,%22active%22:true,%22console%22:%22true%22,%22complete%22:%22payload%22,%22x%22:724,%22y%22:256,%22z%22:%22637e8c51.a041d4%22,%22wires)”:[]}]

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [22 May 2018 14:38 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/4 "2018-05-22T14:38:01Z")

</div>

I’m going to take a stab here and guess that the Conduit device cannot resolve the DNS name for that site… can you try replacing the hostname `earthquake.usgs.gov` with its IP address `96.16.67.182`?

---

<div class="post-metadata">

**Author:** ![Joey.Bail](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Joey.Bail](https://discourse.nodered.org/u/Joey.Bail)\
**Post date:** [22 May 2018 14:54 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/5 "2018-05-22T14:54:39Z")

</div>

Just tried that. ENETUNREACH is the new error that is appearing...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/c0daa70209441c6cf1eb097ff0797873c03a72b5.png)

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [22 May 2018 15:21 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/6 "2018-05-22T15:21:13Z")

</div>

Sounds like that device is not set up to access the internet – maybe by design?  
Does this thing have an OS that will allow you to ssh or rdp to it? If so, you can check the network settings, and possibly set the default gateway and DNS servers to enable it.

---

<div class="post-metadata">

**Author:** ![Joey.Bail](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Joey.Bail](https://discourse.nodered.org/u/Joey.Bail)\
**Post date:** [22 May 2018 18:32 UTC](https://discourse.nodered.org/t/trouble-w-http-request-node-enotfound/302/7 "2018-05-22T18:32:28Z")

</div>

I think you’re right. I am currently trying to setup an ssh with the box using PuTTy.
