An error occurred while fetching or analyzing the page.

558 views
Skip to first unread message

sup...@freedomnetworking.com

unread,
Apr 20, 2017, 12:36:20 PM4/20/17
to pagespeed-insights-discuss
Does anyone know how to get any information on what causes this issue?  Site is wreathsunlimited.com

Google PageSpeed Insights runs to about 70% and then terminates with "An error occurred while fetching or analyzing the page."  The site runs clean with: webpagetest.org, pingdom.com, dotcom-tools.com and gtmetrix.com.  It fails every time with PageSpeed Insights.  Also Google Analytics reports no page timings.  

The site is a WordPress / WooCommerce site and uses CloudFlare (Pro account) as the CDN and has WP Super Cache to cache the WordPress pages.  If both CloudFlare and WP Super Cache are disabled, PageSpeed Insights and Google Analytics will show some (not all) page timings.

Since Google uses page speed to weight search results, we are concerned that SEO is suffering because the site will not run PageSpeed Insights.

Any help or idea's will be greatly appreciated.

Thanks!
Don

Screen Shot 2017-04-20 at 12.22.59 PM.png

sup...@freedomnetworking.com

unread,
Apr 26, 2017, 2:36:27 PM4/26/17
to pagespeed-insights-discuss
We have swapped out the caching software with a different one and it still fails.  We removed Cloudflare and it also still fails.  So it fails without an CDN and caching software.  We next tried using the pagespeed api.  It returns the 500 response below.  We have removed CloudFlare so the 500 error has be be from Google's server or the site being tested  (wreathsunlimited.com).  Does anyone know which?  We can find no 500 errors in the server logs, but I think it is possible that some 500 errors don't get logged (I could be wrong).  We also tried it with Bing's tool (https://www.bing.com/webmaster/tools/mobile-friendliness) and it runs fine.  Any suggestions or things to try would be great - Thank You


curl "https://www.googleapis.com/pagespeedonline/v1/runPagespeed?url=https://www.wreathsunlimited.com/shop/&key=(apikey)"

{

"error": {

  "errors": [

   {

    "domain": "global",

    "reason": "internalError",

    "message": "An error occurred while fetching or analyzing the page."

   }

  ],

  "code": 500,

  "message": "An error occurred while fetching or analyzing the page."

Helena Halley

unread,
May 3, 2017, 9:43:16 AM5/3/17
to pagespeed-insights-discuss
I'm having this same problem on PageSpeed with my site www.babiestobigkids.org and mine is fine on other sites such as bing and whenever I pull it up on a cell phone it comes right up...Did you find a solution?

Fabiano Confuorto

unread,
May 3, 2017, 2:14:31 PM5/3/17
to pagespeed-insights-discuss
i'm having the same problem, it started yesterday in the middle of the night without any big changes to the site.. maybe pagespeed have a problem?

Prathamesh Gharat

unread,
May 3, 2017, 5:16:08 PM5/3/17
to pagespeed-insights-discuss
Having the same issue with the following page.

Peggy Humble

unread,
May 3, 2017, 5:47:25 PM5/3/17
to pagespeed-insights-discuss
I'm having the same problem, and it started late last night also. Has anyone figured this out yet?

Scott Adams

unread,
May 3, 2017, 6:26:46 PM5/3/17
to pagespeed-insights-discuss
I am having the same issue on www.celiac.com. Any ideas?

sup...@freedomnetworking.com

unread,
May 3, 2017, 7:04:10 PM5/3/17
to pagespeed-insights-discuss

I have put the question in several places and have had no responses or suggestions to try.  If I get any responses, I will post them here also.  It would be great if someone from Google could respond so we don’t have to speculate and worry about possible impact to rankings.


On Thursday, April 20, 2017 at 12:36:20 PM UTC-4, sup...@freedomnetworking.com wrote:

sup...@freedomnetworking.com

unread,
Sep 5, 2017, 3:16:02 PM9/5/17
to pagespeed-insights-discuss
We did finally find the answer to why we kept getting "An error occurred while fetching or analyzing the page." whenever we tried Google Page Speed Insights  Not sure it will apply to anyone else, but I thought I would post the cause and solution we used.  

It had to with a SVG image in the header.  If it is coded like either of these 2 methods, Google PageSpeed Insights fails:

<img src="header.svg" ...>
 
- or-
 
<svg ...>
<style type="text/css">
@font-face{font-family:'Apple-Chancery';src:url("data:;base64,\ 
</style">
<text transform="matrix(1 0 0 1 119.7441 96.1353)" fill="#005A35" font-family="'Apple-Chancery'" font-size="72">Text</text>
</svg>

We solved it by using the <image> directive inside the <svg> tags like:

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="260" height="44.1168289291" viewBox="0 0 719.744 122.651" enable-background="new 0 0 719.744 122.651" xml:space="preserve">
<title>Wreaths Unlimited</title>
<desc>Wreaths Unlimited Home</desc>
<image x="0px" y="0px" width="100%" height="100%" xlink:href="/slider-images/wu-logo-1-09-02b-2017.svgz"></image>
</svg> 

Coding the svg image this way lets all pages complete PageSpeed Insights

Regards,
Don


On Thursday, April 20, 2017 at 12:36:20 PM UTC-4, sup...@freedomnetworking.com wrote:

Carlos Lizaga Anadon

unread,
Sep 6, 2017, 5:47:59 AM9/6/17
to pagespeed-insights-discuss
Nice catch! 
That actually answers some other threads with the very same problem. All of them used SVG at any point.

Thanks!
Reply all
Reply to author
Forward
0 new messages