Page 1 of 1

Error: This rapid response URL has expired and can no longer

Posted: Mon Oct 01, 2018 7:14 am
by dlukinski
Hi

with 5.5.4 upgrade we now getting "Error: This rapid response URL has expired and can no longer be used." on emails only couple of hours old.
How to fix this problem (we have to be able to respond to emails up to 1 week old)?

Thank you

Re: Error: This rapid response URL has expired and can no lo

Posted: Mon Oct 01, 2018 10:51 am
by scottwilkerson
This was added in 5.5.0 to expire after 30 minutes.

We have had other requests to make this adjustable and that feature will be added in 5.6.0 when it is released.

Until then, you can adjust the time with the following command to increase the value to 1 week
If you have a upgraded system still using postgresql

Code: Select all

echo "INSERT INTO xi_options (name, value) VALUES ('rr_valid_link_timeout', '604800');"|psql nagiosxi nagiosxi
Or mysql

Code: Select all

echo "INSERT INTO xi_options (name, value) VALUES ('rr_valid_link_timeout', '604800');"|mysql -pnagiosxi nagiosxi

Re: Error: This rapid response URL has expired and can no lo

Posted: Wed Oct 17, 2018 9:21 am
by dlukinski
scottwilkerson wrote:This was added in 5.5.0 to expire after 30 minutes.

We have had other requests to make this adjustable and that feature will be added in 5.6.0 when it is released.

Until then, you can adjust the time with the following command to increase the value to 1 week
If you have a upgraded system still using postgresql

Code: Select all

echo "INSERT INTO xi_options (name, value) VALUES ('rr_valid_link_timeout', '604800');"|psql nagiosxi nagiosxi
Or mysql

Code: Select all

echo "INSERT INTO xi_options (name, value) VALUES ('rr_valid_link_timeout', '604800');"|mysql -pnagiosxi nagiosxi

How to check which DB our XI is using?

Re: Error: This rapid response URL has expired and can no lo

Posted: Wed Oct 17, 2018 9:43 am
by scottwilkerson
run the following

Code: Select all

grep dbtype /usr/local/nagiosxi/html/config.inc.php
If any of the returned lines say

Code: Select all

"dbtype" => 'pgsql',
then it is postgresql otherwise mysql

Re: Error: This rapid response URL has expired and can no lo

Posted: Thu Oct 18, 2018 11:32 am
by dlukinski
scottwilkerson wrote:run the following

Code: Select all

grep dbtype /usr/local/nagiosxi/html/config.inc.php
If any of the returned lines say

Code: Select all

"dbtype" => 'pgsql',
then it is postgresql otherwise mysql
Hi

Did not quite work that way:


[root@fikc-nagxiprod01 ~]# grep dbtype /usr/local/nagiosxi/html/config.inc.php
$cfg['dbtype'] = ''; // this setting is no longer used - use settings below
"dbtype" => 'pgsql',
"dbtype" => 'mysql',
"dbtype" => 'mysql',
//if (!defined('CFG_ONLY')) { require_once(dirname(__FILE__).'/db/'.$cfg['dbtype '].'.inc.php'); }
[root@fikc-nagxiprod01 ~]# grep dbtype => 'pgsql' /usr/local/nagiosxi/html/config.inc.php
grep: =: No such file or directory
[root@fikc-nagxiprod01 ~]# grep dbtype => 'mysql' /usr/local/nagiosxi/html/config.inc.php
grep: =: No such file or directory
[root@fikc-nagxiprod01 ~]#

Re: Error: This rapid response URL has expired and can no lo

Posted: Thu Oct 18, 2018 2:54 pm
by scottwilkerson
dlukinski wrote:"dbtype" => 'pgsql',
this line exists as I mentioned, so you would run the following

Code: Select all

echo "INSERT INTO xi_options (name, value) VALUES ('rr_valid_link_timeout', '604800');"|psql nagiosxi nagiosxi

Re: Error: This rapid response URL has expired and can no lo

Posted: Fri Nov 16, 2018 7:18 pm
by dlukinski
scottwilkerson wrote:
dlukinski wrote:"dbtype" => 'pgsql',
this line exists as I mentioned, so you would run the following

Code: Select all

echo "INSERT INTO xi_options (name, value) VALUES ('rr_valid_link_timeout', '604800');"|psql nagiosxi nagiosxi
This is now resolved. Thank you

Re: Error: This rapid response URL has expired and can no lo

Posted: Mon Nov 19, 2018 10:38 am
by lmiltchev
I am glad your issue has been resolved!

I am closing this topic.