After upgrade to 10.2.1, I receive following Notice in the alarm console:
Unexpected Exception [Unable to create connection to MessageBroker. Please see SLMessageBroker.Crash.txt for more information]: Initialize DMA ( at Skyline.DataMiner.Spi.Nats.MessageBrokerConnection..ctor(ISLMessageBrokerFactory messageBrokerFactory)
at Skyline.DataMiner.Spi.Nats.SingletonMessageBrokerConnectionFactory.Create()
at Skyline.DataMiner.Spi.Nats.NatsConnection.get_MessageBroker()
at Skyline.DataMiner.Spi.Nats.NatsConnection.RegisterEvents(String subTopic)
at Skyline.DataMiner.Spi.DataStore.DataStoreFactory.Create(IBusModule module, IBusConnection connection, String subTopic, TimeSpan interval)
at Skyline.DataMiner.Spi.Publish.PublishModuleBuilder.Build()
at Skyline.DataMiner.Diagnostics.AttributeUtil.Configuration.Initialize(Guid nodeId, String hostName, String processName, String publishTarget, Int32 dataMinerId)
at Skyline.DataMiner.Net.DataMiner.Initialize(IStopEvent stopEvent)
at Skyline.DataMiner.Net.LocalDmaStateManager.InternalDoInitialization())
Looking at the SLMessageBroker.Crash.txt:
2021-12-20 20:10:10.876|SLAnalytics|NATS.Client.NATSNoServersException: Unable to connect to a server.
at NATS.Client.Connection.connect()
at NATS.Client.ConnectionFactory.CreateConnection(Options opts)
at Skyline.DataMiner.MessageBroker.SLMessageBroker.CreateNATSConnection()
at Skyline.DataMiner.MessageBroker.SLMessageBroker.Initialize()
at Skyline.DataMiner.MessageBroker.SLCachingMessageBrokerFactory.Create()
at Skyline.DataMiner.MessageBroker.SLLoggingMessageBrokerFactory.Create()
Both NAS and NATS services are running.
Can you please inform what's the impact of this notice? And how to resolve it? Thanks.
Hi Karel,
Can you double-check the IP in the URI tag in the SLCloud.xml file and make sure it's the IP of your server?
Confirmed. Updating the URI resolved the problem. Many thanks Ive!