RocketChat / RocketChat/Rocket.Chat
E11000 duplicate key error collection under VOIP Call Pickup
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
- Version of Rocket.Chat Server: 5.1.0
- Operating System: Linux
- Deployment Method: Docker
- Number of Running Instances: 1
When I receive a call, at the exact moment of answer, the call drops.
Analyzing the logs at this exact moment, the following error is triggered:
"err":{"type":"MongoServerError","message":"E11000 duplicate key error collection: rocketchat.rocketchat_room index: name_1 dup key: { name: "Ramal Externo de Teste-undefined" }","stack":"MongoServerError: E11000 duplicate key error collection: rocketchat.rocketchat_room index: name_1 dup key

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing VOIP Call Pickup on Rocket.Chat Server 5.1.0 with the listed Docker/Linux setup and inspect the server logs at answer time. Done means the call no longer drops and the E11000 duplicate-key error for the room name is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, mongodb, typescript
- Domain
- audio-video-rtc, backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100