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!

    (Linux) 40P01: deadlock detected during a GET request for NPM package

    Scheduled Pinned Locked Moved Support
    progetpostgresqlerror
    6 Posts 1 Posters 30 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

      It looks like there was a possible regression of the following issue:

      https://inedo.myjetbrains.com/youtrack/issue/PG-1050

      Using ProGet 5.1.6 running in docker on an Amazon EC2 instance we are getting the following error when doing an NPM install with the registry set as our ProGet server:

      An error occurred processing a GET request to http://proget.mydomain.com/npm/npm/redux-thunk/-/redux-thunk-2.2.0.tgz: 40P01: deadlock detected

      Npgsql.PostgresException (0x80004005): 40P01: deadlock detected
      at Npgsql.NpgsqlConnector+<DoReadMessageAsync>d__6.MoveNext () [0x002d7] in <4985dea8374f4819bebb7847d95ad483>:0

      Product: ProGet
      Version: 5.1.6

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

        We have the same issue, running on ubuntu linux docker-ce

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

          I'm afraid we can't reproduce this on a fresh install; next time it happens, please provide a full stack trace so we can try to at least make a guess as to what's causing this.

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

            Npgsql.PostgresException (0x80004005): 40P01: deadlock detected
            at Npgsql.NpgsqlConnector+<DoReadMessageAsync>d__6.MoveNext () [0x002d7] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Npgsql.NpgsqlConnector+<ReadMessageWithPrependedAsync>d__5.MoveNext () [0x001c3] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Npgsql.NpgsqlDataReader+<NextResultInternalAsync>d__1.MoveNext () [0x007da] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Npgsql.NpgsqlDataReader+<NextResultAsync>d__48.MoveNext () [0x0014a] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Npgsql.NpgsqlCommand+<ExecuteAsync>d__0.MoveNext () [0x003d8] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Npgsql.NpgsqlCommand+<ExecuteDbDataReaderInternalAsync>d__4.MoveNext () [0x000f1] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Npgsql.NpgsqlCommand+<ExecuteDbDataReaderAsync>d__99.MoveNext () [0x000a7] in <4985dea8374f4819bebb7847d95ad483>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.Postgres.WrappedPgCommand+<ExecuteDbDataReaderAsync>d__41.MoveNext () [0x001db] in <23bd4f2f6a9f4322a9b22056dc381001>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.Data.DatabaseContext+DbResult+<CreateAsync>d__10.MoveNext () [0x00082] in <11d9d064da4a4db995155317f7ec47e4>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.Data.DatabaseContext+<ExecuteInternalAsync>d__33.MoveNext () [0x001fc] in <11d9d064da4a4db995155317f7ec47e4>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.Data.DatabaseContext+<ExecuteNonQueryAsync>d__31.MoveNext () [0x0007b] in <11d9d064da4a4db995155317f7ec47e4>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmPackageDownloadHandler+<RecordPackageDownloadAsync>d__1.MoveNext () [0x000cc] in <57c6a09763914e368f30bc7b778ebe6e>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmPackageDownloadHandler+<TryProcessRequestAsync>d__0.MoveNext () [0x0030f] in <57c6a09763914e368f30bc7b778ebe6e>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmHandler+<ProcessRequestAsync>d__2.MoveNext () [0x0029b] in <57c6a09763914e368f30bc7b778ebe6e>:0
            --- End of stack trace from previous location where exception was thrown ---
            at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler+FeedRequestHandler+<ProcessRequestAsync>d__8.MoveNext () [0x000bf] in <57c6a09763914e368f30bc7b778ebe6e>:0

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

              Also happens on latest version:

              Npgsql.PostgresException (0x80004005): 40P01: deadlock detected
              at Npgsql.NpgsqlConnector+<DoReadMessageAsync>d__6.MoveNext () [0x002d7] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Npgsql.NpgsqlConnector+<ReadMessageWithPrependedAsync>d__5.MoveNext () [0x001c3] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Npgsql.NpgsqlDataReader+<NextResultInternalAsync>d__1.MoveNext () [0x007da] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Npgsql.NpgsqlDataReader+<NextResultAsync>d__48.MoveNext () [0x0014a] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Npgsql.NpgsqlCommand+<ExecuteAsync>d__0.MoveNext () [0x003d8] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Npgsql.NpgsqlCommand+<ExecuteDbDataReaderInternalAsync>d__4.MoveNext () [0x000f1] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Npgsql.NpgsqlCommand+<ExecuteDbDataReaderAsync>d__99.MoveNext () [0x000a7] in <4985dea8374f4819bebb7847d95ad483>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.Postgres.WrappedPgCommand+<ExecuteDbDataReaderAsync>d__41.MoveNext () [0x001db] in <23bd4f2f6a9f4322a9b22056dc381001>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.Data.DatabaseContext+DbResult+<CreateAsync>d__10.MoveNext () [0x00082] in <11d9d064da4a4db995155317f7ec47e4>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.Data.DatabaseContext+<ExecuteInternalAsync>d__33.MoveNext () [0x001fc] in <11d9d064da4a4db995155317f7ec47e4>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.Data.DatabaseContext+<ExecuteNonQueryAsync>d__31.MoveNext () [0x0007b] in <11d9d064da4a4db995155317f7ec47e4>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmPackageDownloadHandler+<RecordPackageDownloadAsync>d__1.MoveNext () [0x000cc] in <282454a3c2a74b79b8c2f5f3bb705a10>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmPackageDownloadHandler+<TryProcessRequestAsync>d__0.MoveNext () [0x0034a] in <282454a3c2a74b79b8c2f5f3bb705a10>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.ProGet.WebApplication.FeedEndpoints.Npm.NpmHandler+<ProcessRequestAsync>d__2.MoveNext () [0x0029b] in <282454a3c2a74b79b8c2f5f3bb705a10>:0
              --- End of stack trace from previous location where exception was thrown ---
              at Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler+FeedRequestHandler+<ProcessRequestAsync>d__8.MoveNext () [0x000bf] in <282454a3c2a74b79b8c2f5f3bb705a10>:0

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

                We believe we have fixed this as PG-1377, which will be included in ProGet 5.1.11. Thank you!

                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