Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Alteryx - Failure when receiving data from the peer

Gfreeman
7 - Meteor

Hey all, trying to web scrape data from a web page:

 

https://www.fs.usda.gov/mtnf

 

First, I was getting the error "Failure when receiving data from the peer".

 

So, I created a text file in C:\ProgramData\Alteryx - called it PeerValidationBypass.txt

 

Entry:  www.fs.usda.gov

 

Workflow:  Text input, then download tool, then browse

 

When I run the WF, it shows the Warning: Download (3): TLS Peer Validation bypassed for https connection to host www.fs.usda.gov.

 

But, the WF runs forever, seems to be stuck - I have to cancel it.

 

Anyone else have this issue?

 

 

13 REPLIES 13
Deano478
12 - Quasar

What exactly are you trying to scrape from this page?

Gfreeman
7 - Meteor

Not sure if you got my first message I sent back:

 

I can see in the HTML code:

 

var fireLevel2= {"dangerLevelAt":"forest","fwLevel":"Moderate","ifplLevel":"N/A","fdlz":[],"ur":[]}

 

If I can scrape the website, then I can find the text above, then substring the fwLevel (this case the text is 'Moderate'), can be several values though.

alexnajm
18 - Pollux
18 - Pollux

The server unfortunately probably just doesn't support the request... Error: Failure when receiving data from the peer (... - Alteryx Community

Gfreeman
7 - Meteor

So, if I understand correctly, the server (https://www.fs.usda.gov)

 

This server above doesn't support the request?  If so, are there any alternatives?

apathetichell
20 - Arcturus

are you trying to get  a single specific element from that? 

alexnajm
18 - Pollux
18 - Pollux

@Gfreeman I don't know of any other options besides finding another url to find that same information!

Gfreeman
7 - Meteor

I understand.  Thanks for the information!!!

diegosantos
8 - Asteroid

Hi Gfreeman,

 

I could execute the download tool, but i didn't know how get the HML, maybe someone can help you from this point.

 

Ok, right to the bat,

 

1. Open the web page that you want make a request (https://www.fs.usda.gov/mtnf)

2. Right clik an choose "Inspect"

3. Go to tab network

4. Reload the page

5. Do as describe bellow

 

WebScrap1.png

 

6. Go to https://curlconverter.com/ and paste (as bellow)

WebScrap2.png

 

Now you know the headers and paylod of you request for this page.

 

Put that in download tool (include the cookies), the URL will be (https://www.fs.usda.gov/s/mtnf)

WebScrap4.pngWebScrap3.png

 

 

That way the download tool wa executed, but i dont know how to get the HML, it looks like the page arent load yet.

 

WebScrap5.png

 

If someone could help, i would like to know the asnwer too :-D

diegosantos
8 - Asteroid

FW attached

Labels
Top Solution Authors