Windows path semantics; run on a Windows host. Windows path semantics; run on a Windows host. Requires Windows. Requires Windows. Windows path semantics; run on a Windows host. 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.22] Starting: ZB.MOM.WW.MxGateway.Tests [xUnit.net 00:00:00.39] Windows path semantics; run on a Windows host. [xUnit.net 00:00:00.39] 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.39] Windows path semantics; run on a Windows host. [xUnit.net 00:00:00.39] 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. [xUnit.net 00:00:00.41] Requires Windows. [xUnit.net 00:00:00.41] 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. [20:08:39 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) [20:08:39 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) [20:08:39 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) [20:08:40 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. [20:08:40 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 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) [20:08:41 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 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) [20:08:41 INF] Now listening on: http://127.0.0.1:53565 [20:08:41 INF] Application started. Press Ctrl+C to shut down. [20:08:41 INF] Hosting environment: Development [20:08:41 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:41 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:41 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 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) [20:08:42 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:42 INF] Now listening on: http://127.0.0.1:53568 [20:08:42 INF] Application started. Press Ctrl+C to shut down. [20:08:42 INF] Hosting environment: Development [20:08:42 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:42 INF] AuthenticationScheme: MxGateway.Metrics was forbidden. [20:08:42 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:42 INF] Now listening on: http://127.0.0.1:53570 [20:08:42 INF] Application started. Press Ctrl+C to shut down. [20:08:42 INF] Hosting environment: Development [20:08:42 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:42 INF] Application is shutting down... [20:08:42 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:42 INF] Now listening on: http://127.0.0.1:53572 [20:08:42 INF] Application started. Press Ctrl+C to shut down. [20:08:42 INF] Hosting environment: Development [20:08:42 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:42 INF] AuthenticationScheme: MxGateway.Metrics was challenged. [20:08:42 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:43 INF] Now listening on: http://127.0.0.1:53574 [20:08:43 INF] Application started. Press Ctrl+C to shut down. [20:08:43 INF] Hosting environment: Development [20:08:43 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:43 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:43 INF] Now listening on: http://127.0.0.1:53576 [20:08:43 INF] Application started. Press Ctrl+C to shut down. [20:08:43 INF] Hosting environment: Development [20:08:43 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:43 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. [20:08:43 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. [20:08:43 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:a9a08385-9cb7-4a99-8bc9-03c50567c26d [20:08:43 INF] Now listening on: http://127.0.0.1:53578 [20:08:43 INF] Application started. Press Ctrl+C to shut down. [20:08:43 INF] Hosting environment: Development [20:08:43 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:08:43 INF] AuthenticationScheme: MxGateway.Metrics was challenged. info: ZB.MOM.WW.MxGateway.Server.Security.Tls.SelfSignedCertificateProvider[0] Generated gateway self-signed certificate: thumbprint=EB0DDD5B10D88E1120CC85868E9510A804DD8C23, notAfter=2036-11-14 01:09:25Z, sans=DNS:localhost, DNS:Josephs-MBP, IP Address:127.0.0.1, IP Address:0:0:0:0:0:0:0:1 [20:09:25 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:6b85fe36-2b89-41ef-8707-620bf1118f3e [20:09:25 INF] Now listening on: https://127.0.0.1:53637 [20:09:25 INF] Application started. Press Ctrl+C to shut down. [20:09:25 INF] Hosting environment: Development [20:09:25 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server [20:09:25 INF] Application is shutting down... [xUnit.net 00:00:47.30] Finished: ZB.MOM.WW.MxGateway.Tests [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [SKIP] [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [SKIP] [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [SKIP] [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [SKIP] [xUnit.net 00:00:00.41] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [SKIP] [xUnit.net 00:00:00.41] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [SKIP]