Pagespeed Insights is giving "Unknown Error" for my site - pagespeed-insights

Since recently I get "Unknown Error" instead of pagespeed results on my website. What could cause this?
I've tried on different browers, devices, at different periods of time. Disabled certain plugins.

Related

Constantly get "?" as score and FMP error on pagespeed insight

I use pagespeed insight to audit thise site:
http://www.omniwaresoft.com.tw/docker/
But I can't get result like usual, instead it shows "?" and "error (NO_FMP)" for First CPU Idle, FMP and dom ready.
Here's the screenshot
This appears to be a problem with the simulated throttling on Page Speed Insights.
I cannot pinpoint the problem but I would guess it is related to some strange behaviour on your site where the site starts loading in and then there is a quick flash and the content then animates in.
Also as you have a lot of assets set to https in source but don't have an SSL certificate the 307 redirects could cause an error somewhere.
Certain Chinese character combinations have been known to cause issues with Lighthouse (the engine behind Page Speed Insights) under throttling although the exact cause I am not sure of.
Workaround
Obviously once the site has SSL etc. the problem could go away.
In the mean time if you go to Developer Tools -> Audits you have the option to deselect 'Simulated Throttling'. If you do that then it does work, although the score is always about 3-5 points lower than simulated throttling so bear that in mind.
newer chrome versions -> the option to deselect the 'Simulated Throttling' is now only visible if you click the settings icon (gear / cog) in the top right of the audits page, took me a few seconds to work out where they had hidden it. Also make sure that 'Clear Storage' is checked so that you get a score as if it was a new visitor to the site.
PageSpeed Lighthouse reports an error on the "too many redirects" as well as an error for "defer off -screen content".
It works as expected if the page is scrolled to the end before the audit is complete. And as https://stackoverflow.com/users/2702894/graham-ritchie noted, it only happens if a slow network is simulated.
There seems to be more than one plugin trying to cache content. Try turning one or both of those off.
Some of the lazy loaded image tags have a src value with a HTTPS protocol on the CDN and a lazy loaded image (data-src) on the server with a HTTP protocol. Try turning lazy loaded images off and if that fixes it, try making sure both src and data-src use the same protocol.
It also seems like something is causing assets that are 404 errors to return the URL of the page.
One last thing I noticed: The Autoptimize plugin does not seem to be resulting in optimized performance—the time to first byte is sometimes over 4 seconds. Maybe try turning it and any other plugins caching off, empty the caches they've created and look at PageSpeed.
In general, turn plugins off and see if the PageSpeed problem is fixed and even if performance is better with them off.

Application Insights "Error retrieving data"

I'm dealing with a mysterious "Error retrieving data" on "Health" and "Application Map" widgets on the Application Insights as per today morning. I've checked the application insight status page, nothing unusual for today. I'm starting to suspect I did something wrong. Any ideas?
Thanks
Bring up the dev tools panel and view network traffic. Watch traffic when the tile is trying to update (maybe refresh page?) and look for some errors. At my company the Zscaler firewall was blocking traffic to *.applicationinsights.io URL which is what the tiles were requesting data from, resulting in 403 errors.
Nah, its MS fault again. I checked the status and they've mentioned a problem exists then again it was solved.
For others hitting this question, it's worth mentioning that I was getting this error in Application Insights due to an ad blocker preventing access to the app insights API. Turning off the blocker for the portal.azure.com domain got things working again.

Microsoft Azure - Could not load the script for the following API...Error 500

Cross-post from MSDN Forums
All of a sudden I can no longer load the server-side Javascripts for my Mobile Services tables for either of my two Mobile Services, and for any of their tables. I can still access the other table tabs ("Browse", "Columns", etc.), but not "Scripts". When I try to do so, I get the following error:
Could not load the script for the following API: <Name-of-Table> Error 500".
I tried logging out and back in in both Safari and Chrome, but got the same. The status of both Mobile Services is "Ready".
I guess this just happens periodically? I can access APIs from both Mobile Services now, with no indication from Microsoft that they needed to fix anything.

Microsoft Azure Websites : Error 404

With the release of Microsoft's new Azure Cloud Platform, I have migrated many of my sites over and participated in the Partner program. Unknowingly, when I joined it converted my account with a spending limit. Apart from the lack of notifications Microsoft sends as your spending limit nears (a different issue) - once the spending limit triggers all your sites will become de-active, triggering the classic Error 404: Site Not Found.
Despite immediately removing the spending limit - the sites all still show Error 404: Site Down.
After painfully waiting over 24 hours with no resolution from Microsoft, I began looking through the configuration for anything that looked out of place. Microsoft recommends restarting and redeploying your website - but that resolves nothing.
The answer was to check the "WEB HOSTING PLAN MODE". Microsoft reverts that to Free when the spending limit is triggered. If you are using a SSL certificate or any other feature requiring "Basic or Standard" - the non-descriptive and incorrect error of Website Not Found will be displayed.
Hope this helps someone that falls into a process flow dead-end.

Diagnosing HTTP 500 errors in Classic ASP

I have recently inherited a website written in Classic ASP, and am currently trying to get a sense of the state of things. The website is working in production, however the development environment (hosting on a Windows Server 2003 box) produces an HTTP 500 error when you try to navigate to it.
I realize that HTTP 500 errors just mean that an unexpected server error occurred, and that this also is more than likely the ASP code crashing for one reason or another. I have tried numerous browsers (IE, Firefox, and Chrome) but they all have the same amount of information.
Being primiarly an ASP.NET developer I am use to the yellow screen of death which can be configured to show a stack trace.
So my question is, how do I convince IIS and/or Classic ASP to give me a better hint about what is causing the error?
Update:
I should have gone into more detail originally, but here are some of the things I've looked at.
I've looked at the event logs
(Application, Security, System, etc)
and there is nothing relevent there.
I have looked at the IIS access logs
and I see the access attempts, and
just 500 errors. It is even
producing 500 errors on favicon.ico
If you can't find the offending line by turning off "Show friendly HTTP error messages" as Wayne suggested, then try adding "On Error Resume Next" to the code along with response.write statements. I've found with problems like these, you just have to start going line by line through the code until you find the offensive code.
Just out of curiosity, is Active Server Pages set to allowed in the Web Server extensions in IIS on the dev servers?
Have you checked the Application portion of the web server's Event Viewer for error entries?
What alex said, also make sure that you turn off "Show friendly HTTP error messages" in Internet Explorer and then browse to the site; that tends to give you a more specific error message (although still generic compared to ASP.NET's stack trace) along with the line number.
If you have a global.asa file in your web directory, you could rename the file and try loading the favicon.ico file again. If it loads, the problem lies within the global.asa
Clearly an old question, but for what it's worth, if you have access to the development server (direct or remote desktop), you can access the site from there. Localhost requests reveal more debugging information about classic ASP including line numbers.

Resources