[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.5) [xUnit.net 00:00:00.03] Discovering: ZB.MOM.WW.BTDB.Manager.Tests [xUnit.net 00:00:00.06] Discovered: ZB.MOM.WW.BTDB.Manager.Tests [xUnit.net 00:00:00.08] Starting: ZB.MOM.WW.BTDB.Manager.Tests [15:22:33 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:34 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:34 INF] Application started. Press Ctrl+C to shut down. [15:22:34 INF] Hosting environment: Testing [15:22:34 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:34 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:34 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:35 INF] Application is shutting down... [15:22:35 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:35 INF] Application started. Press Ctrl+C to shut down. [15:22:35 INF] Hosting environment: Testing [15:22:35 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:35 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:38 ERR] Health check sql with status Unhealthy completed after 2559.6622ms with message 'BT database unreachable' Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) ---> System.Net.Sockets.SocketException (61): Connection refused at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle.Connect(String serverName, Int32 port, TimeoutTimer timeout, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo) at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle..ctor(String serverName, Int32 port, TimeoutTimer timeout, Boolean parallel, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo, Boolean tlsFirst, String hostNameInCertificate, String serverCertificateFilename) at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal.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.TdsParser.Connect(ServerInfo serverInfo, SqlConnectionInternal connHandler, TimeoutTimer timeout, SqlConnectionString connectionOptions, Boolean withFailover) at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, DbConnectionPoolGroupProviderInfo providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, IDbConnectionPool pool, Func`3 accessTokenCallback, SspiContextProvider sspiContextProvider) at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionPoolGroupProviderInfo poolGroupProviderInfo, IDbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnectionFactory.CreatePooledConnection(DbConnection owningConnection, IDbConnectionPool pool, DbConnectionPoolKey poolKey, DbConnectionOptions options, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.WaitForPendingOpen() --- End of stack trace from previous location --- at ZB.MOM.WW.BTDB.Manager.Health.SqlReachabilityHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Health/SqlReachabilityHealthCheck.cs:line 53 at ZB.MOM.WW.BTDB.Manager.Health.SqlReachabilityHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Health/SqlReachabilityHealthCheck.cs:line 58 ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:10061,State:0,Class:20 [15:22:38 INF] Application is shutting down... [15:22:38 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:38 INF] Application started. Press Ctrl+C to shut down. [15:22:38 INF] Hosting environment: Testing [15:22:38 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:38 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:38 INF] Application is shutting down... [15:22:38 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:38 INF] Application started. Press Ctrl+C to shut down. [15:22:38 INF] Hosting environment: Testing [15:22:38 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:38 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:38 INF] Application is shutting down... [15:22:38 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:38 INF] Application started. Press Ctrl+C to shut down. [15:22:38 INF] Hosting environment: Testing [15:22:38 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:38 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:38 WRN] Login refused for jbloggs: authenticated against the directory, but their 2 group(s) map to 0 role(s) (), none of which is granted anything by Btdb:Security:GroupToRole and the app's policies. [15:22:38 INF] Application is shutting down... [15:22:38 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:38 INF] Application started. Press Ctrl+C to shut down. [15:22:38 INF] Hosting environment: Testing [15:22:38 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:38 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:38 WRN] Login refused for jbloggs: authenticated against the directory, but their 1 group(s) map to 1 role(s) (Engineer), none of which is granted anything by Btdb:Security:GroupToRole and the app's policies. [15:22:38 INF] Application is shutting down... [15:22:38 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:38 INF] Application started. Press Ctrl+C to shut down. [15:22:38 INF] Hosting environment: Testing [15:22:38 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:38 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:38 INF] Application is shutting down... [15:22:38 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 WRN] Sign-out refused for jbloggs: the request carried no valid antiforgery token. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 WRN] Login refused for jbloggs: LDAP authentication failed (BadCredentials). [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 ERR] Failed to produce the machine audit PDF for id 68. System.InvalidOperationException: BT connection refused. at ZB.MOM.WW.BTDB.Manager.Tests.Pdf.AuditPdfEndpointsTests.<>c.<RepositoryFailure_IsA500Problem_NotAStackTrace>b__15_0(Int32 _) in /Users/dohertj2/Desktop/BTDB/tests/ZB.MOM.WW.BTDB.Manager.Tests/Pdf/AuditPdfEndpointsTests.cs:line 219 at ZB.MOM.WW.BTDB.Manager.Tests.Fakes.FakeDbRepository.GetMachineAuditLogAsync(Int32 machineID, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/tests/ZB.MOM.WW.BTDB.Manager.Tests/Fakes/FakeDbRepository.cs:line 91 at ZB.MOM.WW.BTDB.Manager.Pdf.AuditPdfEndpoints.<>c__DisplayClass3_0.<<MachineAudit>b__0>d.MoveNext() in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Pdf/AuditPdfEndpoints.cs:line 42 --- End of stack trace from previous location --- at ZB.MOM.WW.BTDB.Manager.Pdf.AuditPdfEndpoints.RespondAsync(HttpContext context, String kind, Int32 id, Func`1 produce) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Pdf/AuditPdfEndpoints.cs:line 96 [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:39 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:39 INF] Application started. Press Ctrl+C to shut down. [15:22:39 INF] Hosting environment: Testing [15:22:39 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:39 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:39 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 ERR] An unhandled exception has occurred while executing the request. System.OperationCanceledException: caller went away at ZB.MOM.WW.BTDB.Manager.Tests.Pdf.AuditPdfEndpointsTests.<>c.<OperationCanceled_PropagatesInsteadOfBecomingAProblemResponse>b__16_0(Int32 _) in /Users/dohertj2/Desktop/BTDB/tests/ZB.MOM.WW.BTDB.Manager.Tests/Pdf/AuditPdfEndpointsTests.cs:line 246 at ZB.MOM.WW.BTDB.Manager.Tests.Fakes.FakeDbRepository.GetMachineAuditLogAsync(Int32 machineID, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/tests/ZB.MOM.WW.BTDB.Manager.Tests/Fakes/FakeDbRepository.cs:line 91 at ZB.MOM.WW.BTDB.Manager.Pdf.AuditPdfEndpoints.<>c__DisplayClass3_0.<<MachineAudit>b__0>d.MoveNext() in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Pdf/AuditPdfEndpoints.cs:line 42 --- End of stack trace from previous location --- at ZB.MOM.WW.BTDB.Manager.Pdf.AuditPdfEndpoints.RespondAsync(HttpContext context, String kind, Int32 id, Func`1 produce) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Pdf/AuditPdfEndpoints.cs:line 96 at Microsoft.AspNetCore.Http.RequestDelegateFactory.ExecuteTaskResult[T](Task`1 task, HttpContext httpContext) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task) [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:40 INF] Application started. Press Ctrl+C to shut down. [15:22:40 INF] Hosting environment: Testing [15:22:40 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:40 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:40 ERR] Health check sql with status Unhealthy completed after 0.4833ms with message 'BT database unreachable' Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) ---> System.Net.Sockets.SocketException (61): Connection refused at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle.Connect(String serverName, Int32 port, TimeoutTimer timeout, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo) at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle..ctor(String serverName, Int32 port, TimeoutTimer timeout, Boolean parallel, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo, Boolean tlsFirst, String hostNameInCertificate, String serverCertificateFilename) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 taskCompletionSource, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.SqlClient.SqlConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, SqlConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, SqlConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) 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.BTDB.Manager.Health.SqlReachabilityHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Health/SqlReachabilityHealthCheck.cs:line 53 at ZB.MOM.WW.BTDB.Manager.Health.SqlReachabilityHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Health/SqlReachabilityHealthCheck.cs:line 58 ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:10061,State:0,Class:20 [15:22:40 INF] Application is shutting down... [15:22:40 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is ServiceAccount. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is ServiceAccount. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:41 INF] Application started. Press Ctrl+C to shut down. [15:22:41 INF] Hosting environment: Testing [15:22:41 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:41 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:41 ERR] Health check sql with status Unhealthy completed after 0.1058ms with message 'BT database unreachable' Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) ---> System.Net.Sockets.SocketException (61): Connection refused at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle.Connect(String serverName, Int32 port, TimeoutTimer timeout, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo) at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle..ctor(String serverName, Int32 port, TimeoutTimer timeout, Boolean parallel, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo, Boolean tlsFirst, String hostNameInCertificate, String serverCertificateFilename) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 taskCompletionSource, DbConnectionOptions userOptions, DbConnectionInternal& connection) at Microsoft.Data.SqlClient.SqlConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, SqlConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, SqlConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at Microsoft.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) 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.BTDB.Manager.Health.SqlReachabilityHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Health/SqlReachabilityHealthCheck.cs:line 53 at ZB.MOM.WW.BTDB.Manager.Health.SqlReachabilityHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager/Health/SqlReachabilityHealthCheck.cs:line 58 ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:10061,State:0,Class:20 [15:22:41 INF] Application is shutting down... [15:22:41 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:42 INF] Application started. Press Ctrl+C to shut down. [15:22:42 INF] Hosting environment: Testing [15:22:42 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:42 INF] Application is shutting down... [15:22:42 INF] Btdb:Security:Ldap:BindMode is User; sign-in binds as the user via UserBindTemplate {0}@test.invalid. [15:22:42 INF] Application started. Press Ctrl+C to shut down. [15:22:42 INF] Hosting environment: Testing [15:22:42 INF] Content root path: /Users/dohertj2/Desktop/BTDB/src/ZB.MOM.WW.BTDB.Manager [15:22:42 WRN] Btdb:Security:RequireHttpsCookie is DISABLED — the 'btdb.auth' auth cookie uses SecurePolicy=SameAsRequest and will be sent in cleartext over plain HTTP. Set it to true once the deployment is served over HTTPS. [15:22:42 INF] Application is shutting down... [xUnit.net 00:00:09.06] Finished: ZB.MOM.WW.BTDB.Manager.Tests