Page 2 of 3

Re: Apply Configuration hangs forever, might be SSL related

Posted: Thu Jun 02, 2011 4:23 pm
by mguthrie
Good deal. We're going to post a new devel snapshot tomorrow and I'll post the link for it. You can download and run the upgrade script to test the fixes.

In the meantime, I'll also have you try the following things. In your /usr/local/nagiosxi/html/config.inc.php file, make sure the following line is present and set to "true":

$cfg['use_https']=true; //set this for true if you're using strict ssl.

Also, in the Core Config Manager->Config Manager Admin->Config Manager Settings, set the protocol to https as well.

Re: Apply Configuration hangs forever, might be SSL related

Posted: Thu Jun 02, 2011 5:01 pm
by mguthrie
Development Snapshot posted at the following URL. Download to the /tmp directory, untar, and run the "upgrade" script.
http://assets.nagios.com/downloads/nagi ... 654.tar.gz

Let us know how it goes : )

Posted: Tue Jun 07, 2011 11:44 am
by nauessp
Good morning!

The "$cfg['use_https']=true" option in /usr/local/nagiosxi/html/config.inc.php was not there, but I added the line and restarted everything. I also double checked the Config Manager Settings, and the protocol was set as https. After the change in config.inc.php and a restart of everything, nothing changed. The "Apply Configuration" still hung forever.

I then tried the Snapshot you linked on our development server. The upgrade script worked, and it seems to have fixed the problem! I have added, changed, and removed things and the "Apply Configuration" is finishing and returning the "Continue" button. Never thought I'd be so happy to see that button!

If it would be helpful, I can try this Snapshot on our production server as well. It has a large, complex set of hosts, services, notification, etc. (If this is a fairly stable snapshot, I may want to use it anyway...) Or development server is configured the same way, but only has a few things set up.

Thanks for all your help!

Re: Apply Configuration hangs forever, might be SSL related

Posted: Tue Jun 07, 2011 1:12 pm
by nscott
Thats fantastic nauessp. Thanks a lot for replying with the steps you took to fix the problem too!

Regards,

Re: Apply Configuration hangs forever, might be SSL related

Posted: Tue Jun 07, 2011 1:57 pm
by mguthrie
We're waiting to here back on one more test case, but if all goes well the snapshot we sent will be the next point release. Thanks for getting back to us!

Re: Apply Configuration hangs forever, might be SSL related

Posted: Tue Jun 07, 2011 5:05 pm
by nauessp
I upgraded our production environment and everything is working great. When the "Apply Configuration" is clicked it finishes up cleanly, even with hundreds and hundreds of hosts/services/etc.

I also noticed that all 6 of the little green "System Ok" check boxes show up. Before this update, only a few of them showed up when running with SSL. Just a small thing, but looks like stuff is working better than before.

Thanks again!

Re: Apply Configuration hangs forever, might be SSL related

Posted: Tue Jun 07, 2011 6:36 pm
by mguthrie
Awesome! Glad to hear it!

Re: Apply Configuration hangs forever, might be SSL related

Posted: Tue Jun 14, 2011 10:58 am
by c0ldf1r3
I too am experiencing the same issue:
Applying Configuration

Command submitted for processing...
Waiting for configuration verification......................................................

I tried the point release and I am still getting the same reponse. "Waiting for configuration verification......................................................"
I verified https settings.

Re: Apply Configuration hangs forever, might be SSL related

Posted: Tue Jun 14, 2011 2:52 pm
by mguthrie
Also sent reply by email:
We're currently working on isolating the cause of this issue, but we've experienced difficulty so far because of varying server configurations per user. Would you be willing to send us the apache configurations you're using to force SSL, and also any relevant virtual host information that you're using.

Re: Apply Configuration hangs forever, might be SSL related

Posted: Wed Jun 15, 2011 11:53 am
by c0ldf1r3
reply sent:

Ok I checked and the server is running https. I even set the "server protocol" on NagXI under "Configure NagiosQL Settings" to https.
Now I can log in using http or https.

When I log in via https I still cannot do an "apply configuration".

I only get the following:
Applying Configuration

Command submitted for processing...
Waiting for configuration verification....................................................

It just sits in this state and never closes.