Alteryx Designer Desktop Discussions

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

HTTP/1.1 407 Proxy Authentication Required

MadMax
6 - Meteoroid

I'm using the downloading tool with a correct URL and I got the following error:

 

HTTP/1.1 407 Proxy Authentication Required
Proxy-Authenticate: NEGOTIATE
Proxy-Authenticate: NTLM
Proxy-Authenticate: BASIC realm="MillwardBrownDC"
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
Set-Cookie: BCSI-CS-f89c73c53b0f638a=2; Path=/
Connection: close
Content-Length: 849

I've read that it should be due to my company is using a proxy for some outbound connections but the thing is that when I try to do this with an internet browser, I don't have any problem.

If I do this coding with Java, I don't have problems either and I don't need to tell java any user or password to connect through any proxy.

 

The URL that I'm trying to access belongs to an OSM API. I've tried using a URL to access to the Google Places API from Alteryx and it works like a charm.

 

Any idea how to solve this?

 

 

Thanks!

7 REPLIES 7
MadMax
6 - Meteoroid

It seems that has nothing to do with any proxy authentication since I tested it from home too and  I got the following error:

HTTP/1.1 400 Bad Request
Date: Thu, 02 Mar 2017 19:42:12 GMT
Server: Apache/2.4.18 (Ubuntu)
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 441
Connection: close
Content-Type: text/html; charset=utf-8

Sadly, I still have no idea how to solve it.

patrick_mcauliffe
14 - Magnetar
14 - Magnetar

Hey, @MadMax I've been through dozens of variations on this issue.

Can you tell me what you see when you get to the LAN Settings screen?

Internet Explorer --> Go to Tools --> Internet Options --> Connections Tab --> LAN Settings

MadMax
6 - Meteoroid

 Hi @patrick_mcauliffe, 

 

Thanks for you reply.

 

Here it is what I see in my LAN Settings screen:

LAN_settings.png

 

 

Thanks in advance!

patrick_mcauliffe
14 - Magnetar
14 - Magnetar

@MadMax

That's about what I expected.

There are a few options, almost all involve talking to your IT Security team, but let's just try a workaround first.

 

Delete the text in the address box, then uncheck the first two boxes.

Try to run your workflow again immediately after clicking OK.

MadMax
6 - Meteoroid

 Hi Patrick,

 

That's solved a problem that I was just having with another API (thank you very much!) but not the one that I still have with the OSM API.

 

I'm trying to download a JSON object from this URL. I can see on my browser (Chrome/Firefox/IE) and, as I've already said, in my Java code, but with alteryx I got the following error.

 

 

DownloadHeaders

HTTP/1.1 400 Bad Request
Date: Fri, 10 Mar 2017 15:16:21 GMT
Server: Apache/2.4.18 (Ubuntu)
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 441
Connection: close
Content-Type: text/html; charset=utf-8

 

DownloadData

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
<title>OSM3S Response</title>
</head>
<body>

<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unknown type "%" </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: An empty query is not allowed </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unknown type "3" </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: An empty query is not allowed </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unknown type "E" </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: An empty query is not allowed </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unknown type ";" </p>
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: An empty query is not allowed </p>

</body>
</html>

 

I'll try later from home to see if now it's working.

 

 

Thanks!

patrick_mcauliffe
14 - Magnetar
14 - Magnetar

@MadMax

 

In the Download tool configuration, uncheck "Encode URL".

 

MadMax
6 - Meteoroid

Sorry for the delay in my reply.

 

Now, it works!!!

Thanks a million!

 

Labels