Could not contact registration server

If you get a "Could not contact registration" warning when trying to activate a plugin, it means your server is not allowed to contact the registration server at www.fop2.com on ports 80/443.

This can happen if your server does not have access to the internet. You will need to enable internet access in order to activate the plugin or retrieve a trial license online. Be sure to check your firewall rules to allow outbound web connections from your server.

It might also happen that your server has internet access, but DNS resolvers are not configured correctly, In that case be sure to configure correct DNS servers on your server network configuration (File /etc/resolv.conf).

You can test both of the above from your server command line using the ping tool:

ping -c 4 www.fop2.com

If you receive an error like "Name or service not known" it means DNS are not configured. 


Another possibility is that your server has SELinux protection enabled. This kernel level protection will restrict operations to serveral components. You can disable SELlinux or configure it to allow socket connections from PHP web applciations. You can enable those special settings with the following commands:

setsebool -P telepathy_tcp_connect_generic_network_ports 1 
setsebool -P httpd_can_network_connect 1 
setsebool -P allow_user_mysql_connect 1 
setsebool -P httpd_can_network_connect_db 1



Or you can disable SELinux by editing the file /etc/selinux/config and setting SELINUX to disabled and restarting the server.

Did you find this article useful?