У меня есть проект веб-приложения 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
Blazor - Получаю кучу ошибок при публикации сайта ⇐ C#
Место общения программистов C#
-
Anonymous
1729614081
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.net/_framework/dotnet.native.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.net/_framework/dotnet.native.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-fallback-long-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.net/_framework/dotnet.native.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.net/_framework/dotnet.native.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.net/_framework/dotnet.native.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.net/_framework/dotnet.native.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.net/_framework/dotnet.native.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.net/_framework/dotnet.native.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)
Подробнее здесь: [url]https://stackoverflow.com/questions/78075616/blazor-getting-a-bunch-of-errors-when-publishing-the-site[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия