You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker on Unraid if you restart the container you get this error
Unhandled exception. System.FormatException: An invalid IP address was specified.
---> System.Net.Sockets.SocketException (22): Invalid argument
--- End of inner exception stack trace ---
at System.Net.IPAddressParser.Parse(ReadOnlySpan1 ipSpan, Boolean tryParse) at Program.<>c__DisplayClass0_0.<<Main>$>b__4(ForwardedHeadersOptions options) in C:\repos\Remotely\Server\Program.cs:line 150 at Microsoft.Extensions.Options.OptionsFactory1.Create(String name)
at Microsoft.Extensions.Options.UnnamedOptionsManager1.get_Value() at Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware..ctor(RequestDelegate next, ILoggerFactory loggerFactory, IOptions1 options)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_0.b__0(RequestDelegate next)
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
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 Program.
$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at Program.(String[] args)
at System.Threading.PeriodicTimer.State.Signal(Boolean stopping, CancellationToken cancellationToken)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.DisposeAsync()
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.AspNetCore.Builder.WebApplication.RunAsync(String url)
at Program.$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Program.$(String[] args)
at Program.(String[] args)
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Immense.RemoteControl.Server.Services.RemoteControlSessionReconnector.ExecuteAsync(CancellationToken stoppingToken) in C:\repos\Remotely\submodules\Immense.RemoteControl\Immense.RemoteControl.Server\Services\RemoteControlSessionReconnector.cs:line 35
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[02:08:54 ERR] BackgroundService failed {EventId={Id=9, Name="BackgroundServiceFaulted"}, SourceContext="Microsoft.Extensions.Hosting.Internal.Host", ThreadId=1}
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()
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.AspNetCore.Builder.WebApplication.RunAsync(String url)
at Program.$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Program.$(String[] args)
at Program.(String[] args)
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Immense.RemoteControl.Server.Services.RemoteControlSessionCleaner.ExecuteAsync(CancellationToken stoppingToken) in C:\repos\Remotely\submodules\Immense.RemoteControl\Immense.RemoteControl.Server\Services\RemoteControlSessionCleaner.cs:line 23
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[02:08:54 FTL] 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. {EventId={Id=10, Name="BackgroundServiceStoppingHost"}, SourceContext="Microsoft.Extensions.Hosting.Internal.Host", ThreadId=1}
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()
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.AspNetCore.Builder.WebApplication.RunAsync(String url)
at Program.$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Program.$(String[] args)
at Program.(String[] args)
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Immense.RemoteControl.Server.Services.RemoteControlSessionCleaner.ExecuteAsync(CancellationToken stoppingToken) in C:\repos\Remotely\submodules\Immense.RemoteControl\Immense.RemoteControl.Server\Services\RemoteControlSessionCleaner.cs:line 23
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[02:08:54 INF] Application is shutting down. Stopping data cleanup service. {SourceContext="Remotely.Server.Services.DataCleanupService", ThreadId=1}
The text was updated successfully, but these errors were encountered:
Docker on Unraid if you restart the container you get this error
Unhandled exception. System.FormatException: An invalid IP address was specified.
$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298---> System.Net.Sockets.SocketException (22): Invalid argument
--- End of inner exception stack trace ---
at System.Net.IPAddressParser.Parse(ReadOnlySpan
1 ipSpan, Boolean tryParse) at Program.<>c__DisplayClass0_0.<<Main>$>b__4(ForwardedHeadersOptions options) in C:\repos\Remotely\Server\Program.cs:line 150 at Microsoft.Extensions.Options.OptionsFactory
1.Create(String name)at Microsoft.Extensions.Options.UnnamedOptionsManager
1.get_Value() at Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware..ctor(RequestDelegate next, ILoggerFactory loggerFactory, IOptions
1 options)at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_0.b__0(RequestDelegate next)
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
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 Program.
at Program.(String[] args)
at System.Threading.PeriodicTimer.State.Signal(Boolean stopping, CancellationToken cancellationToken)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.DisposeAsync()
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.AspNetCore.Builder.WebApplication.RunAsync(String url)
at Program.$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Program.$(String[] args)
at Program.(String[] args)
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Immense.RemoteControl.Server.Services.RemoteControlSessionReconnector.ExecuteAsync(CancellationToken stoppingToken) in C:\repos\Remotely\submodules\Immense.RemoteControl\Immense.RemoteControl.Server\Services\RemoteControlSessionReconnector.cs:line 35
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[02:08:54 ERR] BackgroundService failed {EventId={Id=9, Name="BackgroundServiceFaulted"}, SourceContext="Microsoft.Extensions.Hosting.Internal.Host", ThreadId=1}
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()
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.AspNetCore.Builder.WebApplication.RunAsync(String url)
at Program.$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Program.$(String[] args)
at Program.(String[] args)
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Immense.RemoteControl.Server.Services.RemoteControlSessionCleaner.ExecuteAsync(CancellationToken stoppingToken) in C:\repos\Remotely\submodules\Immense.RemoteControl\Immense.RemoteControl.Server\Services\RemoteControlSessionCleaner.cs:line 23
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[02:08:54 FTL] 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. {EventId={Id=10, Name="BackgroundServiceStoppingHost"}, SourceContext="Microsoft.Extensions.Hosting.Internal.Host", ThreadId=1}
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()
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.g__DisposeAsync|16_0(Object o)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.AspNetCore.Builder.WebApplication.RunAsync(String url)
at Program.$(String[] args) in C:\repos\Remotely\Server\Program.cs:line 298
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Program.$(String[] args)
at Program.(String[] args)
--- End of stack trace from previous location ---
at System.Threading.PeriodicTimer.State.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Immense.RemoteControl.Server.Services.RemoteControlSessionCleaner.ExecuteAsync(CancellationToken stoppingToken) in C:\repos\Remotely\submodules\Immense.RemoteControl\Immense.RemoteControl.Server\Services\RemoteControlSessionCleaner.cs:line 23
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[02:08:54 INF] Application is shutting down. Stopping data cleanup service. {SourceContext="Remotely.Server.Services.DataCleanupService", ThreadId=1}
The text was updated successfully, but these errors were encountered: