Skip to content

Blazor wasm error Failed to find a valid digest in the 'integrity' attribute for resource using https #28692

@julitogtu

Description

@julitogtu

Describe the bug

I have a blazor wasm app deployed to an app service but i'm getting the following error: Failed to find a valid digest in the 'integrity' attribute for resource 'domain/_framework/dotnet.wasm' with computed SHA-256 integrity '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='. The resource has been blocked.

But it just happens if i use the https, with http i do not receive that error.

I already do some changes on the .gitattributes and also i put the followings tags on the csproj:

<BlazorCacheBootResources>false</BlazorCacheBootResources> <DisableGitAutoCRLFInPublishOutput>true</DisableGitAutoCRLFInPublishOutput>

image

To Reproduce

Further technical details

  • ASP.NET Core and blazor 5
  • Azure app services

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions