[ 
https://issues.apache.org/jira/browse/NIFI-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818952#comment-17818952
 ] 

ASF subversion and git services commented on NIFI-12788:
--------------------------------------------------------

Commit d35247b7b16b9734012daf9b35a2e4e7323545f7 in nifi's branch 
refs/heads/main from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d35247b7b1 ]

NIFI-12788 Avoid host URI encoding errors for Jetty Server Connector

This closes #8404

Signed-off-by: David Handermann <exceptionfact...@apache.org>


> Failure to start when specifying network interfaces
> ---------------------------------------------------
>
>                 Key: NIFI-12788
>                 URL: https://issues.apache.org/jira/browse/NIFI-12788
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M2
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> If you configure a network interface in nifi.properties like:
> {code:java}
> nifi.web.https.network.interface.1=lo
> nifi.web.https.network.interface.0=en0 {code}
> It fails start up when trying to print the application URLs because the host 
> name from the Jetty Connector may include characters that are invalid to be 
> passed in to URI.create...
> {code:java}
> java.lang.IllegalArgumentException: Malformed escape pair at index 23: 
> https://0:0:0:0:0:0:0:1%lo:8443/nifi                                          
>              at java.base/java.net.URI.create(URI.java:932)                   
>                                                                               
>                at 
> org.apache.nifi.web.server.JettyServer.lambda$getApplicationUrls$11(JettyServer.java:728)
>        {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to