Azure web app: Failed to load resource: net::ERR_BLOCKED_BY_CLIENT on az416426.vo.msecnd.net/scripts/a/ai.0.js

Don 21 Reputation points
2021-06-09T20:17:36.27+00:00

Hi,

I am running into the below error when my Azure web app is loading various pages. This all worked fine before and started failing today and I have made no changes to my web app:

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT on https://az416426.vo.msecnd.net/scripts/a/ai.0.js

Note I can access https://az416426.vo.msecnd.net/scripts/a/ai.0.js from my dev machine fine but when accessing my Azure web app url I see this failure in Chrome console.

Has something changed on the Azure side? I am using Application Insights with my web app and would like to keep using. How to fix this issue?

Thanks,

Don

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,658 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2021-06-10T10:30:44.387+00:00

    @Don , Thanks for posting this question. Apologies you're experience this issue.

    Kindy see if it’s due to JavaScript CDN block. Checkout the suggestions outlined in this doc –‘sections’ below:

    ‘The Application Insights JavaScript CDN has been blocked’
    ‘Application Insights JavaScript CDN is blocked (by end user - blocked by browser; installed blocker; personal firewall)’

    As the snippet and its configuration are returned by your application as part of each generated page, you can change the snippet src configuration to use a different URL for the SDK. By using this approach, you could bypass the CDN blocked issue as the new URL should not be blocked, see if this helps.

    Current Application Insights JavaScript SDK CDN endpoints

    https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js
    https://js.monitor.azure.com/scripts/b/ai.2.min.js


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.