Blazor - Получаю кучу ошибок при публикации сайтаC#

Место общения программистов C#
Ответить
Anonymous
 Blazor - Получаю кучу ошибок при публикации сайта

Сообщение Anonymous »

У меня есть проект веб-приложения blazor, который работает отлично, когда я запускаю его, но когда я публикую его в Azure, я получаю кучу ошибок, которых у меня раньше не было.
Я знаю, что это не так. еще много чего можно сделать, но это ошибки, если кто-нибудь знает, почему они происходят.
[2024-02-28T15:18:57.082Z] Information: Normalizing '_blazor' to 'https://blazorenigmaweb.azurewebsites.net/_blazor'.
dotnet.runtime.8.0.2.08ksuqn0ht.js:3 MONO_WASM: The version of dotnet.runtime.js is different from the version of dotnet.js!
pt @ dotnet.runtime.8.0.2.08ksuqn0ht.js:3
dotnet.runtime.8.0.2.08ksuqn0ht.js:3 MONO_WASM: The version of dotnet.native.js is different from the version of dotnet.js!
pt @ dotnet.runtime.8.0.2.08ksuqn0ht.js:3
blazorenigmaweb.azurewebsites.net/:1 Failed to find a valid digest in the 'integrity' attribute for resource 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' with computed SHA-256 integrity 'dqpunZywlYy86b4O6ZjONasmG+4FH0P17FZ0OIf/lIg='. The resource has been blocked.
blazorenigmaweb.azurewebsites.net/:1 Unknown error occurred while trying to verify integrity.
dotnet.js:3 Uncaught (in promise) TypeError: Failed to fetch
at Object.S [as fetch_like] (dotnet.js:3:4466)
at dotnet.js:3:11710
at dotnet.js:3:11726
blazorenigmaweb.azurewebsites.net/:1 Failed to find a valid digest in the 'integrity' attribute for resource 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' with computed SHA-256 integrity 'dqpunZywlYy86b4O6ZjONasmG+4FH0P17FZ0OIf/lIg='. The resource has been blocked.
blazorenigmaweb.azurewebsites.net/:1 Unknown error occurred while trying to verify integrity.
dotnet.js:3 Uncaught (in promise) TypeError: Failed to fetch
at Object.S [as fetch_like] (dotnet.js:3:4466)
at dotnet.js:3:11710
at dotnet.js:3:11726
blazor.web.js:1 [2024-02-28T15:18:58.257Z] Warning: Failed to connect via WebSockets, using the Long Polling fallback transport. This may be due to a VPN or proxy blocking the connection. To troubleshoot this, visit https://aka.ms/blazor-server-using-fall ... ng-polling.
log @ blazor.web.js:1
blazorenigmaweb.azurewebsites.net/:1 Failed to find a valid digest in the 'integrity' attribute for resource 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' with computed SHA-256 integrity 'dqpunZywlYy86b4O6ZjONasmG+4FH0P17FZ0OIf/lIg='. The resource has been blocked.
blazorenigmaweb.azurewebsites.net/:1 Unknown error occurred while trying to verify integrity.
blazor.web.js:1 Error in mono_download_assets: Error: download 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' for dotnet.native.wasm failed 0 TypeError: Failed to fetch
Rr @ blazor.web.js:1
dotnet.js:3 Uncaught (in promise) TypeError: Failed to fetch
at Object.S [as fetch_like] (dotnet.js:3:4466)
at dotnet.js:3:11710
at dotnet.js:3:11726
4dotnet.js:3 Uncaught (in promise) Error: download 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' for dotnet.native.wasm failed 0 TypeError: Failed to fetch
at dotnet.js:3:10097
at async Y (dotnet.js:3:8985)
at async G (dotnet.js:3:8833)
dotnet.runtime.8.0.2.08ksuqn0ht.js:3 Uncaught (in promise) Error: download 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' for dotnet.native.wasm failed 0 TypeError: Failed to fetch
at dotnet.js:3:10097
at async Y (dotnet.js:3:8985)
at async G (dotnet.js:3:8833)
2blazorenigmaweb.azurewebsites.net/:1 Uncaught (in promise) Error: download 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' for dotnet.native.wasm failed 0 TypeError: Failed to fetch
at dotnet.js:3:10097
at async Y (dotnet.js:3:8985)
at async G (dotnet.js:3:8833)
blazor.web.js:1 Uncaught (in promise) Error: download 'https://blazorenigmaweb.azurewebsites.n ... ative.wasm' for dotnet.native.wasm failed 0 TypeError: Failed to fetch
at dotnet.js:3:10097
at async Y (dotnet.js:3:8985)
at async G (dotnet.js:3:8833)


Подробнее здесь: https://stackoverflow.com/questions/780 ... g-the-site
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C#»