# HTTP request results in "access denied (edgesuite)" error

**URL:** https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796
**Category:** General
**Created:** [30 October 2024 14:59 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796 "2024-10-30T14:59:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pazkaw](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pazkaw](https://discourse.nodered.org/u/pazkaw)
#### Post date: [30 October 2024 14:59 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/1 "2024-10-30T14:59:33Z")

</div>

I'm trying to use Node Red to scrape the ingredients lists of various products from a supermarket's website. When I send an http request to the supermarket's website I receive the response "access denied" followed by a link to the edgesuite website.

People who'd reported similar issues usually find that a missing User-Agent is the root cause of the problem. Indeed, when I explicitly set the User-Agent in a curl request to the supermarket's website:

> curl -v "[https://www.ah.nl](https://www.ah.nl)" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"

then my error message disappears. However, adding the same User-Agent info to the http request in Node Red still returns the same error. I don't have any issues resolving other websites with Node Red. Any suggestions? Cheers

> [  
> {  
> "id": "8ef4745c1aaeba27",  
> "type": "http request",  
> "z": "57a70889b0fabe0a",  
> "name": "",  
> "method": "GET",  
> "ret": "txt",  
> "paytoqs": "ignore",  
> "url": "[https://www.ah.nl](https://www.ah.nl)",  
> "tls": "",  
> "persist": false,  
> "proxy": "",  
> "insecureHTTPParser": false,  
> "authType": "",  
> "senderr": false,  
> "headers": [  
> {  
> "keyType": "User-Agent",  
> "keyValue": "",  
> "valueType": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0",  
> "valueValue": ""  
> }  
> ],  
> "x": 650,  
> "y": 120,  
> "wires": [  
> [  
> "4a864bfb9a60c86e"  
> ]  
> ]  
> }  
> ]

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [30 October 2024 15:09 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/2 "2024-10-30T15:09:21Z")

</div>

when searching google, there were issues for mealie (a recipe aggregate app) as well, [someone provided a comment](https://github.com/mealie-recipes/mealie/issues/2888):

> ah.nl uses TLS fingerprinting detection to do bot detection

you could use a tls proxy, or perhaps use puppeteer instead ?

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [30 October 2024 16:14 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/3 "2024-10-30T16:14:07Z")

</div>

Your http request node URL is not correct and gives error, clears when i remove the 1.  
The user agent field was also blank , when i add it it seems to work fine for me. e.g.

```auto
[{"id":"ea11a4b36247ec49","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":340,"y":7600,"wires":[["8ef4745c1aaeba27"]]},{"id":"8ef4745c1aaeba27","type":"http request","z":"d1395164b4eec73e","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://www.ah.nl","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"User-Agent","keyValue":"","valueType":"other","valueValue":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"}],"x":510,"y":7600,"wires":[["b43e306f48972352"]]},{"id":"b43e306f48972352","type":"debug","z":"d1395164b4eec73e","name":"debug 2575","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":690,"y":7600,"wires":[]}]

```

Without user agent I get access denied.

---

<div class="post-metadata">

### Author: ![pazkaw](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pazkaw](https://discourse.nodered.org/u/pazkaw)
#### Post date: [31 October 2024 16:47 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/4 "2024-10-31T16:47:29Z")

</div>

Thanks a million! A TLS proxy indeed seems to do the trick. The ja3proxy suggested in that comment did not work for me, but the one from [GitHub - rosahaj/tlsproxy: HTTP proxy with per-request uTLS fingerprint mimicry and upstream proxy tunneling. Currently WIP.](https://github.com/rosahaj/tlsproxy) runs smoothly.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [31 October 2024 18:05 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/5 "2024-10-31T18:05:24Z")

</div>

I get the same error with your flow.

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [31 October 2024 19:01 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/6 "2024-10-31T19:01:35Z")

</div>

Strange as these two flows i get to different results 200 and 403

```auto
[{"id":"ea11a4b36247ec49","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":950.0000762939453,"y":7650.000608444214,"wires":[["8ef4745c1aaeba27"]]},{"id":"8ef4745c1aaeba27","type":"http request","z":"d1395164b4eec73e","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://www.ah.nl","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"User-Agent","keyValue":"","valueType":"other","valueValue":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"}],"x":1120.0000762939453,"y":7650.000608444214,"wires":[["b43e306f48972352"]]},{"id":"b43e306f48972352","type":"debug","z":"d1395164b4eec73e","name":"debug 2575","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1300.0000762939453,"y":7650.000608444214,"wires":[]},{"id":"589255d66e3666a5","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":956.0000762939453,"y":7723.000609397888,"wires":[["23cd9c72d027747c"]]},{"id":"23cd9c72d027747c","type":"http request","z":"d1395164b4eec73e","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://www.ah.nl","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":1126.0000762939453,"y":7723.000609397888,"wires":[["1eadec1ae34eddb4"]]},{"id":"1eadec1ae34eddb4","type":"debug","z":"d1395164b4eec73e","name":"debug 2575","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1306.0000762939453,"y":7723.000609397888,"wires":[]}]

```

 ![chrome_screenshot_31 Oct 2024 18_56_52 GMT](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/1/1177b29648d1696e90755a56d36a5c36f98f286a.png)

Only thing i can think is DNS is not my ISP's I use cloud flare in router, and all ISP safety and protection is turned off.

---

<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: [14 November 2024 19:01 UTC](https://discourse.nodered.org/t/http-request-results-in-access-denied-edgesuite-error/92796/7 "2024-11-14T19:01:44Z")

</div>

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