Hi Dojo, I am facing issues logging in to my DMA and this is the log error message from Cube.
----------- LogID: 55 -----------
Info
ServerTime: 23/1/2024 2:05:22 pm
ClientTime: 23/1/2024 2:05:22 pm
Message : Login Failed.
Exception : (Code: 0x800402B8) Skyline.DataMiner.Net.Exceptions.DataMinerCommunicationException: Problem communicating with ipc://slnetipc/SLNetService: Timeout while sending message (15s)
at Skyline.DataMiner.Net.LegacyRemotingConnection.TransportSpecificHandleMessage(ConnectionToken tok, DMSMessage[] msgs, Int32 timeout)
at Skyline.DataMiner.Net.Connection.InternalHandlePackedMessages(ConnectionToken tok, DMSMessage[] msgs, Int32 timeout)
at Skyline.DataMiner.Net.Connection.AuthenticateStep(AuthenticationMessage authMsg)
at Skyline.DataMiner.Net.Connection.AuthenticateViaSspi(String userName, String password, String domainName, Byte[] evidence, Guid fallbackConnectionID)
at Skyline.DataMiner.Net.Connection.Authenticate(AuthenticationMethod method, String userName, String password, String domainName, Byte[] evidence)
at Skyline.DataMiner.Net.LegacyRemotingConnection.<>c__DisplayClass36_0.<Authenticate>b__0()
at Skyline.DataMiner.Net.LegacyRemotingConnection.TryActionOnUris(Action action)
at Skyline.DataMiner.Net.ConnectionWaitState.TryToAuthenticate()
I believe it is an issue related to my NATS and NAS services not present when I open Windows Tools -> Services. I had attempted to uninstall and reinstall my NATS and NAS services via the SLEndpointTool_Console but I am still unable to recover them successfully. Does anyone have any advice on how I could go about fixing this issue?
Update: My NATS and NAS services were uninstalled incorrectly which led to the following issue. I did not stop DataMiner before uninstalling NAS through the SLEndpointTool_Console and that led to difficulties recovering NATS services through the SLEndpointTool_Console as well. Eventually my issue was resolved through assistance from Techsupport.
Ahhh indeed, whenever you want to use the SLEndpointTool, you need to stop dataminer first. We have this documented in our documentation: https://docs.dataminer.services/user-guide/Troubleshooting/Procedures/Investigating_NATS_Issues.html#remaining-steps
Glad your issue was resolved
Thank you so much!
here all the steps:
1.- Stop your DMA, wait 15 minutes for each DMA process to stop.
2.- go to C:Skyline DataMinerFiles, run as administrator: SLEndpointTool_Console.exe
3.- Choose to uninstall: NATS
4.-Once again run as administrator: SLEndpointTool_Console.exe
5.- Choose to uninstall: NAS
7.- Once again run as administrator: SLEndpointTool_Console.exe
8.- Choose to install: NATS
9.- Once again run as administrator: SLEndpointTool_Console.exe
10.- Choose to install: NAS
11.- start the DMA and wait about 10 minutes until all the processes have started
Hi joshua!
From the SLDataminer log messages, I can see that your nats and nas services are indeed not running.
A possible cause for this could be because of Windows updates, but that is something to be confirmed by you.
SLEndpointTool_Console should solve your issue indeed, are you running the tool with administrative rights? What is the outcome after its execution?
Here is the logging from SLDataminer if it would shed some light on my situation.
2024/01/23 14:04:17.209|SLLog|ApplyLogLevels|CRU|-1|Log Levels: Info: 0; Error: 0; Debug: 0 (from LogSettings.xml)
2024/01/23 14:04:17.224|SLDataMiner|15540|22788|CDataMiner::CreateLog|CRU|-1|Launching SLDataMiner
2024/01/23 14:04:17.225|SLDataMiner|15540|22788|CServiceModule::LaunchDataMiner|CRU|-1|Starting dependencies…
2024/01/23 14:04:18.902|SLDataMiner.exe 10.3.2331.634|15540|22788|CRequest::CreateConnection|DBG|0|– SLNetCom object successfully created.
2024/01/23 14:04:18.911|SLDataMiner.exe 10.3.2331.634|15540|22788|CRequest::AddLocalInfo|DBG|-1|– Added local SLNetCom info: VT_BSTR :
2024/01/23 14:04:18.911|SLDataMiner.exe 10.3.2331.634|15540|22788|CRequest::AddLocalInfo|DBG|-1|– Added local SLNetCom info: VT_BSTR : localhost
2024/01/23 14:04:18.912|SLDataMiner.exe 10.3.2331.634|15540|22788|CRequest::AddLocalInfo|DBG|-1|– Added local SLNetCom info: VT_BSTR : 127.0.0.1
2024/01/23 14:04:18.912|SLDataMiner.exe 10.3.2331.634|15540|22788|CRequest::Init|DBG|0|** Initializing SLNetCom
2024/01/23 14:25:04.750|SLDataMiner.exe 10.3.2331.634|15540|22788|CRequest::Init|ERR|0|!! Initializing SLNetCom failed. – There’s no connection available with this dataminer. (hr = 0x800402CD)
2024/01/23 14:25:04.751|SLDataMiner|15540|22788|CServiceModule::LaunchDataMiner|ERR|-1|Notifying pointer to SLNet failed The operation completed successfully. (hr = 0x00000000).
2024/01/23 14:46:14.856|SLDataMiner|15540|22788|DMAObjects.Config|ERR|0|Failed setting up NATS session: Failed to create nats connection
2024/01/23 14:46:14.861|SLDataMiner|15540|22788|DMAObjects.Config|ERR|-1|Failed to set up ElementCRUDFactory: Failed to create nats connection
2024/01/23 14:46:14.862|SLDataMiner|15540|22788|CServiceModule::LaunchDataMiner|ERR|-1|Initializing DMAObjects.Config failed: Unspecified error (hr = 0x80004005).
**********