Support Questions

Find answers, ask questions, and share your expertise

Not able to access NiFi web UI

Explorer

yesterday, I have installed Apache NiFi in my Linux Server root directory as per in the administration guide and its started and worked fine till yesterday but it is not working today. The error in web UI is "The connection was reset" but in my Linux status it shows Nifi running.

20 REPLIES 20

Explorer

Can some one please help to solve this issue.?

@Iyappan Gopalakrishnan

What's the result of 'bin/nifi.sh status' ?

Explorer

2016-05-28 11:19:49,622 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is running at PID 14059 but is not responding to ping requests

Explorer

if i stopped it shows:

org.apache.nifi.bootstrap.Command Failed to send shutdown command to port 36917 due to java.net.SocketTimeoutException: Read timed out. Will kill the NiFi Process with PID 14059.

Explorer

And Again i rerun it shows:

2016-05-28 11:23:57,677 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is currently running, listening to Bootstrap on port 39794, PID=22080

But still i am facing issue like "Unable to connect" or "Unable to connect"

please help me to solve

Are you sure you are using the correct port ? are you using a sandbox or a real cluster ? what the logs are saying ?

Mentor

@Iyappan Gopalakrishnan

What broswer ?

For firefox check this solution

Firefox

Explorer

Thanks @Geff

i tried but Still facing same issue I tried but still facing same issue

@Iyappan Gopalakrishnan

Can you please check if selinux is enabled on machine? if its on then kindly disable it and try again.

Explorer

Thanks@Jitendra Yadav

Selinux is already disabled but i got the error still

Jitendra Yadadisabled - SELinux is fully disabled. SELINUX=disabled

Explorer

Yes, disabled - SELinux is fully disabled. SELINUX=disabled

it fully disabled

Mentor

@Iyappan Gopalakrishnan

Here is primer and best practice please try increasing the limits and retest

Geoffrey

Explorer

I have done all but except

Set how long sockets stay in a TIMED_WAIT state when closed

Because it shows Error:

error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait" is an unknown key

Mentor

What version of Linux is your server and protocol ? ipv4 or ipv6

Put some value like net.netfilter.nf_conntrack_tcp_timeout_time_wait = 30

Explorer

its ipv4 and tried to put net.netfilter.nf_conntrack_tcp_timeout_time_wait = 30 and receive same "is an unknown key"

Iyappan Gopalakrishnan

Please check for firewall issues as well.

Explorer

i check firewall also but issue continuous remains same...

Master Guru

Are there any WARN/ERROR messages being produced in the nifi-app.log or nifi-bootstrap.log?

Master Guru

Is your NiFi configured to run http or https?

Explorer

it's http...