Hi K2 Community,
I have been testing different K2 Five installations scenarios with a PROD license and in both instances a stand-alone or farm configuration, K2 Host Server process will not start --this is a new installation, not an upgrade--. HostServer*.log files always have the following exception:
"7582","20*personal details removed*:53:56","Error","General","0","ErrorMessage","SourceCode.Hosting.Server.Runtime.HostLoadBalancedServerManager.Poll","0 System.Exception: Error (500) Internal Server Error.at SourceCode.Configuration.Client.Extensions.RestSharpExtensions.EnsureSuccess(IRestResponse`1 response)at SourceCode.Configuration.Client.ConfigurationClient.GetServices()at SourceCode.Hosting.Server.Runtime.HostLoadBalancedServerManager.Poll()","system","127.0.0.1","ServerName:D:Program FilesK2Host ServerBin","7582","3e4fda2b8f1646228765d4bbf50f512d","""7688","20*personal details removed*:53:56","Error","System","2001","ServerStartError","SourceCode.Hosting.Server.Runtime.HostServerEngine.StartHostServer","2001 Error Starting Host Server: System.NullReferenceException: Object reference not set to an instance of an object.at SourceCode.CloudLinkService.Badger.BadgerLinkService.Initialize(IServiceMarshalling serviceMarshalling, IServerMarshaling serverMarshalling)at SourceCode.CloudLinkService.CloudLinkService.TryInitialize()at SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableTypeInstance(IHostableType HostableTypeInstance)at SourceCode.Hosting.Server.Runtime.HostTypeLoader.InitAndEnrollHostableType(String HostedTypeName, String InterfaceName)at SourceCode.Hosting.Server.Runtime.HostTypeLoader.InitAndEnrollHostableTypes(String InterfaceName)at SourceCode.Hosting.Server.Runtime.HostServerEngine.StartHostServer()","system","10.10.10.10","ServerName:D:Program FilesK2Host ServerBin","7688","0c7d75e3ec50404ca4dac6d11ae5326f",""
If you notice the error is thrown by the Pull() function in class HostLoadBalancedServerManager.
I installed the Network Load Balancer feature in Windows Server 2019, without configuring it and the same message was thrown. Then on another attempt, I installed again NLB, but this time with a cluster configured; K2HostServer loaded without any issues.
Furthermore, in also I installed a brand new K2 Blackpearl (with a developer license) in Windows Server 2019, all ran correctly, then copied some of my existing artifacts with K2 Blackpearl Package and Deployment tool, and finally, I upgraded it to K2 Five. Everything ran correctly, and no errors were thrown.
So I wonder is there's some kind of bug with new K2 Five installations in Windows Server 2019 that is forcing me to install and configure NLB? or perhaps I overlooked a requirement from the Prepare your environment in K2 Five installation guide.
This was using K2 Five 5.3 since the compatibility matrix confirms Windows Server 2019 is compatible.
Thank you,
Eduardo