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

Random Mongo::Auth::Unauthorized error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Production Ruby on Rails 5.2.2 app with ruby 2.4.4

      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 !

       

       

       

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

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

              Created:
              Updated:
              Resolved: