Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1718

Random Mongo::Auth::Unauthorized error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Production Ruby on Rails 5.2.2 app with ruby 2.4.4

      Description

      We recently upgraded our rails app from rails 4.2, ruby 2.3 and mongoid 5 to rails 5.2, longoid 6.4.2 ruby 2.4.4 and mongo 2.7.0. Since then we notice random Mongo::Auth::Unauthorized error. It doesn't happen often and doesn't appear to follow a pattern, it's totally random.

      The mongoid.yml is relatively standard (please find it attached) and our puma.rb reload the config after each worker boot (attached too).

      I spent a lot of time online looking for similar cases and couldn't find any. Any help would be great.

      Thank you for your help and you open source softwares !

       

       

       

        Attachments

        1. logs.log
          8 kB
        2. mongoid.yml
          6 kB
        3. puma.rb
          2 kB

          Issue Links

            Activity

              People

              Assignee:
              sam.rossi Samuel Rossi
              Reporter:
              robin.monjo@applidget.com Robin Monjo
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: