[ https://issues.apache.org/jira/browse/NIFI-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-12788: ------------------------------------ Summary: Failure to start when specifying network interfaces due to IPv6 host encoding (was: Failure to start when specifying network interfaces) > Failure to start when specifying network interfaces due to IPv6 host encoding > ----------------------------------------------------------------------------- > > 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 > Fix For: 2.0.0 > > 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)