<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Nifi web server failing to start in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229858#M191711</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;, please can any one help me out on this. any help will appreciated alot.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 00:29:13 GMT</pubDate>
    <dc:creator>deepak_s2</dc:creator>
    <dc:date>2018-08-23T00:29:13Z</dc:date>
    <item>
      <title>Nifi web server failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229854#M191707</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I'm trying to create secured nifi and when i restart it says, &lt;/P&gt;&lt;P&gt;"  &lt;STRONG&gt;INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 40512 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2018-08-21 16:22:24,527 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Unresolved address
2018-08-21 16:22:24,527 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
2018-08-21 16:22:25,894 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;I even tried removing the flowfile, contents and provenance repositories and tried restarting the nifi, even though i,m getting the same error. Any please help me out. Thanks in advance &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/525/mclarke.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/86625-nifi-bootstrap.txt"&gt;nifi-bootstrap.txt&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/86626-applog.txt"&gt;applog.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 06:46:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229854#M191707</guid>
      <dc:creator>deepak_s2</dc:creator>
      <dc:date>2018-08-22T06:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi web server failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229855#M191708</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/87318/deepaks2.html" nodeid="87318"&gt;@Deepak SANAGAPALLI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We see the following error&lt;/P&gt;&lt;PRE&gt;2018-08-21 16:22:24,529 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
java.net.SocketException: Unresolved address
        at sun.nio.ch.Net.translateToSocketException(Net.java:131)
        at sun.nio.ch.Net.translateException(Net.java:157)
        at sun.nio.ch.Net.translateException(Net.java:163)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:76)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:298)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:431)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:777)
        at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:160)
        at org.apache.nifi.NiFi.main(NiFi.java:268)
Caused by: java.nio.channels.UnresolvedAddressException: null
        at sun.nio.ch.Net.checkAddress(Net.java:101)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:218)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        ... 9 common frames omitted&lt;/PRE&gt;&lt;P&gt;NiFi internally starts a Jetty web container. Here the above error indicates that in your configuration you might not have specified the Address for NiFi and hence we see "Unresolved Address" &lt;/P&gt;&lt;P&gt;Can you please share your NiFi config so that we can see why the Address is unresolved.&lt;/P&gt;&lt;P&gt;Also please share the output of the following command to verify if your NiFi Host has a valid hostname.&lt;/P&gt;&lt;PRE&gt;# hostname -f
# cat /etc/hosts
# grep 'nifi.cluster.node.address' /etc/nifi/conf/nifi.properties 
# grep 'nifi.web.http.host' /etc/nifi/conf/nifi.properties 
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 07:28:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229855#M191708</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-08-22T07:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi web server failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229856#M191709</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/87318/deepaks2.html" nodeid="87318"&gt;@Deepak SANAGAPALLI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also as you are securing your Nifi hence can you also check the following https property &lt;STRONG&gt; "nifi.web.https.host"  &lt;/STRONG&gt;is setup &lt;/P&gt;&lt;PRE&gt;# grep 'nifi.web.https.host' /etc/nifi/conf/nifi.properties 
(OR List all web properties as following)
# grep 'nifi.web.htt' /etc/nifi/conf/nifi.properties &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 07:42:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229856#M191709</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-08-22T07:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi web server failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229857#M191710</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; Thanks lot for quick response, here i attach document with all the details you have asked above. please take a look and let me know if you need any other further information.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/86635-nifi-hcc.txt"&gt;nifi-hcc.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:12:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229857#M191710</guid>
      <dc:creator>deepak_s2</dc:creator>
      <dc:date>2018-08-22T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi web server failing to start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229858#M191711</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;, please can any one help me out on this. any help will appreciated alot.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 00:29:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-web-server-failing-to-start/m-p/229858#M191711</guid>
      <dc:creator>deepak_s2</dc:creator>
      <dc:date>2018-08-23T00:29:13Z</dc:date>
    </item>
  </channel>
</rss>

