Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Various excpetions when browsing the web interface
-
We are currently migrating towards ProGet.
Since we are using it, we observe a growing number of exceptions in the user interface:An error occurred in the web application: Cannot transcode invalid UTF-8 JSON text to UTF-16 string. URL: http://<hostname>/containers/registry?feedId=1 Referrer: https://<hostname>/containers/repositories/<container-feed>/sub-python-3.12/overview User: (unknown) User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0 IP Address: <Client IP> Stack trace: at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context) at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context) ::Web Error on 09/15/2025 13:28:11::
Unhandled exception: Internal Npgsql bug: unexpected value 0 of enum BackendMessageCode. Please file a bug. System.InvalidOperationException: Internal Npgsql bug: unexpected value 0 of enum BackendMessageCode. Please file a bug. at Npgsql.ThrowHelper.ThrowInvalidOperationException(String message) at Npgsql.Internal.NpgsqlConnector.ParseServerMessage(NpgsqlReadBuffer buf, BackendMessageCode code, Int32 len, Boolean isPrependedMessage, Boolean handleCallbacks) at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) at Inedo.ProGet.Data.PostgresDatabaseContext.CreateConnection() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Data\PostgresDatabaseContext.cs:line 70 at Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters, DatabaseCommandReturnType returnType) at Inedo.Data.DatabaseContext.ExecuteNonQuery(String storedProcName, GenericDbParameter[] parameters) at Inedo.ProGet.Executions.ManualExecutionLogScope.System.IDisposable.Dispose() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Executions\ManualExecutionLogScope.cs:line 62 at Inedo.ProGet.Service.Executions.ActiveScheduledTaskExecution.ExecuteAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Service\Executions\ActiveScheduledTaskExecution.cs:line 49 at Inedo.ProGet.Service.Executions.ActiveScheduledTaskExecution.ExecuteAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Service\Executions\ActiveScheduledTaskExecution.cs:line 53 at Inedo.ProGet.Service.ExecutionDispatcherRunner.ExecuteAsync(Int32 id, ActiveExecution exec, TaskRunnerSubtask`1 context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Service\TaskRunners\ExecutionDispatcherRunner.cs:line 189 ::ExecutionDispatcherRunner Error on 09/15/2025 23:58:46::
The output char buffer is too small to contain the decoded characters, encoding codepage '65001' and fallback 'System.Text.DecoderReplacementFallback'. (Parameter 'chars') System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding codepage '65001' and fallback 'System.Text.DecoderReplacementFallback'. (Parameter 'chars') at System.Text.Encoding.GetCharsWithFallback(ReadOnlySpan`1 bytes, Int32 originalBytesLength, Span`1 chars, Int32 originalCharsLength, DecoderNLS decoder, Boolean throwForDestinationOverflow) at System.Text.UTF8Encoding.GetCharsWithFallback(ReadOnlySpan`1 bytes, Int32 originalBytesLength, Span`1 chars, Int32 originalCharsLength, DecoderNLS decoder, Boolean throwForDestinationOverflow) at System.Text.Encoding.GetCharsWithFallback(Byte* pOriginalBytes, Int32 originalByteCount, Char* pOriginalChars, Int32 originalCharCount, Int32 bytesConsumedSoFar, Int32 charsWrittenSoFar, Boolean throwForDestinationOverflow) at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount) at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding) at System.Text.Encoding.GetString(ReadOnlySpan`1 bytes) at System.Text.Json.Nodes.JsonNode.ToJsonString(JsonSerializerOptions options) at Inedo.Web.Controls.AhTable.SerializeData(IEnumerable`1 rows) at Inedo.Web.Controls.AhTable.Inedo.Web.Controls.ISimpleCallbackHandler.ProcessRequestAsync(AhHttpContext context, String eventName, String eventArgument) :: Error on 09/15/2025 13:15:15::
This makes the possible adoption of ProGet a bit hard ... What can we do?
Our setup is ProGet Community Edition running on Ubuntu 24.04 VM, using podman as Container Engine.
-
Hi @wechselberg-nisboerge_3629 ,
These messages are all unrelated and seem to stem mostly from a combination of bad/corrupt input data. Honestly I've never seen these errors before, but that's what they all sound like to me.
Are these impacting any actual usage, or are you simply "seeing" them in the Diagnostic Center?
If they are impacting usage, please put together a reproduction case so that you can consistently recreate the problem and we can study it.
Otherwise, if they are jjust "showing up" then you can disregard them. The Diagnostic Center is not intended for "proactive health" checking, just to troubleshoot usage errors. Messages logged there many not be problems at all, especially if users are doing things like uploading bad data.
Thanks,
Steve
-
They are actually disrupting usage.
Feeds take a long time to load, or don't load at all.Reproduction is complicated. It seems to work fine after restart. Then after a day or so, probably after a bunch of data has been deployed to ProGet, it starts breaking down.
-
Hi @wechselberg-nisboerge_3629 ,
These specific errors would have no impact on performance, feed loading, nor would they cause ProGet to "break down" in any manner. And rebooting would most definitely not help, since they stem from bad/corrupt data.
One possibility is that you have bad hardware - that causes peculiar and sporadic errors just like these that cannot be reproduced,.
I can only imagine how frustrating this is, but your experience is atypical and without reproduction cases we really don't know how to help. I would focus on trying to reproduce -- if it's indeed "bad data" that you are uploading, it would happen every single time.
Thanks,
Steve