Hi Everyone,
I think I have a problem similar to this thread:
I’m getting the same errors relating to GPG. The issue in the above thread was resolved by opening a port on the firewall, which is something we can’t do. We are behind a http proxy and do not have direct access to / control over the internet.
It hasn’t always taken an age to amportal a r, we started getting long pauses after a module update that I applied on the 2nd January 2015.
We are running version 5.211.65-19 and has been that way since we installed in the summer (we haven’t attempted to upgrade). All the modules are up-to-date.
The errors I’m seeing are when attempting a amportal a r :
[root@pbx ~]# time amportal a r
Fetching FreePBX settings with gen_amp_conf.php..
Successfully reloaded
real 10m18.090s
user 0m3.546s
sys 0m1.189s
the freepbx_dbug gives this output:
2015-Jan-13 11:47:27 /var/www/html/admin/libraries/BMO/GPG.class.php:510
[DEPRECATION_WARNING]: Comments starting with ‘#’ are deprecated in Unknown on line 22
2015-Jan-13 11:47:28 /var/www/html/admin/libraries/BMO/GPG.class.php:510
[DEPRECATION_WARNING]: Comments starting with ‘#’ are deprecated in Unknown on line 24
2015-Jan-13 11:47:28 /var/www/html/admin/libraries/BMO/GPG.class.php:510
[DEPRECATION_WARNING]: Comments starting with ‘#’ are deprecated in Unknown on line 24
2015-Jan-13 11:47:28 /var/www/html/admin/libraries/BMO/GPG.class.php:510
[DEPRECATION_WARNING]: Comments starting with ‘#’ are deprecated in Unknown on line 31
2015-Jan-13 11:47:28 /var/www/html/admin/libraries/BMO/GPG.class.php:510
[DEPRECATION_WARNING]: Comments starting with ‘#’ are deprecated in Unknown on line 21
2015-Jan-13 11:47:29 /var/www/html/admin/libraries/BMO/GPG.class.php:510
[DEPRECATION_WARNING]: Comments starting with ‘#’ are deprecated in Unknown on line 23
I have attempted to hack the above mentioned file by adding http-proxy=xxx to the gpg options (even though it’s already an environment variable). I have also tried to force gpg to use port 80 by removing the first option of the key servers in that file. Sadly neither of these approaches worked so I have reverted the file back to defaults.
If anyone has any ideas how I can get round this it would be appreciated.