RocketChat / RocketChat/Rocket.Chat

Nonsensical hint continuously fills the log file with about 50 entries per second

Open
#36,705 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

planned
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Since the last updates (certainly since version 7.8.0), the log file (or Administration / Reports) has been filled with the message "{"level":50,"time":"2025-08-13T12:55:33.710Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} approximately 50 times per second, causing the log file to grow by approximately 1 GB per day. However, the LDAP Group Filter isn't useful for our integration into Active Directory, as a filter with "memberOf" works perfectly, making the error problematic.

Steps to reproduce:
  1. Administration / Workspace / Settings / LDAP / User Search : Deaktivate Group Filter
  2. go to Administration / Workspace / Reports
Expected behavior:

Max. one Message per hour

Actual behavior:

Nearly 50 Messages per Second

Server Setup Information:
  • Version of Rocket.Chat Server: 7.9.1
  • License Type: starter
  • Number of Users: 38
  • Operating System: Ubuntu 22.04.3
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 318
  • NodeJS Version: v22.16.0
  • MongoDB Version: 7.0.15
Client Setup Information

any

Additional context
Relevant logs:

{"level":50,"time":"2025-08-13T15:45:50.330Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.331Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.348Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.349Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.365Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.366Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.381Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.382Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.399Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.400Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.435Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.436Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.455Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.456Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.474Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.474Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.493Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.493Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.512Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.512Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.531Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.531Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.552Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.553Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.571Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.572Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.590Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.591Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.610Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.611Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.631Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.631Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.649Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.650Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.668Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.668Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.685Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.685Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.703Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.703Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.720Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:50.721Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."} {"level":50,"time":"2025-08-13T15:45:51.047Z","pid":1,"hostname":"4a3a55b6539e","name":"LDAP","msg":"Please setup LDAP Group Filter and LDAP Group BaseDN in LDAP Settings."}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from Administration / Workspace / Settings / LDAP / User Search by deactivating Group Filter, then opening Administration / Workspace / Reports. Trace the LDAP warning shown in the relevant logs and determine why it repeats rapidly. Done means the warning is emitted no more than once per hour while LDAP integration using a memberOf filter continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.