After uninstall and reinstall of ABP CLI and Suite, I am receiving the "Volo.Abp.Suite terminated unexpectedly!" error when I attempt to start "abp-suite". I removed my ~/.abp directory after uninstalling the Suite and CLI.
Steps to reproduce in ABP 9.1.2:
%abp suite uninstall
%abp cli uninstall
%rm -rf ~/.abp
%dotnet tool install -g Volo.Abp.Studio.Cli
%abp suite install
% abp suite
[09:32:49 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
Starting Suite v9.1.2 ...
[09:32:52 FTL] Volo.Abp.Suite terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnPreApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.Suite.AbpSuiteWebModule, Volo.Abp.Suite, Version=9.1.2.0, Culture=neutral, PublicKeyToken=null: An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.. See the inner exception for details.
---> System.InvalidOperationException: An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.
at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at Volo.Abp.Cli.Http.CliHttpClientExtensions.<>c__DisplayClass1_01.<<GetHttpResponseMessageWithRetryAsync>b__2>d.MoveNext() in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Http\CliHttpClientExtensions.cs:line 81 --- End of stack trace from previous location --- at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func
3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func
5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func
4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy1.ExecuteInternalAsync(Func
3 action, Context context, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Volo.Abp.Cli.Http.CliHttpClientExtensions.GetHttpResponseMessageWithRetryAsync[T](HttpClient httpClient, String url, Nullable1 cancellationToken, ILogger
1 logger, IEnumerable1 sleepDurations) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Http\CliHttpClientExtensions.cs:line 58 at Volo.Abp.Cli.Licensing.AbpIoApiKeyService.GetApiKeyOrNullAsync(Boolean invalidateCache) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Licensing\AbpIoApiKeyService.cs:line 57 at Volo.Abp.Suite.Licensing.SuiteLicenseManager.GetApiKeyAsync(Boolean invalidateCache) at Volo.Abp.Suite.AbpSuiteWebModule.<>c__DisplayClass8_0.FVEjA2NY8uOQhxWQCxV.MoveNext() --- End of stack trace from previous location --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.Run(Func
1 action)
at Volo.Abp.Threading.AsyncHelper.RunSync(Func`1 action) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\Threading\AsyncHelper.cs:line 74
at Volo.Abp.Suite.AbpSuiteWebModule.lrIARrn1qR(ApplicationInitializationContext )
at Volo.Abp.Suite.AbpSuiteWebModule.OnPreApplicationInitialization(ApplicationInitializationContext context)
at Volo.Abp.Modularity.AbpModule.OnPreApplicationInitializationAsync(ApplicationInitializationContext context) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModule.cs:line 69
at Volo.Abp.Modularity.OnPreApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\DefaultModuleLifecycleContributor.cs:line 43
at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleManager.cs:line 42
--- End of inner exception stack trace ---
at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleManager.cs:line 46
at Volo.Abp.AbpApplicationBase.InitializeModulesAsync() in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationBase.cs:line 107
at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationWithExternalServiceProvider.cs:line 46
at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApplicationAsync(IApplicationBuilder app) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.AspNetCore\Microsoft\AspNetCore\Builder\AbpApplicationBuilderExtensions.cs:line 53
at Volo.Abp.Suite.Program.Main(String[] args)
I have also tried this in ABP studio and it also fails to start ABP Suite.
1 Answer(s)
-
0
Hi, thanks for reporting this problem. We have already fixed that problem and will release v9.1.3 with the fix (https://github.com/abpframework/abp/pull/22861).
I'm refunding your ticket, so please wait for v9.1.3 to upgrade the ABP Suite, which we will release probably tomorrow or next week (as soon as possible).
Regards.