I have…
- Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
I’m submitting a…
- Regression (a behavior that stopped working in a new release)
- Bug report
- Performance issue
- Documentation issue or request
Current behavior
After upgrade from 7.9 to 7.12 a got this error.
{
message: 'The output byte buffer is too small to contain the encoded data, encoding codepage ''65001'' and fallback ''System.Text.EncoderReplacementFallback''. (Parameter ''bytes'')',
stackTrace: ' at System.Text.Encoding.ThrowBytesOverflow()
at System.Text.Encoding.GetBytesWithFallback(ReadOnlySpan`1 chars, Int32 originalCharsLength, Span`1 bytes, Int32 originalBytesLength, EncoderNLS encoder, Boolean throwForDestinationOverflow)
at System.Text.Encoding.GetBytesWithFallback(Char* pOriginalChars, Int32 originalCharCount, Byte* pOriginalBytes, Int32 originalByteCount, Int32 charsConsumedSoFar, Int32 bytesWrittenSoFar, Boolean throwForDestinationOverflow)
at Squidex.Domain.Apps.Entities.MongoDb.BsonUniqueContentIdSerializer.Serialize(BsonSerializationContext context, BsonSerializationArgs args, UniqueContentId value) in /src/src/Squidex.Domain.Apps.Entities.MongoDb/BsonUniqueContentIdSerializer.cs:line 123
at MongoDB.Driver.SingleItemAsArrayOperatorFilterDefinition`2.Render(IBsonSerializer`1 documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
at MongoDB.Driver.MongoCollectionImpl`1.CreateFindOperation[TProjection](FilterDefinition`1 filter, FindOptions`2 options)
at MongoDB.Driver.MongoCollectionImpl`1.FindAsync[TProjection](IClientSessionHandle session, FilterDefinition`1 filter, FindOptions`2 options, CancellationToken cancellationToken)
at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSessionAsync[TResult](Func`2 funcAsync, CancellationToken cancellationToken)
at MongoDB.Driver.IAsyncCursorSourceExtensions.ToListAsync[TDocument](IAsyncCursorSource`1 source, CancellationToken cancellationToken)
at Squidex.Domain.Apps.Entities.MongoDb.Text.MongoTextIndexerState.GetAsync(HashSet`1 ids, CancellationToken ct) in /src/src/Squidex.Domain.Apps.Entities.MongoDb/Text/MongoTextIndexerState.cs:line 57
at Squidex.Domain.Apps.Entities.Contents.Text.TextIndexingProcess.On(IEnumerable`1 events) in /src/src/Squidex.Domain.Apps.Entities/Contents/Text/TextIndexingProcess.cs:line 352
at Squidex.Infrastructure.EventSourcing.Consume.EventConsumerProcessor.DispatchAsync(IReadOnlyList`1 events) in /src/src/Squidex.Infrastructure/EventSourcing/Consume/EventConsumerProcessor.cs:line 175
at Squidex.Infrastructure.EventSourcing.Consume.EventConsumerProcessor.<>c__DisplayClass13_0.<<OnNextAsync>b__0>d.MoveNext() in /src/src/Squidex.Infrastructure/EventSourcing/Consume/EventConsumerProcessor.cs:line 84
--- End of stack trace from previous location ---
at Squidex.Infrastructure.EventSourcing.Consume.EventConsumerProcessor.UpdateAsync(Func`1 action, String position, String caller) in /src/src/Squidex.Infrastructure/EventSourcing/Consume/EventConsumerProcessor.cs:line 198',
type: 'System.ArgumentException'
}
I try manually reset consmer in ../app/administration/event-consumers
but it seems it not works (there is bug icon next to it)
Environment
- Self hosted with docker
- Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: 7.12.0