AWS Thinkbox Discussion Forums

Proxy Repo connection errors

I am testing the proxy with someone in Europe and the monitor is showing errors.

2016-04-18 15:38:45: Error occurred while updating slave cache: DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON. (System.Runtime.Serialization.SerializationException) 2016-04-18 15:38:45: Error occurred while updating job cache: Proxy server error: DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON. (System.Runtime.Serialization.SerializationException) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.JsonWriterDelegator.WriteDateTimeInDefaultFormat(DateTime value) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.JsonWriterDelegator.WriteDateTime(DateTime value) 2016-04-18 15:38:45: w System.Runtime.Serialization.XmlWriterDelegator.WriteDateTime(DateTime value, XmlDictionaryString name, XmlDictionaryString ns) 2016-04-18 15:38:45: w WriteModifiedJobsModelToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] ) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.JsonDataContract.WriteJsonValue(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph) 2016-04-18 15:38:45: w System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(XmlDictionaryWriter writer, Object graph) 2016-04-18 15:38:45: w System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(Stream stream, Object graph) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.Utils.SerializerModels.ContractJsonSerializer.SerializeObject(Object obj) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.Utils.RequestModels.HttpRequestData.a(Object obj) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.Utils.RequestModels.HttpRequestData.GetSerializedData() 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.Utils.Handlers.HttpHandler.AddDeserializedDataToRequest(HttpWebRequest request, RequestData requestData) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.Utils.Handlers.Bases.HttpHandlerBase.a(RequestData A_0) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.Utils.Handlers.Bases.HttpHandlerBase.SendRequestData[T](RequestData requestData) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.ProxyJobStorage.GetModifiedJobs(Job[]& modifiedJobs, String[]& deletedJobIds, Boolean& hasMore, String& transactionID, Nullable`1 batchQueryTime, Nullable`1 deleteQueryTime) 2016-04-18 15:38:45: ---------- Inner Stack Trace (System.ArgumentOutOfRangeException) ---------- 2016-04-18 15:38:45: (FranticX.Database.DatabaseConnectionException) 2016-04-18 15:38:45: w l.a(Exception A_0) 2016-04-18 15:38:45: w Deadline.StorageDB.Proxy.ProxyJobStorage.GetModifiedJobs(Job[]& modifiedJobs, String[]& deletedJobIds, Boolean& hasMore, String& transactionID, Nullable`1 batchQueryTime, Nullable`1 deleteQueryTime) 2016-04-18 15:38:45: w Deadline.StorageDB.JobStorage.a(Object o)

This error repeats for balancer, license, etc. Would this be caused because the client in EU has the date in DD/MM/YYYY format? Also, his time zone is +1.

Thanks

Are the Proxy Server and client connecting to it running the same version of Deadline 8? There were some breaking changes between versions for the Proxy Server during the beta 8 cycle.

We are using the latest build RC1

It looks like the DateTime objects are not being serialized properly, we will look into this on our end.

ok, thank you.

Any updates on this?

Thanks

Hey Simon,

We’re working on a fix for this problem. It should be included in the next build. Thanks for bringing this to our attention!

Privacy | Site terms | Cookie preferences