Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    HTTP/500 When accessing Asset Directory

    Scheduled Pinned Locked Moved Support
    progetlinux
    3 Posts 2 Posters 36 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Seeing this error on the Linux version. Systems are set to EST as timezone and /etc/localtime is linked as a RO volume in the container to the host.

      Application Exception
      System.ArgumentException
      The UTC Offset of the local dateTime parameter does not match the offset argument.
      Parameter name: offset

      Description: HTTP 500.Error processing request.
      Details: Non-web exception. Exception origin (name of application or object): mscorlib.
      Exception stack trace:
      at System.DateTimeOffset..ctor (System.DateTime dateTime, System.TimeSpan offset) [0x00023] in <62f5937022004555807e6c57c33f6684>:0
      at Inedo.ProGet.Feeds.Assets.AssetItem..ctor (Inedo.ProGet.Data.Tables+AssetItems a, System.String containerPath) [0x000c6] in <0ca323987c954929994fc1063e7cedc8>:0
      at Inedo.ProGet.Feeds.Assets.AssetFeed+<>c__DisplayClass21_0.<ListItemsInternalAsync>b__2 (Inedo.ProGet.Data.Tables+AssetItems i) [0x00000] in <0ca323987c954929994fc1063e7cedc8>:0
      at System.Linq.Enumerable+SelectIPartitionIterator2[TSource,TResult].ToList () [0x00040] in <521f3fe476f34ea88748e97b3b984d05>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <521f3fe476f34ea88748e97b3b984d05>:0
      at Inedo.ProGet.Feeds.Assets.AssetFeed+<ListItemsInternalAsync>d__21.MoveNext () [0x0028a] in <0ca323987c954929994fc1063e7cedc8>:0
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <62f5937022004555807e6c57c33f6684>:0 at Inedo.ProGet.Feeds.Assets.AssetFeed+<ListItemsAsync>d__8.MoveNext () [0x00098] in <0ca323987c954929994fc1063e7cedc8>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <62f5937022004555807e6c57c33f6684>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <62f5937022004555807e6c57c33f6684>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <62f5937022004555807e6c57c33f6684>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <62f5937022004555807e6c57c33f6684>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <62f5937022004555807e6c57c33f6684>:0
      at Inedo.ProGet.WebApplication.Pages.Assets.BrowseAssetsPage+<CreateChildControlsAsync>d__12.MoveNext () [0x003ea] in <8d325e89fc164ad3af7c50a76b9f37fa>:0
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <62f5937022004555807e6c57c33f6684>:0
      at Inedo.ProGet.WebApplication.Pages.ProGetSimpleAsyncPageBase+<InitializeAsync>d__1.MoveNext () [0x000c4] in <8d325e89fc164ad3af7c50a76b9f37fa>:0
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <62f5937022004555807e6c57c33f6684>:0
      at Inedo.Web.PageFree.SimplePageBase+<ProcessRequestAsync>d__48.MoveNext () [0x00080] in <b3c8f625a9674e54b534ab21fc34bde8>:0
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <62f5937022004555807e6c57c33f6684>:0
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <62f5937022004555807e6c57c33f6684>:0
      at System.Web.TaskAsyncResult.Wait (System.IAsyncResult result) [0x00032] in <285fcaed03ee42169c0cbd7bda90aaab>:0
      at System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest (System.IAsyncResult result) [0x00000] in <285fcaed03ee42169c0cbd7bda90aaab>:0
      at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest (System.IAsyncResult result) [0x00000] in <b3c8f625a9674e54b534ab21fc34bde8>:0
      at System.Web.HttpApplication.async_handler_complete_cb (System.IAsyncResult ar) [0x00015] in <285fcaed03ee42169c0cbd7bda90aaab>:0
      Version Information: 5.4.1.6 (tarball Wed Nov 8 20:37:24 UTC 2017); ASP.NET Version: 4.0.30319.42000

      Product: ProGet
      Version: 4.8.8

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        FYI, this only seems to happen when an asset directory is created inside another asset directory.

        1 Reply Last reply Reply Quote 0
        • benB Offline
          ben inedo-engineer
          last edited by

          Copying the explanation from the private ticket in case anyone else has this issue:

          Inedo products store timestamps in the database as UTC, but our PostgreSQL library (Npgsql) "helpfully" converts DateTime objects to the local time zone. They added a way to change this behavior in their 3.3 release, but the currently available version of Npgsql is 3.2.5.

          I've written a workaround for this, where DateTime objects will be converted to UTC by the database middleware. I've filed this as ILIB-7.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation