-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Labels
Milestone
Description
REGRESSION INFO Works well on 10.0 and previous build 11.0.100-preview.1.26071.101
INSTALL STEPS
- Clean Win11 x64 23h2 ENU
- Install the .NET 11.0 preview 1 SDK from corohot build
- Add feed
Platform
- Windows
- macOS
- Linux
Repro Steps
- Open a normal Command Prompt
- Create a Blazor Web App for WASM project
dotnet new blazor -int WebAssembly -o MyBlazorWASMApp cd MyBlazorWASMApp - Build the project using
dotnet build - Open MyBlazorWASMApp.Client\Pages\Counter.razor in notepad and update with following content:
@code { int currentCount = 0; [Parameter] public int IncrementAmount { get; set; } = 1; void IncrementCount() { currentCount+=IncrementAmount; } } - Run the project using
dotnet run - Navigate to the "Counter" page in the browser
Note:
- This issue does not repro if I rebuild the project after updating the code in the Counter.razor file.
- This issue does not repro on Blazor web server project.
- If I try to add
<p>New changes</p>in Counter.razor file, will meet issue https://github.com/dotnet/AspNetCore-ManualTests/issues/3152
Actual Result
Error Log
_framework/BlazorAuto.Client.lwytxz2dwg.pdb:1 Failed to load resource: the server responded with a status of 404 (Not Found)
counter:1 Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' with computed SHA-256 integrity 'gz5sb6R6HVnpwimWUeos+YZtyruSPoW+e1c4HQKQwBs='. The resource has been blocked.
counter:1 Fetch API cannot load http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb. SRI's integrity checks failed.
blazor.web.e6dv2k50rl.js:1 Error in mono_download_assets: Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
No @ blazor.web.e6dv2k50rl.js:1
blazor.web.e6dv2k50rl.js:1 Error in mono_download_assets: Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
No @ blazor.web.e6dv2k50rl.js:1
dotnet.9go4sbqo7h.js:4 Uncaught (in promise) TypeError: Failed to fetch. SRI's integrity checks failed.
at Object.M [as fetch_like] (dotnet.9go4sbqo7h.js:4:4729)
at dotnet.9go4sbqo7h.js:4:14189
at ue (dotnet.9go4sbqo7h.js:4:14205)
at dotnet.9go4sbqo7h.js:4:12549
at se (dotnet.9go4sbqo7h.js:4:13021)
at re (dotnet.9go4sbqo7h.js:4:10941)
at o (dotnet.9go4sbqo7h.js:4:6964)
at te (dotnet.9go4sbqo7h.js:4:6990)
at dotnet.9go4sbqo7h.js:4:31594
dotnet.9go4sbqo7h.js:4 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
dotnet.9go4sbqo7h.js:4 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
counter:1 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
startup.ts:338 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
counter:1 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
blazor.web.e6dv2k50rl.js:1 Uncaught (in promise) Error: Failed to start platform. Reason: Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
at ri (blazor.web.e6dv2k50rl.js:1:186766)
blazor.web.e6dv2k50rl.js:1 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.lwytxz2dwg.pdb' for BlazorAuto.Client.lwytxz2dwg.pdb failed 0 TypeError: Failed to fetch
_framework/BlazorAuto.Client.y861nlbcob.wasm:1 Failed to load resource: the server responded with a status of 404 (Not Found)
counter:1 Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:5018/_framework/BlazorAuto.Client.y861nlbcob.wasm' with computed SHA-256 integrity 'gz5sb6R6HVnpwimWUeos+YZtyruSPoW+e1c4HQKQwBs='. The resource has been blocked.
counter:1 Fetch API cannot load http://localhost:5018/_framework/BlazorAuto.Client.y861nlbcob.wasm. SRI's integrity checks failed.
blazor.web.e6dv2k50rl.js:1 Error in mono_download_assets: Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.y861nlbcob.wasm' for BlazorAuto.Client.y861nlbcob.wasm failed 0 TypeError: Failed to fetch
No @ blazor.web.e6dv2k50rl.js:1
dotnet.9go4sbqo7h.js:4 Uncaught (in promise) TypeError: Failed to fetch. SRI's integrity checks failed.
at Object.M [as fetch_like] (dotnet.9go4sbqo7h.js:4:4729)
at dotnet.9go4sbqo7h.js:4:14189
at ue (dotnet.9go4sbqo7h.js:4:14205)
at dotnet.9go4sbqo7h.js:4:12549
at se (dotnet.9go4sbqo7h.js:4:13021)
at re (dotnet.9go4sbqo7h.js:4:10941)
at o (dotnet.9go4sbqo7h.js:4:6964)
at te (dotnet.9go4sbqo7h.js:4:7014)
at dotnet.9go4sbqo7h.js:4:31594
counter:1 Uncaught (in promise) Error: download 'http://localhost:5018/_framework/BlazorAuto.Client.y861nlbcob.wasm' for BlazorAuto.Client.y861nlbcob.wasm failed 0 TypeError: Failed to fetch
[NEW] Explain Console errors by using Copilot in Edge: click
to explain an error.
Learn more
Don't show again
Reactions are currently unavailable