Could not contact registration server

FAQ


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.

Common Causes and Solutions

Internet Access and Firewall Issues

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.

DNS Configuration Problems

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.

SELinux Protection

Another possibility is that your server has SELinux protection enabled. This kernel level protection will restrict operations to several components. You can disable SELinux or configure it to allow socket connections from PHP web applications.

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.