-
Notifications
You must be signed in to change notification settings - Fork 769
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Hello, ive upgraded my packages to .NET 10:
➜ ~ dotnet --version 10.0.101 ➜ ~ dotnet --list-sdks 10.0.101 [/usr/lib64/dotnet/sdk] ➜ ~ dotnet --list-runtimes Microsoft.AspNetCore.App 10.0.1 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 10.0.1 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App] ➜ ~ aspire --version 13.1.0+8a4db1775c3fbae1c602022b636299cb04971fde ➜ ~
but aspire run just gives me
Spring.AppHost git:(main) ✗ aspire run ❌ An unexpected error occurred: The JSON-RPC connection with the remote party was lost before the request could complete. Using launch settings from /var/home/user/git/Spring/Spring.AppHost/Properties/launchSettings.json... info: Aspire.Hosting.DistributedApplication[[0]] Aspire version: 13.1.0+8a4db1775c3fbae1c602022b636299cb04971fde info: Aspire.Hosting.DistributedApplication[[0]] Distributed application starting. info: Aspire.Hosting.DistributedApplication[[0]] Application host directory is: /var/home/user/git/Spring/Spring.AppHost fail: Microsoft.Extensions.Hosting.Internal.Host[[11]] Hosting failed to start Polly.Timeout.TimeoutRejectedException: The operation didn't complete within the allowed timeout of '00:00:10'. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken
cancellationToken)+MoveNext()
at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval,
CancellationToken cancellationToken)+MoveNext() in //src/Aspire.Hosting/Utils/PeriodicRestartAsyncEnumerable.cs:line 39
at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Utils/PeriodicRestartAsyncEnumerable.cs:line 59 at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval,
CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken
cancellationToken)+MoveNext() in //src/Aspire.Hosting/Dcp/KubernetesService.cs:line 298
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken
cancellationToken)+MoveNext() in //src/Aspire.Hosting/Dcp/KubernetesService.cs:line 298
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken
cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.DcpExecutor.<>c__DisplayClass59_0.<b__1>d.MoveNext() in
//src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 800
--- End of stack trace from previous location ---
at Aspire.Hosting.Dcp.DcpExecutor.<>c__DisplayClass59_0.<b__1>d.MoveNext() in
//src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 800
--- End of stack trace from previous location ---
at Polly.ResiliencePipeline.<>c.<b__3_0>d.MoveNext()
--- End of inner exception stack trace ---
at Polly.Utils.ExceptionUtilities.TrySetStackTrace[[T]](T exception)
at Polly.Timeout.TimeoutResilienceStrategy.ExecuteCore[[TResult,TState]](Func3 callback, ResilienceContext context, TState state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.SetExistingTaskResult(Task1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder1.SetResult(TResult result) at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task.TrySetCanceled(CancellationToken tokenToRecord, Object cancellationException) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.SetException(Exception exception, Task1& taskField) at Aspire.Hosting.Dcp.DcpExecutor.<>c__DisplayClass59_0.<<UpdateWithEffectiveAddressInfo>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 800 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext() at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 298 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval,
CancellationToken cancellationToken)+MoveNext() in //src/Aspire.Hosting/Utils/PeriodicRestartAsyncEnumerable.cs:line 59
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken cancellationToken)+MoveNext() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task.InternalCancel() at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() --- End of stack trace from previous location --- at Polly.Outcome1.GetResultOrRethrow()
at Polly.ResiliencePipeline.ExecuteAsync(Func2 callback, CancellationToken cancellationToken) at Aspire.Hosting.Dcp.DcpExecutor.UpdateWithEffectiveAddressInfo(IEnumerable1 services, CancellationToken cancellationToken,
Nullable1 timeout) in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 796 at Aspire.Hosting.Dcp.DcpExecutor.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 178 at Aspire.Hosting.Orchestrator.ApplicationOrchestrator.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Orchestrator/ApplicationOrchestrator.cs:line 453 at Aspire.Hosting.Orchestrator.OrchestratorHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Orchestrator/OrchestratorHostService.cs:line 41 at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[[T]](IEnumerable1 services, CancellationToken token, Boolean
concurrent, Boolean abortOnFirstException, List1 exceptions, Func3 operation)
fail: Microsoft.Extensions.Hosting.Internal.Host[[9]]
BackgroundService failed
System.OperationCanceledException: The operation was canceled.
at System.Threading.PeriodicTimer.State.Signal(Boolean stopping, CancellationToken cancellationToken)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.g__Await|26_0(Int32 i,
ValueTask vt, List1 toDispose) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecuteFromThreadPool(Thread threadPoolThread) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() --- End of stack trace from previous location --- at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token) at Aspire.Hosting.Cli.CliOrphanDetector.ExecuteAsync(CancellationToken stoppingToken) in /_/src/Aspire.Hosting/Cli/CliOrphanDetector.cs:line 88 at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) crit: Microsoft.Extensions.Hosting.Internal.Host[[10]] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.OperationCanceledException: The operation was canceled. at System.Threading.PeriodicTimer.State.Signal(Boolean stopping, CancellationToken cancellationToken) at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.<DisposeAsync>g__Await|26_0(Int32 i, ValueTask vt, List1 toDispose)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext,
ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecuteFromThreadPool(Thread
threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Aspire.Hosting.Cli.CliOrphanDetector.ExecuteAsync(CancellationToken stoppingToken) in
//src/Aspire.Hosting/Cli/CliOrphanDetector.cs:line 88
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
Unhandled exception. System.AggregateException: One or more errors occurred. (The operation didn't complete within the allowed timeout
of '00:00:10'.)
---> Polly.Timeout.TimeoutRejectedException: The operation didn't complete within the allowed timeout of '00:00:10'.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken cancellationToken)+MoveNext() at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken
cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Utils/PeriodicRestartAsyncEnumerable.cs:line 39 at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval,
CancellationToken cancellationToken)+MoveNext() in //src/Aspire.Hosting/Utils/PeriodicRestartAsyncEnumerable.cs:line 59
at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 298 at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 298 at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at Aspire.Hosting.Dcp.DcpExecutor.<>c__DisplayClass59_0.<<UpdateWithEffectiveAddressInfo>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 800 --- End of stack trace from previous location --- at Aspire.Hosting.Dcp.DcpExecutor.<>c__DisplayClass59_0.<<UpdateWithEffectiveAddressInfo>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 800 --- End of stack trace from previous location --- at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext() --- End of inner exception stack trace --- at Polly.Utils.ExceptionUtilities.TrySetStackTrace[[T]](T exception) at Polly.Timeout.TimeoutResilienceStrategy.ExecuteCore[[TResult,TState]](Func3 callback, ResilienceContext context, TState state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task1.TrySetResult(TResult result) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.SetExistingTaskResult(Task1 task, TResult result) at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder1.SetResult(TResult result)
at Polly.ResiliencePipeline.<>c.<b__3_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.TrySetCanceled(CancellationToken tokenToRecord, Object cancellationException)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.SetException(Exception exception, Task1& taskField)
at Aspire.Hosting.Dcp.DcpExecutor.<>c__DisplayClass59_0.<b__1>d.MoveNext() in
//src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 800
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext()
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[[T]](String namespaceParameter, CancellationToken cancellationToken)+MoveNext()
in //src/Aspire.Hosting/Dcp/KubernetesService.cs:line 298
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at Aspire.Hosting.Utils.PeriodicRestartAsyncEnumerable.CreateAsync[[T]](Func3 enumerableFactory, TimeSpan restartInterval, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Utils/PeriodicRestartAsyncEnumerable.cs:line 59 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at k8s.Watcher1.CreateWatchEventEnumerator(Func1 streamReaderCreator, Action1 onError, CancellationToken
cancellationToken)+MoveNext()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread)
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.InternalCancel()
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
--- End of stack trace from previous location ---
at Polly.Outcome1.GetResultOrRethrow() at Polly.ResiliencePipeline.ExecuteAsync(Func2 callback, CancellationToken cancellationToken)
at Aspire.Hosting.Dcp.DcpExecutor.UpdateWithEffectiveAddressInfo(IEnumerable1 services, CancellationToken cancellationToken, Nullable1 timeout) in //src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 796
at Aspire.Hosting.Dcp.DcpExecutor.RunApplicationAsync(CancellationToken cancellationToken) in
//src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 178
at Aspire.Hosting.Orchestrator.ApplicationOrchestrator.RunApplicationAsync(CancellationToken cancellationToken) in
//src/Aspire.Hosting/Orchestrator/ApplicationOrchestrator.cs:line 453
at Aspire.Hosting.Orchestrator.OrchestratorHostService.StartAsync(CancellationToken cancellationToken) in
//src/Aspire.Hosting/Orchestrator/OrchestratorHostService.cs:line 41
at Microsoft.Extensions.Hosting.Internal.Host.b__14_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[[T]](IEnumerable1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List1 exceptions, Func`3 operation)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Aspire.Hosting.DistributedApplication.RunAsync(CancellationToken cancellationToken) in
//src/Aspire.Hosting/DistributedApplication.cs:line 443
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Aspire.Hosting.DistributedApplication.Run() in //src/Aspire.Hosting/DistributedApplication.cs:line 471
at Spring.AppHost.Program.Main(String[[]] args) in /var/home/user/git/Spring/Spring.AppHost/AppHost.cs:line 122
➜ Spring.AppHost git:(main) ✗
`
docker is installed and running, and user has the correct rights.
➜ ~ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
creating a blank application seems to work
`
➜ testaphost aspire run
AppHost: testaphost.AppHost/testaphost.AppHost.csproj
Dashboard: https://localhost:17221/login?t=8356778753ea261ea651
57b51701d786
Logs: /home/user/.aspire/cli/logs/apphost-33833-2026-01-07
-11-06-06.log
Press CTRL+C to stop the apphost and exit.
`
but docker ps still says there are no containers and page is not reachable, even if it says so.
➜ ~ curl https://localhost:17221/login\?t\=8356778753ea261ea65157b51701d786 curl: (28) Failed to connect to localhost port 17221 after 135651 ms: Could not connect to server
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
`
➜ ~ dotnet --info
.NET SDK:
Version: 10.0.101
Commit: fad253f51b
Workload version: 10.0.100-manifests.1773493e
MSBuild version: 18.0.6+fad253f51
Runtime Environment:
OS Name: fedora
OS Version: 42
OS Platform: Linux
RID: fedora.42-x64
Base Path: /usr/lib64/dotnet/sdk/10.0.101/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.1
Architecture: x64
Commit: fad253f51b
.NET SDKs installed:
10.0.101 [/usr/lib64/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.1 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.1 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_BUNDLE_EXTRACT_BASE_DIR [/home/user/.cache/dotnet_bundle_extract]
DOTNET_ROOT [/usr/lib64/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
`
Anything else?
No response