You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2015/12/28 18:44:49 UTC
[jira] [Commented] (NIFI-1327) Transitive SNAPSHOT dependency
[ https://issues.apache.org/jira/browse/NIFI-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072949#comment-15072949 ]
Joseph Percivall commented on NIFI-1327:
----------------------------------------
I looked into fixing this and ran into two issues when trying to exclude the OkHttp dependency from the OkHttp-digest.
First I tried just excluding it and keeping version 2.5 of OkHttp (as we imported before). In doing so the OkHttp-digest lib no longer sends the "uri" of the digest handshake properly. It sends the whole url instead of just the path.
So I tried changing the version of OkHttp that we import to 2.6. In doing so all of the InvokeHttpSSL tests fail with error:
{code}
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
{code}
I tried debugging by looking at the change log[1] but nothing jumped out at me. After attempting to debug it I wanted to send an email to their user's thread but the best I could do is create a stackoverflow question [2].
I'll revisit this once I hear back on the question or if I haven't heard back in a couple days
[1] https://github.com/square/okhttp/blob/master/CHANGELOG.md
[2] http://stackoverflow.com/questions/34498023/okhttp-upgrading-from-2-5-to-2-6-breaks-https-tests
> Transitive SNAPSHOT dependency
> ------------------------------
>
> Key: NIFI-1327
> URL: https://issues.apache.org/jira/browse/NIFI-1327
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 0.4.1
> Reporter: Brandon DeVries
> Assignee: Joseph Percivall
> Priority: Minor
>
> We currently have a dependency on okhttp-digest 0.4\[1\]. This version of okhttp-digest\[2\] has a dependency on okhttp 2.6.0-SNAPSHOT\[3\]. Elsewhere, we depend on okhttp 2.5.0\[4\].
> \[1\] https://github.com/apache/nifi/blob/a7b09a57c59a72c11b5f956a044bb009606218b1/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml#L177#L182
> \[2\] https://github.com/rburgst/okhttp-digest
> \[3\] https://bintray.com/artifact/download/rburgst/android/com/burgstaller/okhttp-digest/0.4/okhttp-digest-0.4.pom
> \[4\] https://github.com/apache/nifi/blob/a7b09a57c59a72c11b5f956a044bb009606218b1/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/pom.xml#L172#L176
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)