docker deploy DateTimeOffset convert error
See original GitHub issueI am deployed on docker. But, I add organization response 500. I see the log, is a DateTime convert error.
Release: 7.0.0
ES: 7.9.0
[12:41:42 ERR] Unable to deserialize value [{"document":{"id":"5f682efcf232be0001855f0a","name":"ERP","plan_id":"EX_UNLIMITED","plan_name":"Unlimited","plan_description":"Unlimited","billing_change_date":"2020-09-21T04:41:32.7450812Z","billing_changed_by_user_id":"5f682eusage":[{"date":"2020-09-01T00:00:00Z","total":0,"blocked":0,"limit":-1,"too_big":0}],"last_event_date_utc":"0001-01-01T00:00:00","created_utc":"2020-09-21T04:41:32.7458321Z","updated_utc":"2020-09-21T04:41:32.7458321Z","is_deleted":false},"score":0.0,"id":"5f682efcf232bull]], Foundatio.Repositories, Version=7.0.0.0, Culture=neutral, PublicKeyToken=fc181f0a46f65747]]
Newtonsoft.Json.JsonReaderException: Could not convert string to DateTimeOffset: 0001-01-01T00:00:00. Path 'last_event_date_utc', line 1, position 573.
at Newtonsoft.Json.JsonReader.ReadDateTimeOffsetString(String s)
at Newtonsoft.Json.JsonReader.ReadAsDateTimeOffset()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject[T](JsonSerializer jsonSerializer)
at Exceptionless.Serializer.DataObjectConverter`1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) in /app/src/Exceptionless.Core/Serialization/DataObjectConverter.cs:line 64
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Foundatio.Serializer.JsonNetSerializer.Deserialize(Stream inputStream, Type objectType)
at Foundatio.Serializer.SerializerExtensions.Deserialize[T](ISerializer serializer, Byte[] data)
at Foundatio.Redis.RedisValueExtensions.ToValueOfType[T](RedisValue redisValue, ISerializer serializer)
at Foundatio.Caching.RedisCacheClient.RedisValueToCacheValue[T](RedisValue redisValue)
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (12 by maintainers)
Top Results From Across the Web
Running python script inside Docker container wrong ...
I'm running a script inside a Docker container (python:3.6) and it shows me the wrong time in the logs. When using the following...
Read more >About time incorrect of docker image about aspnet-6 #62545
Hello: I ran asp.net core application in docker container , used version of .Net 6 for mcr.microsoft.com/dotnet/aspnet:6.0-focal mirror ...
Read more >Docker Container time & timezone (will not reflect changes)
I've created some containers from the basic ubuntu:trusty image, and when I run it and request 'date', I get UTC time. For awhile...
Read more >Amazon CloudWatch Logs logging driver
Log driver returns an error by default if the log group does not exist. However, you can set the awslogs-create-group to true to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@niemyjski : Working perfectly thanks you !
v7.0.4 has now been released https://github.com/exceptionless/Exceptionless/releases/tag/v7.0.4