Xagio Connection Issues
The 3 most typical reasons Xagio will not connect to your site.
Tanja Stamenkovska
Last Update il y a 4 ans
Xagio was developed with "minimum" standards of operability for the security of sites that run it. This means that if your hosting provider uses an outdated version of MySQL, PHP or OpenSSL type scripts (or any other software for that matter), our plugin will refuse to work on that environment.
This doesn't mean that Xagio is a bad plugin. It's actually quite the opposite. It's such a good plugin that it won't hang out in bad neighborhoods.
"99% of reputable & responsible hosts will run updated scripts
for security purposes, and if one becomes outdated a simple
support ticket will be all that's needed for them to get it updated again."
So here are the most common connection issues you'll have with Xagio.
If you are seeing any connection errors related to PHP, OpenSSL, cURL, or mCrypt, it's likely that your hosting provider is a little outdated and needs to update things on their end. Typically all that you'll need to do is submit a ticket with your hosting company and let them know you need that specific script updated for security reasons.
You can take a snapshot of the Xagio Installer (and associated error should you encounter one) and send that to your Hosting company along with your support ticket to aid them in their update.
If they say no, then RUN from that host. Your websites are precious assets and any company you are paying money to host them, should be running up to date scripts.
Some hosting companies will use Cloudflare as a method of protecting your sites from bad traffic, whether you know it or not.
You will know you are encountering a Cloudflare error if you see the following image on the Xagio auto-installer;

This means that the IP of your server has been abused for some malicious purpose (typically spamming, scraping or something else) and it is now blocked by most CDN networks.
Since Xagio also uses CloudFlare as our own CDN and Internet Security Service your IP (server) cannot communicate with our main app through this service.
In this case we recommend you to ask your host to get you a new IP or change hosting company completely.
- WordFence
- Securi
- All In One WP Security
- etc.
These are all great plugins to secure your sites, but often times they will block any outside communication from your site, which also includes the connection from your site to Xagio Dashboard.
The first method you should use is our secondary communication device called "Alternative API Endpoint". This will drop a new PHP file into the root of your WP installation and give Xagio Dashboard a second shot at achieving a successful communication with your blog.
To turn this feature on please access the Dashboard of your Xagio plugin within your WordPress site, then choose the Troubleshooting Tab. From there locate the "Use Alternative API Endpoint" option and set it to on.
See image below for quick reference:

This should work 90% of the time, however if this method fails to work, than you may need to try another security plugin or de-activate the current one you are using.
Alternatively there may also be some settings in your plugin that you can edit to help the communication from an outside source work. However, this will be up to you to figure out as we cannot support other software products we do not own. :(