Random Blazor “Failed to find a valid digest in the 'integrity' attribute for resource” on iis

人走茶凉 提交于 2021-02-10 16:14:41

问题


I am facing an issue when loading a site built and published using blazor. I get the following error message:

" Failed to find a valid digest in the 'integrity' attribute for resource 'https://MYWEBSITEURL.com/_framework/System.Private.CoreLib.dll' with computed SHA-256 integrity 'xV9SflNt5Ex5gP7OznQorlp2VkdJXkcAiopU+h5DRzY='. The resource has been blocked. "

I assume that the browser blocks the files from downloading because the hashes created when publishing do not match.

No files where edited after publish and no git was involved I publish the application from VS 2019 and upload to the server via FTP.

However, the pattern is random. If I refresh the page a few times, it works, and if I refresh the page again, it breaks again. Some times one resource gest blocked, other times none, and other times 10.

Any assistance would be greatly appreciated.

来源:https://stackoverflow.com/questions/66063159/random-blazor-failed-to-find-a-valid-digest-in-the-integrity-attribute-for-re

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!