Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
The description taken here:
https://stackoverflow.com/questions/44112959/apache-nifi-with-youtube-data-api
Use GetHTTP processor with url https://www.googleapis.com/youtube/v3/commentThreads?key=
Expected response: should receive http error code 400 with json output, but got exception of host name verification
Hostname www.googleapis.com does the match the certificate subject provided by the peer *.googleapis.com
And reproduced with java 1.8 and nifi 1.2.0
Also I found this issue in http client 4.4.x
https://issues.apache.org/jira/browse/HTTPCLIENT-1613
And nifi 1.2.0 uses httpclient-4.4.1.jar
Seems just need to change version of httpclient to 4.5
Attachments
Issue Links
- links to