Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

NATS issues when starting DM for the first time after startup

Solved994 views20th May 2024elements NATS startup
2
Edib Šupić [SLC] [DevOps Catalyst]2.06K 7th January 2024 0 Comments

Hi Dojo,

I've been having an issue when starting up DM after system startup for the first time, every time I have to restart DM in order for it to startup properly. The first time I start DM after system startup my elements do not load and I can see the following exceptions in SLErrors:

2024/01/07 18:51:35.271|SLServiceManager.txt|SLNet.exe|Initialize|ERR|0|49|Exception occurred while initializing ServiceManager.
Exception occurred: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Sending SLDataGateway message request:Skyline.DataMiner.Net.Messages.SLDataGateway.GetDataFromConfigFileRequest over NATS failed with error: DataMinerMessageBroker.API.Exceptions.SubscriptionException: No responders are available for the request. ---> NATS.Client.NATSNoRespondersException: No responders are available for the request.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NATS.Client.Connection.<RequestAsyncImpl>d__147.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 DataMinerMessageBroker.API.Nats.NatsSession.<RequestAsync>d__28.MoveNext()
   --- End of inner exception stack trace ---
   at DataMinerMessageBroker.API.Nats.NatsSession.<RequestAsync>d__28.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 DataMinerMessageBroker.API.MessageBroker.<RequestAsync>d__18.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 DataMinerMessageBroker.API.Chunking.ChunkingMessageBroker.SendChunkAcked(String subject, Byte[] bytes, Int32 length, Int32 chunkID)
   at DataMinerMessageBroker.API.Chunking.ChunkGenerator.SendMessage(String subject, Int64 responseId, Stream data, Boolean bNeedsAck, ChunkHandler handler)
   at DataMinerMessageBroker.API.Chunking.ChunkGenerator.Request(String subject, Int64 responseId, Byte[] bytes, Int32 length)
   at DataMinerMessageBroker.API.Chunking.ChunkingMessageBroker.<RequestAsync>d__36.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 DataMinerMessageBroker.API.Chunking.ChunkingMessageBroker.<RequestAsync>d__39.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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Skyline.DataMiner.Net.SLDataGateway.DataGateway.SendMessage[TReq,TResp](TReq request, String method, Nullable`1 timeout)
   at Skyline.DataMiner.Net.SLDataGateway.DataGateway.SendMessage[TReq,TResp](TReq request, String method, Nullable`1 timeout)
   at Skyline.DataMiner.Net.SLDataGateway.DataGateway.ExecuteRequest(BaseRequest request)
   at Skyline.DataMiner.Net.Facade.HandleClientRequestMessage(IConnectionInfo connInfo, ClientRequestMessage oneMsg, Boolean canQueue)
   at Skyline.DataMiner.Net.Facade.HandleMessageInternal(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
   at Skyline.DataMiner.Net.Facade.HandleMessage(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
   at Skyline.DataMiner.Net.BaseFacade.HandleMessage(DMSMessage oneMsg)
   at Skyline.DataMiner.Net.CacheManager.CacheLocalDatabaseInfo()
   at Skyline.DataMiner.Net.CacheManager.get__cachedLocalDatabaseInfo()
   at Skyline.DataMiner.Net.CacheManager.get_HasSearch()
   at Skyline.DataMiner.Net.ServiceManager.ServiceManager.Initialize()

This error is followed up by the following exception, however I think the first one causes the subsequent exceptions:

2024/01/07 18:51:35.285|SLResourceManager.txt|SLNet.exe|ResourceManager|ERR|0|70|[Attempt 1/5] Exception while initializing ResourceManager.

What I find weird is that these exceptions occur only on the first time I startup my DM, after the restart the errors get resolved. My DM doesn't startup automatically, I purposely start it up manually, so I don't think the issue can be related to certain parts of the system not loading in time. Since it seems that issue is related to NATS, I have tried these steps with no avail. Could it be that because I have disabled automatic DM startup that NATS doesn't start up on it's own, although I'm not sure why DM would be able to start before NATS start anyhow. Any ideas of how I might fix this?

I'm using DM 10.4.0

Thanks,
Edib

Edib Šupić [SLC] [DevOps Catalyst] Selected answer as best 20th May 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Thibault Heylen [SLC] [DevOps Advocate]1.51K Posted 8th January 2024 2 Comments

Hi Edib,

It's only an assumption, but I think the NATS/NAS service is not completly startup before DataMiner is started.

This would explain why this is happening only the first time after startup.

I'll check how we can solve this and get back to you

Edib Šupić [SLC] [DevOps Catalyst] Selected answer as best 20th May 2024
Edib Šupić [SLC] [DevOps Catalyst] commented 8th January 2024

Hi Thibault,
small update, I checked if NAS/NATS is running before starting DM this time in services, it is.
Cheers

Edib Šupić [SLC] [DevOps Catalyst] commented 20th May 2024

You were right, my first solution worked only for a short while, the real issue was that NATS service was set to Automatic(Delayed) instead of Automatic, so by the time I run my DM manually NATS is not yet ready. I’ve changed NATS startup to Automatic and am yet to have this issue.
Note that after NATS reinstall with SLEndpoitTool, NATS is set to Automatic(Delayed) startup by default and that this is an issue only when manually starting DataMiner.

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes
When using the Setter = true attribute, will the copy action always be executed first? 1 Answer | 3 Votes
Multiple Set on Table parameters for DVE’s 1 Answer | 2 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin