deconf.com

  • Home
  • Analytics Insights
  • Search Engine Insights

How can I fix errors like “Google_IO_Exception” and “Failed to connect”?

April 30, 2017 by Alin Marcu

On this documentation page, you’ll find answers to frequently asked questions about Analytics Insights for WP.

If you have any errors displayed under Analytics Insights -> Errors & Debug, you should start by checking these error codes first.

If you can’t find the right answer, go to WordPress.org support forums and drop a question there. Try to give as many details as possible about your issue.

How can I fix errors like “Google_IO_Exception” and “Failed to connect”?

You’re receiving these errors because the server is unable to connect to Google Analytics API. This is a connection issue, so you should contact your hosting provider and ask them to enable/fix outgoing connections through PHP cURL over SSL.

When you have an error similar to this one: Failed to connect to 2404:6800:4006:800::200d: Network is unreachable ask your hosting provider if outgoing connections over IPv6 are supported.

If IPv6 is not supported you’ll need PHP 5.3+ with cURL 7.10.8+ to be able to force connections over IPv4 in Analytics Insights for WP.

To force IPv4 add the following lines into your wp-config.php file:

/** AIWP force Internet Protocol version */
define('AIWP_IP_VERSION', 1);

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Related

Tags: AIWP, FAQ, onead

Follow deconf.com

Subscribe to receive free updates when new plugins, tutorials or posts are available.

Categories

  • WordPress Plugins
  • Joomla! Extensions
  • Analytics Insights FAQ
  • Tutorials
  • Donate or Contribute
  • Contact
  • Data Usage Policy for my Extensions
  • Privacy Policy
  • Tutorials & Tips

Copyright © 2025 · DeConf.com