I just managed to establish connection with stat server.
I sent a request that i build like this:
var requestOpenStatistic = RequestOpenStatisticEx.Create();
requestOpenStatistic.StatisticObject = StatisticObject.Create();
requestOpenStatistic.StatisticObject.ObjectId = agentEmployeeId;
requestOpenStatistic.StatisticObject.ObjectType = StatisticObjectType.Agent;
requestOpenStatistic.StatisticObject.TenantName = “Resources”;
requestOpenStatistic.StatisticObject.TenantPassword = “”;
{CATEGORY [int] = 10 [CurrentState]TM_LENGTH [int] = 0can’t process DataSupport class cause exception: [IndexOutOfRangeException] Index was outside the bounds of the array.at: at Genesyslab.Platform.Reporting.Protocols.StatServer.ActionsMask.IsBitSet(Int32 bit) at Genesyslab.Platform.Reporting.Protocols.StatServer.ActionsMask.ToString(Int32 indent) at Genesyslab.Platform.Reporting.Protocols.Internal.ActionsMaskCodec.AppendLogValue(StringBuilder buf, Object customTypeObject, Int32 indent, Boolean truncate, Boolean hide) at Genesyslab.Platform.Commons.Protocols.Internal.ToStringHelper.AppendLogValue(StringBuilder buffer, IDataSupport data, Int32 indent, Boolean hide, Boolean truncate, AttributesLogHiddenList hiddenAttributes)}
That code works for me, it would be best to uncomment the ReferenceId..
What version of PSDK are you using?
At what point in the code do you get the error?
i am running 8.5.302.04 PDSK . I have changed my code a lot ( i am not using RequestOpenStatisticsEx anymore, but RequestOpenStatistics) and i do not have this problem. But as soon as i have the time i will come back to you with logs and more info . Thank you