Page 1 of 1

Cannot load site on mobile device

Posted: Wed Jan 06, 2021 9:10 am
by nickap
I'm trying to load the Nagios site on my iOS device but it keeps trying to redirect or load the home page over and over. Any ideas on how to troubleshoot or figure out what the issue is?

Re: Cannot load site on mobile device

Posted: Wed Jan 06, 2021 12:48 pm
by dchurch
Do you mean you're trying to log into the Nagios XI web interface, or do you mean nagios.com?

Did this start happening after you upgraded?

Can you browse the site using Chrome, using the Device Toolbar to enable small screen mode?

Re: Cannot load site on mobile device

Posted: Wed Jan 06, 2021 1:54 pm
by nickap
Apologies, referring to our internal Nagiox XI web interface. I believe it happened after we moved over to CentOS 7. We did change the hostname in the process when we migrated to our new CentOS 7 server. I'm using an iPhone with Safari, I know it worked before. It loads fine on a desktop using Chrome.

Re: Cannot load site on mobile device

Posted: Wed Jan 06, 2021 5:41 pm
by ssax
Are you trying to go the new mobile interface:

Code: Select all

http://YOURXISERVER/nagiosxi/mobile/
The old mobile interface:

Code: Select all

http://YOURXISERVER/nagiosmobile/
Or the main XI interface?

Code: Select all

http://YOURXISERVER/nagiosxi/

Are you seeing any related errors in any of your logs in /var/log/httpd? Please post them.

You can run this command as root and leave it running:

Code: Select all

tail -Fn0 /var/log/httpd/*
Then try to load it on your iOS device and send us the full output after it fails.

Additionally, please run this command as root and send us the resulting /tmp/HTTPDFILES.zip file:

Code: Select all

zip -r /tmp/HTTPDFILES.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d /etc/php.ini
Thank you!