Skip to content

[Blazor WASM PWA] AspNet.Core Hosted Failed to find a valid digest in the 'integrity' attribute #19828

@mihaimyh

Description

@mihaimyh

I am running a new Blazor-WASM 3.2 Preview 2 AspNetCore hosted inside a Kubernetes cluster and I am experiencing weird errors in a corporate browser:

Service worker: Install
Failed to find a valid digest in the 'integrity' attribute for resource 'https://movingpicturesevents.ro/_content/BlazorStrap/css/cromefix.css' with computed SHA-256 integrity 'zcYvqUfYN3GfyOYN7rX7IXuWA4q2tXxgmJzTDxmvYKk='. The resource has been blocked.
Unknown error occurred while trying to verify integrity.
service-worker.js:1 Uncaught (in promise) TypeError: Failed to fetch
Failed to find a valid digest in the 'integrity' attribute for resource 'https://movingpicturesevents.ro/index.html' with computed SHA-256 integrity 'Z/gb0XZMBuENaJIUS5BumSgKN79Icrkj9y4MuGewdhc='. The resource has been blocked.
Unknown error occurred while trying to verify integrity.
Failed to find a valid digest in the 'integrity' attribute for resource 'https://movingpicturesevents.ro/_framework/wasm/dotnet.3.2.0-preview2.20159.2.js' with computed SHA-256 integrity 'G0POD2J1R26XEDtnl2OT/PoZVgMsdYwohijiCDj36YQ='. The resource has been blocked.
Unknown error occurred while trying to verify integrity.
(index):1 Failed to find a valid digest in the 'integrity' attribute for resource 'https://movingpicturesevents.ro/_framework/wasm/dotnet.3.2.0-preview2.20159.2.js' with computed SHA-256 integrity 'G0POD2J1R26XEDtnl2OT/PoZVgMsdYwohijiCDj36YQ='. The resource has been blocked.

`

You can find the repo here and the live site here.

.NET Core SDK (reflecting any global.json):
 Version:   3.1.102
 Commit:    573d158fea

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19041
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.102\

Host (useful for support):
  Version: 3.1.2
  Commit:  916b5cba26

.NET Core SDKs installed:
  3.1.102 [C:\Program Files\dotnet\sdk]
  3.1.200-preview-014977 [C:\Program Files\dotnet\sdk]
  3.1.200-preview-015002 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Metadata

Metadata

Labels

area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyinvestigate

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions