Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83571

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

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

      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 Unassigned
            Reporter:
            mknasiecki@gmail.com Michał Knasiecki
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: