Requires Windows. Windows path semantics; run on a Windows host. Windows path semantics; run on a Windows host. Windows path semantics; run on a Windows host. Requires Windows. Windows path semantics; run on a Windows host. [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) [xUnit.net 00:00:00.07] Discovering: ZB.MOM.WW.MxGateway.Tests [xUnit.net 00:00:00.15] Discovered: ZB.MOM.WW.MxGateway.Tests [xUnit.net 00:00:00.24] Starting: ZB.MOM.WW.MxGateway.Tests [xUnit.net 00:00:00.49] Requires Windows. [xUnit.net 00:00:00.49] Requires Windows. Test 'ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl' was skipped in the test run. Test 'ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser' was skipped in the test run. [xUnit.net 00:00:00.80] Windows path semantics; run on a Windows host. [xUnit.net 00:00:00.80] Windows path semantics; run on a Windows host. Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows' was skipped in the test run. Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows' was skipped in the test run. [xUnit.net 00:00:00.81] Windows path semantics; run on a Windows host. [xUnit.net 00:00:00.81] Windows path semantics; run on a Windows host. Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows' was skipped in the test run. Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows' was skipped in the test run. [19:36:27 ERR] Hosting failed to start Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Dashboard:GroupToRole['GwAdmin'] must be 'Administrator' or 'Viewer'. at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) [19:36:27 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. [19:36:27 INF] Now listening on: http://127.0.0.1:50848 [19:36:27 INF] Application started. Press Ctrl+C to shut down. [19:36:27 INF] Hosting environment: Development [19:36:27 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:27 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIError(String error, String procedure) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData, SqlConnectionEncryptOption encrypt) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword, SqlConnectionEncryptOption encrypt) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback) at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:28 ERR] Hosting failed to start Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Events:QueueCapacity must be greater than zero. at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) [19:36:29 ERR] Hosting failed to start ZB.MOM.WW.Auth.ApiKeys.Sqlite.AuthStoreMigrationException: Auth database schema version 4 is newer than supported version 3. at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) at ZB.MOM.WW.Auth.ApiKeys.DependencyInjection.ApiKeyMigrationHostedService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) [19:36:30 ERR] Hosting failed to start Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Worker:ExecutablePath must point to a .exe file. at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) [19:36:30 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:30 INF] Now listening on: http://127.0.0.1:50856 [19:36:30 INF] Application started. Press Ctrl+C to shut down. [19:36:30 INF] Hosting environment: Development [19:36:30 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:30 INF] AuthenticationScheme: MxGateway.Metrics was forbidden. [19:36:31 ERR] Hosting failed to start Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Authentication:PepperSecretName is required when API-key authentication is enabled. at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) [19:36:31 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:31 INF] Now listening on: http://127.0.0.1:50858 [19:36:31 INF] Application started. Press Ctrl+C to shut down. [19:36:31 INF] Hosting environment: Development [19:36:31 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:31 INF] AuthenticationScheme: MxGateway.Metrics was challenged. [19:36:31 ERR] Hosting failed to start Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Ldap:AllowInsecure must be true when Transport is None (plaintext). at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) [19:36:32 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:32 INF] Now listening on: http://127.0.0.1:50860 [19:36:32 INF] Application started. Press Ctrl+C to shut down. [19:36:32 INF] Hosting environment: Development [19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:32 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:32 INF] Now listening on: http://127.0.0.1:50862 [19:36:32 INF] Application started. Press Ctrl+C to shut down. [19:36:32 INF] Hosting environment: Development [19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:32 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:32 INF] Now listening on: http://127.0.0.1:50864 [19:36:32 INF] Application started. Press Ctrl+C to shut down. [19:36:32 INF] Hosting environment: Development [19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:32 INF] Application is shutting down... [19:36:32 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. [19:36:32 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. [19:36:32 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 [19:36:32 INF] Now listening on: http://127.0.0.1:50866 [19:36:32 INF] Application started. Press Ctrl+C to shut down. [19:36:32 INF] Hosting environment: Development [19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:36:32 INF] AuthenticationScheme: MxGateway.Metrics was challenged. info: ZB.MOM.WW.MxGateway.Server.Security.Tls.SelfSignedCertificateProvider[0] Generated gateway self-signed certificate: thumbprint=23E7078D92EA6651F3D3EAC5F45FC32982314B39, notAfter=2036-11-14 00:37:13Z, sans=DNS:localhost, DNS:Josephs-MBP, IP Address:127.0.0.1, IP Address:0:0:0:0:0:0:0:1 [19:37:13 INF] Now listening on: https://127.0.0.1:50921 [19:37:13 WRN] Galaxy hierarchy cache refresh failed. Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. GenericFailure at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIError(String error, String procedure) at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) at Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData, SqlConnectionEncryptOption encrypt) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword, SqlConnectionEncryptOption encrypt) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback) at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() --- End of stack trace from previous location --- at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) ClientConnectionId:2d6356bf-a5b4-40b5-9aea-9e5d1f36f7d9 [19:37:13 INF] Application started. Press Ctrl+C to shut down. [19:37:13 INF] Hosting environment: Development [19:37:13 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [19:37:13 INF] Application is shutting down... [xUnit.net 00:00:47.76] Finished: ZB.MOM.WW.MxGateway.Tests [xUnit.net 00:00:00.49] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [SKIP] [xUnit.net 00:00:00.49] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [SKIP] [xUnit.net 00:00:00.80] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [SKIP] [xUnit.net 00:00:00.80] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [SKIP] [xUnit.net 00:00:00.81] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [SKIP] [xUnit.net 00:00:00.81] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [SKIP]