Errors like "No keys found for HMAC that is valid for time" should be included in server logs.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, when the client gets "No keys found for HMAC that is valid for time" the only place we can find this in logs is client's logs.

      When you have hundreds of clients it can be impossible to track HMAC issues without logs in one, central place. Moreover, since the HMAC error is returned by the server, this information should be contained in the server logs

      For this reason, I would like to have a proper log here: https://github.com/mongodb/mongo/blob/db3d58f3eff9f017d329706283f85fdc3ff67f1d/src/mongo/db/keys_collection_manager.cpp#L142

              Assignee:
              Unassigned
              Reporter:
              Michał Knasiecki
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: