Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi UI getting 404 error

Nifi UI getting 404 error

New Contributor

Hi all,

I had a working version of Nifi 1.7.1 installed on my personal laptop, and was using it for developing flows on localhost:8080/nifi

I'm not sure if it's because I upgraded my Mac OS to OS Mojave, or not, but I can no longer access the UI. I see this issue has popped up before, but can't seem to resolve my issue.

Things I've already done:

1. updated the nifi.security.properties.key to have a value instead of being blank.
2. checked the logs. I AM seeing an error, but I'm not able to figure out what to do to solve. I'm copy/pasting the WARN and ERROR logs below:

WARN:
2018-11-14 05:15:08,167 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default 2018-11-14 05:15:08,236 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. 2018-11-14 05:36:40,501 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default 2018-11-14 05:36:40,568 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. 2018-11-14 05:55:57,154 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default 2018-11-14 05:55:57,223 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. 2018-11-14 05:57:38,552 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default 2018-11-14 05:57:38,618 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. 2018-11-14 05:58:41,971 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default 2018-11-14 05:58:42,043 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.

ERROR:
2018-11-14 05:14:55,402 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /Users/jonas/nifi-1.7.1/./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war with context path set to / 2018-11-14 05:15:08,223 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@36d02719{/,file:///Users/jonas/nifi-1.7.1/work/jetty/nifi-web-error-1.7.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war} 2018-11-14 05:36:27,318 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /Users/jonas/nifi-1.7.1/./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war with context path set to / 2018-11-14 05:36:40,557 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@f714749{/,file:///Users/jonas/nifi-1.7.1/work/jetty/nifi-web-error-1.7.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war} 2018-11-14 05:55:43,434 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /Users/jonas/nifi-1.7.1/./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war with context path set to / 2018-11-14 05:55:57,211 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@404a7c61{/,file:///Users/jonas/nifi-1.7.1/work/jetty/nifi-web-error-1.7.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war} 2018-11-14 05:57:25,378 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /Users/jonas/nifi-1.7.1/./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war with context path set to / 2018-11-14 05:57:38,608 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@16a83016{/,file:///Users/jonas/nifi-1.7.1/work/jetty/nifi-web-error-1.7.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war} 2018-11-14 05:58:28,489 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /Users/jonas/nifi-1.7.1/./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war with context path set to / 2018-11-14 05:58:42,033 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@428e875f{/,file:///Users/jonas/nifi-1.7.1/work/jetty/nifi-web-error-1.7.1.war/webapp/,AVAILABLE}{./work/nar/framework/nifi-framework-nar-1.7.1.nar-unpacked/META-INF/bundled-dependencies/nifi-web-error-1.7.1.war}

1 REPLY 1

Re: Nifi UI getting 404 error

New Contributor

@Jim Streuli were you able to resolve this issue? , i have upgraded my Mac OS to Catalina and see the same issue.

getting HTTP ERROR 404.

Don't have an account?
Coming from Hortonworks? Activate your account here