Google Analytics Curl Error


We’ve got GA+ installed on our development environment and everything appears to be working as expected. However, our production environment is getting a curl timeout error. This is strange because both the servers and WordPress installations / installed plugins are identical, and none of the other plugins are seeing timeout errors.

To Replicate:

1. Open the GA+ settings page from WordPress Dashboard

2. Log in to Google account

3. Select a statistics view from dropdown

4. Click save

See images for details. “Curl Error 28: Resolving timed out after 5514 milliseconds”

This same error appears in the statistics section of main dashboard instead of the nice graphs we see on development.

We’ve compared everything we can think of between the two environments and can’t find any differences. Both sites’ google analytics views work in development – neither in production. Any ideas?


BC EntSys

  • Denitsa
    • WordPress Warrior

    Hello berryentsys,

    I hope you are having an amazing day!

    I couldn’t replicate that behaviour after following the steps you’ve provided on my live sandbox site. This sound like a site specific issue.

    Is your server blocking outgoing cURL connections? An increase of the timeout for connections might be a good idea.

    Another reason could be a spike in server traffic. Try again after a few minutes and see if this gets fixed by itself.

    Warm regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.