RocketChat / RocketChat/Rocket.Chat

E11000 duplicate key error collection under VOIP Call Pickup

Open
#26,816 0 comments 0 reactions 0 assignees View on GitHub

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

image

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.