Hi Dojo,
When I upload a connector package the connector is not correctly uploaded to the system. After the upload it appears in the Protocols&Templates module but it can't open it from that module (opens a new card with white screen) but the connector is present in the Protocols folder.
I tried uploading it by copy pasting it from DIS, I tried uploading it with the client test tool i tried uploading it from the Protocols&Templates module.
I already checked the minimum dma, I even tried removing the minimum MinimumRequiredVersion
I tested this on a DMA running 10.2.0.0-11517 and on a DMA running 10.2.0.0-12791-CU12
I did found an error on the slnet logging when uploading it:
2024-08-22 15:39:02.582|75|CacheManager.GetProtocolZipped|Error loading protocol Synamedia Virtual DCM/1.0.1.19_B11: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at Skyline.DataMiner.Net.Parser.ProtocolHelper.Parse_STD_PROTOCOL_INFO(String[][][] general, String[][][] connections, Boolean isControlProtocol, GetProtocolInfoResponseMessage& resp)
at Skyline.DataMiner.Net.Parser.ProtocolHelper.BuildProtocolInfoMessage(String protocolName, String protocolVersion)
at Skyline.DataMiner.Net.ProtocolCache.InternalGetOrLoadProtocolNotFilled(String key, String protocolName, String protocolVersion, Boolean rawVersion)
at Skyline.DataMiner.Net.ProtocolCache.InternalGetOrLoadProtocol(String key, String protocolName, String protocolVersion, Boolean rawVersion)
at Skyline.DataMiner.Net.ProtocolCache.InternalGetProtocolInfo(String protocolName, String protocolVersion, Boolean rawVersion)
at Skyline.DataMiner.Net.CacheManager.GetProtocolZipped(String protocolName, String protocolVersion, Boolean raw)
Any ideas what could cause an error like this?
I see that this was related to a Software Issue but it has been fixed because I can upload it in 10.4.6.
this is how the Compliancies tag looked like:
<Compliancies>
<CassandraReady>true</CassandraReady>
<MinimumRequiredVersion>10.2.0.0 - 11517</MinimumRequiredVersion>
<!--10.2.0.0-11517 is needed for some agents-->
</Compliancies>
After further investigation we learned that dataminer didn't like the comment in the compliancy tag. After deleting it the connector uploaded successfully.