RocketChat / RocketChat/Rocket.Chat

App is stuck and the routing is triggered after a very long time

Open
#9,014 1 comment 1 reaction 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

Description:
Server Setup Information:
  • Version of Rocket.Chat Server: 0.59.3
  • Operating System: Mac OS
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 2
  • DB Replicaset Oplog: Off
  • Node Version: 4.8.4
Steps to Reproduce:
  1. Refresh the app
  2. App is loaded with a white screen and the actual routing is triggered after a long pause
  3. video for proof: http://recordit.co/NJQWIzmUqR
Expected behavior:
  • Routing should be done as soon as app is loaded
Actual behavior:
  • App is loaded with a white screen and the actual routing is triggered after a long pause
Note:
  • The main.js is using more than 80% of my cpu usages.
Relevant logs:

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

Start by reproducing the white screen and delayed routing after refreshing the app, while monitoring the main.js CPU usage. Trace the client-side routing startup path and use the provided video and Rocket.Chat version details as context; done means routing starts promptly without the prolonged white screen or excessive CPU usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.