Blocking Error during K2 5.6 Server migration
Error Encountered:
- Error during K2 5.6 migration to a new machine, keeping the SQL server unchanged.
- Error message:
20:49:59:>> Certificates.FindCertificate: Found 1 certificates
20:49:59:>> RegisterShard.Execute: Adding additonal connection string parameters to config service shard
20:49:59:>> AdditionalConnectionStringParameters.AmendSQLConnectionString: Additional connection string parameter value: empty
20:49:59:>> AdditionalConnectionStringParameters.AmendSQLConnectionString: Additional ConnectionString Parameters is empty
20:50:04:>> AnalyzableAction.PopulateValidateAndExecute: Error while running action: System.Exception: Error (0) . ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 12.12.12.12:5560
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at RestSharp.Http.GetRawResponseAsync(IAsyncResult result, Action`1 callback)
at RestSharp.Http.ResponseCallback(IAsyncResult result, Action`1 callback)
--- End of inner exception stack trace ---
at SourceCode.Configuration.Client.Extensions.RestClientExtensions.<ExecuteAndEnsure>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceCode.Configuration.Client.Helpers.AsyncHelper.RunAsSync(Func`1 func)
at SourceCode.Install.Package.Actions.K2.RegisterShard.Execute()
at SourceCode.Install.Package.Actions.AnalyzableAction.PopulateValidateAndExecute(Target target)
20:50:04:>> AnalyzableAction.PopulateValidateAndExecute: End execute standard action: SourceCode.Install.Package.Actions.K2.RegisterShard: Register Environment, result: False
20:50:04:>> ActionBase.LogWarningsErrors: Logged Warning: Done with action: RegisterShard. Success: false
20:50:04:>> Target.Execute: !Completed: Register Environment, Success: False
20:50:04:>> Component.Execute: Logged Error: Internal error has caused the install to terminate:
20:50:04:>> Executor.ExecuteComponent: Logged Error: Blocking execution exception occurred, install cannot continue:
- Root cause: Certificate issue with the K2 Configuration Service.
Steps to Resolve:
Validate and Repair Certificates:
- Navigate to the K2 installation media's Installation folder.
- Run CertificateManager.exe.
- Type "v" and press Enter to validate certificates.
- If errors are found, type "r" and press Enter to repair certificates.
- Exit the CertificateManager.exe.
Relaunch Setup:
- Run Setup.exe again.
- Perform the "Recover" step.
Additional Considerations:
- If issues persist, consult K2 documentation or contact K2 support for further guidance.
- Thoroughly review related KB articles or community discussions for potential solutions.
Key Points:
- The K2 Configuration Service relies on certificates for secure communication.
- Validating and repairing certificates using CertificateManager.exe can often resolve migration errors.
- The "Recover" step in Setup.exe addresses issues related to certificates.
Comments
Post a Comment