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!

Cannot access settings on Docker ProGet 4.0.2



  • After the container has been running for a while it stops allowing me from accessing the settings page, returning this error:

    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object
    at NpgsqlTypes.BasicNativeToBackendTypeConverter.StringToTextText (NpgsqlTypes.NpgsqlNativeTypeInfo TypeInfo, System.Object oNativeData, Boolean forExtendedQuery, NpgsqlTypes.NativeToBackendTypeConverterOptions options, Boolean arrayElement) [0x00000] in <filename unknown>:0 
    at (wrapper delegate-invoke) <Module>:invoke_byte[]_NpgsqlNativeTypeInfo_object_bool_NativeToBackendTypeConverterOptions_bool (NpgsqlTypes.NpgsqlNativeTypeInfo,object,bool,NpgsqlTypes.NativeToBackendTypeConverterOptions,bool)
    at NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackendPlainQuery (System.Object NativeData, NpgsqlTypes.NativeToBackendTypeConverterOptions options, Boolean arrayElement) [0x00000] in <filename unknown>:0 
    at NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackend (System.Object NativeData, Boolean forExtendedQuery, NpgsqlTypes.NativeToBackendTypeConverterOptions options, Boolean arrayElement) [0x00000] in <filename unknown>:0 
    at Npgsql.NpgsqlCommand.AppendParameterValue (System.IO.Stream dest, Npgsql.NpgsqlParameter parameter) [0x00000] in <filename unknown>:0 
    at Npgsql.NpgsqlCommand.AppendParameterValues (System.IO.Stream dest) [0x00000] in <filename unknown>:0 
    at Npgsql.NpgsqlCommand.GetCommandText (Boolean prepare) [0x00000] in <filename unknown>:0
    at Npgsql.NpgsqlCommand.GetCommandText () [0x00000] in <filename unknown>:0 
    at Npgsql.NpgsqlCommand.GetReader (CommandBehavior cb) [0x00000] in <filename unknown>:0 
    at Npgsql.NpgsqlCommand.ExecuteReader (CommandBehavior cb) [0x00000] in <filename unknown>:0 
    --- End of inner exception stack trace ---
    at System.Web.UI.Page.ProcessException (System.Exception e) [0x00000] in <filename unknown>:0 
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 
    at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 
    at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0
    

    If I restart the container everything is working fine again. I have not been able to find any pattern rather than that the container works when I restart it but then eventually this issue happens.

    Pushing/Getting packages still works as expected.

    Product: ProGet
    Version: 3.8.1



  • Thanks for the report. This may be a bug in the PostgreSQL driver. We will work on trying to reproduce this inside a test environment and see if we can isolate the cause, but this type of issue is notoriously difficult to solve, and is why we have had such a long beta period for ProGet on Linux.

    About how long does it take for this to start happening?



  • Last time it happened after 2 days (or maybe less, but that's when I noticed), but now it has been running for 4 days and it still works. We have been using the NuGet feed a few times during those 4 days.

    I will keep monitoring it and report back if I find anything!


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation