[ 
https://issues.apache.org/jira/browse/NIFI-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Lukyanov updated NIFI-3954:
----------------------------------
    Description: 
The description taken here:
https://stackoverflow.com/questions/44112959/apache-nifi-with-youtube-data-api

Use HttpGET frocessor with url
https://www.googleapis.com/youtube/v3/commentThreads?key=

should receive http error code 400 with json output
but got exception of host name verification

{code}Hostname www.googleapis.com does the match the certificate subject 
provided by the peer *.googleapis.com{code}


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

  was:
The description taken here:
https://stackoverflow.com/questions/44112959/apache-nifi-with-youtube-data-api

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 




> javax.net.SSL.PeerUnverifiedException Hostname www.googleapis.com does the 
> match the certificate subject provided by the peer
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-3954
>                 URL: https://issues.apache.org/jira/browse/NIFI-3954
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.2.0
>            Reporter: Dmitry Lukyanov
>
> The description taken here:
> https://stackoverflow.com/questions/44112959/apache-nifi-with-youtube-data-api
> Use HttpGET frocessor with url
> https://www.googleapis.com/youtube/v3/commentThreads?key=
> should receive http error code 400 with json output
> but got exception of host name verification
> {code}Hostname www.googleapis.com does the match the certificate subject 
> provided by the peer *.googleapis.com{code}
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to