Slow login
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Slow login
I have a standard deployment of Fusion. I noticed that when logging in, it takes a bit of time to login. This is a vanilla build and logging in using default admin account. Any ideas?
Re: Slow login
How long is "a bit of time?" What kind of machine are you running on? Processor, memory, etc.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Re: Slow login
I timed it and it takes about a minute for the home page to show after putting in the credentials.
Server specs are 2vCPU with 2GB of RAM. Nothing is configured on here yet, so I don't see any activities and system resource utilization is low.
Server specs are 2vCPU with 2GB of RAM. Nothing is configured on here yet, so I don't see any activities and system resource utilization is low.
Re: Slow login
Any errors in /var/log/httpd/error_log when you attempt the login? What does "top" show for resources?
Former Nagios employee
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Re: Slow login
No errors when logging in and top is good.
You do not have the required permissions to view the files attached to this post.
Re: Slow login
Is this behavior the same across all browsers?
If you open up a developer console and watch the 'network' tab, on which element does the login hang? Any clues there?
I am under the assumption that you built this server manually rather than using our pre-built Fusion VM?
If you open up a developer console and watch the 'network' tab, on which element does the login hang? Any clues there?
I am under the assumption that you built this server manually rather than using our pre-built Fusion VM?
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Re: Slow login
I've tested on IE and Chrome with both producing the same results. This VM was deployed from OVF.
During the login process, not much happens. But right after the login is successful, I get this message Login looks clean and I am not sure what it is waiting on.... Netstat shows the connection is established the minute I click login
During the login process, not much happens. But right after the login is successful, I get this message Login looks clean and I am not sure what it is waiting on.... Netstat shows the connection is established the minute I click login
Code: Select all
tcp 0 0 ::ffff:10.242.102.115:443 ::ffff:10.242.13.10:38397 ESTABLISHEDYou do not have the required permissions to view the files attached to this post.
Re: Slow login
Do you get the same delay if you try http:// instead of https:// ?
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Slow login
CFT6Server,
Let us know the results of logging in via http versus https, as eloyd has stated. Thanks!
Let us know the results of logging in via http versus https, as eloyd has stated. Thanks!
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Re: Slow login
Doesn't make any different. I had permanent redirect turned to 443, but I've disabled and tested it. The timing is to the T for 1 minute http or https.
I've tailed the httpd logs and got the following:
Noticed the exact 1 min delay from the first GET to the second GET. Then it logs in fine....
I've tailed the httpd logs and got the following:
Code: Select all
10.242.13.10 - - [16/Jun/2015:19:11:20 -0700] "GET /nagiosfusion/login.php?nsp=141026403dbf8317f941069f0b07838e&page=auth&pageopt=login&username=nagiosadmin&password=<PASSWORDHASH>&loginButton=Login HTTP/1.1" 302 2 "http://10.242.102.115/nagiosfusion/login.php?logout" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
10.242.13.10 - - [16/Jun/2015:19:12:20 -0700] "GET /nagiosfusion/index.php HTTP/1.1" 200 15906 "http://10.242.102.115/nagiosfusion/login.php?logout" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
10.242.13.10 - - [16/Jun/2015:19:12:20 -0700] "GET /nagiosfusion//includes/page-home-main.php?&= HTTP/1.1" 200 8120 "http://10.242.102.115/nagiosfusion/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
10.242.13.10 - - [16/Jun/2015:19:12:20 -0700] "GET /nagiosfusion/ajaxhelper.php?cmd=getfusioncoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=141026403dbf8317f941069f0b07838e HTTP/1.1" 200 829 "http://10.242.102.115/nagiosfusion/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"
10.242.13.10 - - [16/Jun/2015:19:12:21 -0700] "GET /nagiosfusion/ajaxhelper.php?cmd=getfusioncoreajax&opts=%7B%22func%22%3A%22get_getting_started_html%22%2C%22args%22%3A%22%22%7D&nsp=141026403dbf8317f941069f0b07838e HTTP/1.1" 200 1016 "http://10.242.102.115/nagiosfusion//includes/page-home-main.php?&=" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36"