We upgraded to 7.2.1 and there were preview versions to install, while we are in a stable version?
Now nuget 2.3.0-preview20230509 is completely gone, we can't build anymore. And, if we try to switch to rc-1 we have another incompatibility error.
Why do you use preview packages on stable releases?
It is now impossible for us to make fixes in production.
ABP Framework version: v7.0.0
UI type: Blazor
DB provider: EF Core /
Tiered (MVC) or Identity Server Separated (Angular): yes
Exception message and stack trace:
11:47:01 INF] Request starting HTTP/1.1 GET http://docker-t02:9204/ - -
[11:47:01 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
[11:47:01 INF] Start processing HTTP request GET https://backadmin.configurateur-recette.manuloc.net/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
[11:47:01 INF] Sending HTTP request GET https://backadmin.configurateur-recette.manuloc.net/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
[11:47:01 ERR] Connection id "0HMOGQ0EV1E2R", Request id "0HMOGQ0EV1E2R:00000003": An unhandled exception was thrown by the application.
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The SSL connection could not be established, see inner exception.) See the inner exception for details.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter
1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync(ClientProxyRequestContext requestContext) --- End of inner exception stack trace --- at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase
1.RequestAsync(ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase
1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetRemoteConfigurationAsync()
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__16_0()
at Volo.Abp.Caching.DistributedCache2.GetOrAddAsync(TCacheKey key, Func
1 factory, Func1 optionsFactory, Nullable
1 hideErrors, Boolean considerUow, CancellationToken token)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
[11:47:01 INF] Request finished HTTP/1.1 GET http://docker-t02:9204/ - - - 500 0 - 20.3222ms
Steps to reproduce the issue:" Create image of blazor Run image on portainer
I do the same in my 5.2 project and work. I dont understand.
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44349/global.js?_v=637895241250928036:40:328 at Array.forEach (<anonymous>) at a.findFunction (https://localhost:44349/global.js?_v=637895241250928036:40:296) at _ (https://localhost:44349/global.js?_v=637895241250928036:40:2437) at https://localhost:44349/global.js?_v=637895241250928036:40:3325 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:44349/global.js?_v=637895241250928036:40:3306) at Object.Rt [as invokeJSFromDotNet] (https://localhost:44349/global.js?_v=637895241250928036:40:59738) at _mono_wasm_invoke_js_blazor (https://localhost:44349/_framework/dotnet.6.0.4.dckq00jdfr.js:1:195300) at wasm://wasm/00970c26:wasm-function[219]:0x1a0fb Microsoft.JSInterop.JSException: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44349/global.js?_v=637895241250928036:40:328 at Array.forEach (<anonymous>) at a.findFunction (https://localhost:44349/global.js?_v=637895241250928036:40:296) at _ (https://localhost:44349/global.js?_v=637895241250928036:40:2437) at https://localhost:44349/global.js?_v=637895241250928036:40:3325 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:44349/global.js?_v=637895241250928036:40:3306) at Object.Rt [as invokeJSFromDotNet] (https://localhost:44349/global.js?_v=637895241250928036:40:59738) at _mono_wasm_invoke_js_blazor (https://localhost:44349/_framework/dotnet.6.0.4.dckq00jdfr.js:1:195300) at wasm://wasm/00970c26:wasm-function[219]:0x1a0fb at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext() at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenuLayout.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
ABP Framework version: v5.1.4
UI type: Blazor Wasm
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace: Cannot use file stream for [/app/bin/Debug/net6.0/Docker.Blazor.deps.json]: No such file or directory A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/app/bin/Debug/net6.0/'. Failed to run as a self-contained app.
Steps to reproduce the issue:" Create dockerfile and docker-compose
DOCKERFILE :
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY ["NuGet.Config", "."] COPY ["src/Docker.Blazor/Docker.Blazor.csproj", "src/Docker.Blazor/"] COPY ["src/Docker.HttpApi.Client/Docker.HttpApi.Client.csproj", "src/Docker.HttpApi.Client/"] COPY ["src/Docker.Application.Contracts/Docker.Application.Contracts.csproj", "src/Docker.Application.Contracts/"] COPY ["src/Docker.Domain.Shared/Docker.Domain.Shared.csproj", "src/Docker.Domain.Shared/"] RUN dotnet restore "src/Docker.Blazor/Docker.Blazor.csproj" COPY . . WORKDIR "/src/src/Docker.Blazor" RUN dotnet build "Docker.Blazor.csproj" -c Release -o /app/build
FROM build AS publish RUN dotnet publish "Docker.Blazor.csproj" -c Release -o /app/publish
FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["dotnet", "Docker.Blazor.dll"]
docker-compose :
version: '3.4'
services: docker.blazor: image: ${DOCKER_REGISTRY-}dockerblazor build: context: . dockerfile: src/Docker.Blazor/Dockerfile