<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120428#M47091</link>
    <description>&lt;P&gt;I'm trying to consume API protected with NTLM authentication [Windows server]. I configured GetHttp process with Url of the server and username + password.&lt;/P&gt;&lt;P&gt;Username in a format of domain/username. I doubled checked the credentials and they are fine.&lt;/P&gt;&lt;P&gt;The GetHttp doesn't work and I am getting 401 [unauthorized] error from the API server.&lt;/P&gt;&lt;P&gt;Here's NiFi log output:&lt;/P&gt;&lt;PRE&gt;2016-11-23 17:45:22,272 WARN [Timer-Driven Process Thread-7]
o.a.http.impl.auth.HttpAuthenticator NEGOTIATE authentication error: No valid
credentials provided (Mechanism level: No valid credentials provided (Mechanism
level: Failed to find any Kerberos tgt))
2016-11-23 17:45:22,272 WARN [Timer-Driven Process Thread-7]
o.a.http.impl.auth.HttpAuthenticator NTLM authentication error: Credentials
cannot be used for NTLM authentication:
org.apache.http.auth.UsernamePasswordCredentials
2016-11-23 17:45:22,274 ERROR [Timer-Driven Process
Thread-7] o.a.nifi.processors.standard.GetHTTP
GetHTTP[id=91ce7dfd-0158-1000-1c53-cf24cf132983] received status code
401:Unauthorized from &lt;A href="http://internal.api.ep/dosomething" target="_blank"&gt;http://internal.api.ep/dosomething&lt;/A&gt;
&lt;/PRE&gt;&lt;P&gt;I will appreciate any recommendation how to work this out.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2016 00:14:06 GMT</pubDate>
    <dc:creator>michael_kalika</dc:creator>
    <dc:date>2016-11-24T00:14:06Z</dc:date>
    <item>
      <title>Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120428#M47091</link>
      <description>&lt;P&gt;I'm trying to consume API protected with NTLM authentication [Windows server]. I configured GetHttp process with Url of the server and username + password.&lt;/P&gt;&lt;P&gt;Username in a format of domain/username. I doubled checked the credentials and they are fine.&lt;/P&gt;&lt;P&gt;The GetHttp doesn't work and I am getting 401 [unauthorized] error from the API server.&lt;/P&gt;&lt;P&gt;Here's NiFi log output:&lt;/P&gt;&lt;PRE&gt;2016-11-23 17:45:22,272 WARN [Timer-Driven Process Thread-7]
o.a.http.impl.auth.HttpAuthenticator NEGOTIATE authentication error: No valid
credentials provided (Mechanism level: No valid credentials provided (Mechanism
level: Failed to find any Kerberos tgt))
2016-11-23 17:45:22,272 WARN [Timer-Driven Process Thread-7]
o.a.http.impl.auth.HttpAuthenticator NTLM authentication error: Credentials
cannot be used for NTLM authentication:
org.apache.http.auth.UsernamePasswordCredentials
2016-11-23 17:45:22,274 ERROR [Timer-Driven Process
Thread-7] o.a.nifi.processors.standard.GetHTTP
GetHTTP[id=91ce7dfd-0158-1000-1c53-cf24cf132983] received status code
401:Unauthorized from &lt;A href="http://internal.api.ep/dosomething" target="_blank"&gt;http://internal.api.ep/dosomething&lt;/A&gt;
&lt;/PRE&gt;&lt;P&gt;I will appreciate any recommendation how to work this out.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:14:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120428#M47091</guid>
      <dc:creator>michael_kalika</dc:creator>
      <dc:date>2016-11-24T00:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120429#M47092</link>
      <description>&lt;P&gt;try adding this to the wifi bootstrap.. &lt;STRONG&gt;http.auth.ntlm.domain = your domain ..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or you can add username@domain as the user.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:17:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120429#M47092</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-11-24T00:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120430#M47093</link>
      <description>&lt;P&gt;Thank you! I've just tried both ways and it doesn't work. Anything else I can do?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:28:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120430#M47093</guid>
      <dc:creator>michael_kalika</dc:creator>
      <dc:date>2016-11-24T00:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120431#M47094</link>
      <description>&lt;P&gt;did you add like so to nifi bootstrap&lt;/P&gt;&lt;P&gt;jvm.args.x(+1 the last arg)=-Dhttp.auth.ntlm.domain=hortonworks.com (replace with your domain)/&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:30:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120431#M47094</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-11-24T00:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120432#M47095</link>
      <description>&lt;P&gt;alternatively you can try entering username like so "hortonworks.com\karthik"&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:34:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120432#M47095</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-11-24T00:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120433#M47096</link>
      <description>&lt;P&gt;Thank you! this is is exactly what I did... I tried it with domain\username, username@domain. Also changed bootstrap.conf configuration as you recommended:&lt;/P&gt;&lt;P&gt;http.auth.ntlm.domain=mydomain&lt;/P&gt;&lt;P&gt;still doesn't work...&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:40:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120433#M47096</guid>
      <dc:creator>michael_kalika</dc:creator>
      <dc:date>2016-11-24T00:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120434#M47097</link>
      <description>&lt;P&gt;yes, I added the line in bootstrap.conf configuration as you recommended:&lt;/P&gt;&lt;P&gt;http.auth.ntlm.domain=mydomain&lt;/P&gt;&lt;P&gt;still doesn't work&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 00:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120434#M47097</guid>
      <dc:creator>michael_kalika</dc:creator>
      <dc:date>2016-11-24T00:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120435#M47098</link>
      <description>&lt;P&gt;Looks like gethttp does not support nt authentication from looking at the code. if you open a jira we can get it added and have a patch available.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 01:18:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120435#M47098</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-11-24T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120436#M47099</link>
      <description>&lt;P&gt;done! thank you very much!&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-3096" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-3096&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 04:13:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120436#M47099</guid>
      <dc:creator>michael_kalika</dc:creator>
      <dc:date>2016-11-24T04:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120437#M47100</link>
      <description>&lt;P&gt;I have done the needed code changes. Unfortunately i do not have a way to test this. If i sent you the NAR with the code change, would you be able to test it.  Basically, just swap out the nifi-standar-nar-x.x.x from the lib, with the one i send you. Please test it on a local, non-prod instance.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 12:23:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120437#M47100</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-12-01T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120438#M47101</link>
      <description>&lt;P&gt;Any chance you could send me your patched library? I'd be interested in the diff too.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 21:56:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120438#M47101</guid>
      <dc:creator>rich_midwinter</dc:creator>
      <dc:date>2017-07-31T21:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120439#M47102</link>
      <description>&lt;P&gt;Don't worry. Rolled my own, seems to work for me.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 15:56:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120439#M47102</guid>
      <dc:creator>rich_midwinter</dc:creator>
      <dc:date>2017-08-01T15:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with GetHttp and NTLM authentication in NiFi,Consuming HTTP API with NTLM auth doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120440#M47103</link>
      <description>&lt;P&gt;I haven't seen any movement on the jira for a while. I am interested in the alternative nar. If you still need some testing of it, I am able to help.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 21:06:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issues-with-GetHttp-and-NTLM-authentication-in-NiFi/m-p/120440#M47103</guid>
      <dc:creator>marcusmattson1</dc:creator>
      <dc:date>2017-11-16T21:06:17Z</dc:date>
    </item>
  </channel>
</rss>

