Hello,
I created automation script, which can be run as context tool using Hyperlinks.xml from active alarm list. Script gets a few attribues from selected alarm, pass them API request to external system, receives requestId as response and puts it to one of custom alarm properties (Alarm.RequestId). From time to time we get the following errors in Dataminer log:
2021/04/02 16:14:10.971|SLDataMiner|56712|67004|IDataMiner::NotifyDataMiner|ERR|0|Finished [0x00000000001C82C5] - NT_EDIT_PROPERTY by SCRIPTING:16701/17421 with error. (The remote procedure call failed. (hr = 0x800706BE))
varValue = VT_BSTR : alarm:47006425
varValue2 = VT_ARRAY|VT_BSTR (3) : RequestId;read-write;TT-130648
2021/04/02 16:14:11.582|SLDataMiner|56712|6924|IDataMiner::NotifyDataMiner|ERR|0|Finished [0x00000000001C82D4] - NT_EDIT_PROPERTY by Administrator with error. (The RPC server is unavailable. (hr = 0x800706BA))
varValue = VT_BSTR : alarm:47006425
varValue2 = VT_ARRAY|VT_VARIANT (1) ~ 0 VT_ARRAY|VT_BSTR (3) : RequestId;read-write;TT-130648
2021/04/02 16:14:11.587|SLDataMiner|56712|18768|CDataMiner::Alarm|ERR|0|Notify external alarm to SLElement failed. The RPC server is unavailable. (hr = 0x800706BA)
A few seconds after those errors occur, DMA automatically restarts. I'm seeking advice how can I investigate further what can be a cause of such behaviour. Grateful for any hints.
Regards,
Mateusz Kalisiak
The error "The remote procedure call failed. (hr = 0x800706BE)" typically means that a process crashed while handling the request.
The error "The RPC server is unavailable. (hr = 0x800706BA)" typically means that the process had a crash earlier on.
When DataMiner processes have crashes, DataMiner automatically restarts shortly after.
Usually, a crash causes a number of diagnostic files to be created on the DataMiner Agent:
- Process memory dump: C:\Skyline DataMiner\Logging\Crashdump\SLXxxxxx.zip as well as xxx.high.zip
- Copy of logfiles: C:\Skyline DataMiner\Logging\Minidump\xxxxx_Processes Disappeared.zip
If you can collect these files/send them to your contact at Skyline, the reason for the crash can be further investigated.