Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HTTP request works from a browser, but not from nifi.

HTTP request works from a browser, but not from nifi.

Explorer

I am working on a highly secured network. We are required to white list any hosts that we plan on attempting to connect to. I have done so for three different end points that I am attempting to connect to via NiFi. Each of these end points work perfectly fine via a standard browser, but when I attempt the same call using InvokeHTTP in NiFi they fail.
One is using an SSL connection. I've confirmed that my keystores and truststores work via another secured network to the same host via nifi. 
The other two have no real additional security on the other end that could be blocking them so I assume its an issue with this networks configurations.
I'm trying to figure out if there are any potential settings in NiFi that could be changed that would make an GET HTTP call behave differently in NiFi than it would in a standard browser like Chrome or Firefox. Is it possible the call is getting directed through some unusual port? We are running NiFi on port 9090. Could that make a difference for any reason?
I also attempted to run these connections in Postman and I'm getting similar behavior as I do in NiFi. When I execute the request in Postman, I get three extra headers in my return on this system that I don't get on my old network. They are as follows:
X-Cache -> MISS from proxyint01
X-Cache-Lookup -> MISS from proxyint01:3128
via 1.1 proxyint01 (squid/3.5.20)


Don't have an account?
Coming from Hortonworks? Activate your account here