Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi web page does not start Windows 2008 Server R2

avatar

Nifi installed on Windows Server 2008 R2 using the Windows msi without any errors. The service starts up but when I attempt to open nifi in the Web browser using http://localhost:8080/nifi, I get the Nifi water drop but the canvas never appears.

The error appears in the nifi user log. Do I need to enable HTTPS?

2018-04-10 14:52:07,061 INFO [NiFi Web Server-119] org.apache.nifi.web.filter.RequestLogger Attempting request for (<no user found>) POST http://localhost:8080/nifi-api/access/kerberos (source ip: 127.0.0.1)
2018-04-10 14:52:07,062 INFO [NiFi Web Server-119] o.a.n.w.a.c.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS.. Returning Conflict response.
2018-04-10 14:52:07,235 INFO [NiFi Web Server-128] org.apache.nifi.web.filter.RequestLogger Attempting request for (<no user found>) POST http://localhost:8080/nifi-api/access/oidc/exchange (source ip: 127.0.0.1)
2018-04-10 14:52:07,236 INFO [NiFi Web Server-128] o.a.n.w.a.c.IllegalStateExceptionMapper java.lang.IllegalStateException: User authentication/authorization is only supported when running over HTTPS.. Returning Conflict response.
2018-04-10 14:52:07,842 INFO [NiFi Web Server-129] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/current-user (source ip: 127.0.0.1)
2018-04-10 14:52:08,418 INFO [NiFi Web Server-128] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/client-id (source ip: 127.0.0.1)
2018-04-10 14:52:08,419 INFO [NiFi Web Server-114] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/config (source ip: 127.0.0.1)
2018-04-10 14:52:08,422 INFO [NiFi Web Server-131] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/cluster/summary (source ip: 127.0.0.1)
2018-04-10 14:52:09,634 INFO [NiFi Web Server-45] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/banners (source ip: 127.0.0.1)
2018-04-10 14:52:11,046 INFO [NiFi Web Server-133] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/processor-types (source ip: 127.0.0.1)
2018-04-10 14:52:11,076 INFO [NiFi Web Server-128] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/about (source ip: 127.0.0.1)
2018-04-10 14:52:11,262 INFO [NiFi Web Server-130] org.apache.nifi.web.filter.RequestLogger Attempting request for (<no user found>) GET http://localhost:8080/nifi-api/access/config (source ip: 127.0.0.1)
2018-04-10 14:52:12,613 INFO [NiFi Web Server-131] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/controller-service-types (source ip: 127.0.0.1)
2018-04-10 14:52:15,440 INFO [NiFi Web Server-119] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/reporting-task-types (source ip: 127.0.0.1)
2018-04-10 14:52:26,157 INFO [NiFi Web Server-113] org.apache.nifi.web.filter.RequestLogger Attempting request for (anonymous) GET http://localhost:8080/nifi-api/flow/prioritizers (source ip: 127.0.0.1)
1 ACCEPTED SOLUTION

avatar

I resolved the issue by using a different browser. The version of Internet Explorer I was using did not work. I resolved the issue by allowing the 8080 port through the windows firewall and then connecting remotely using Chrome.

View solution in original post

6 REPLIES 6

avatar

@cduby

Look for this line in your nifi-app.log file

The UI is available at the following URLs:

What URLs do you see?

avatar
2018-04-10 00:49:44,720 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs:
2018-04-10 00:49:44,720 INFO [main] org.apache.nifi.web.server.JettyServer http://127.0.0.1:8080/nifi
2018-04-10 00:49:44,720 INFO [main] org.apache.nifi.web.server.JettyServer http://172.31.56.60:8080/nifi
2018-04-10 00:49:44,722 INFO [main] org.apache.nifi.BootstrapListener Successfully initiated communication with Bootstrap


avatar
@cduby

Try one of those URLs instead of localhost.

avatar

@Wynner I see the same problem with both of those URLs.

avatar

I tried on Windows Server 2012 and had the same issue.

I am creating my windows instance in AWS using the Windows Server with SQL Server.

avatar

I resolved the issue by using a different browser. The version of Internet Explorer I was using did not work. I resolved the issue by allowing the 8080 port through the windows firewall and then connecting remotely using Chrome.