RocketChat / RocketChat/Rocket.Chat

When going to rocket chat home page, blank screen comes with loading icon stuck and frozen.

Open
#12,086 4 comments 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

When i do same action on incognito, it works, but here are the JS errors i am getting when i m normally trying to open our homepage.

image
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' * 'unsafe-inline'".

at Function (<anonymous>)
at c029a6b2088014967102f8efaaf260dc7e0d3df5.js?meteor_js_resource=true:1
at c029a6b2088014967102f8efaaf260dc7e0d3df5.js?meteor_js_resource=true:1
at c029a6b2088014967102f8efaaf260dc7e0d3df5.js?meteor_js_resource=true:1
at c029a6b2088014967102f8efaaf260dc7e0d3df5.js?meteor_js_resource=true:1

c029a6b2088014967102f8efaaf260dc7e0d3df5.js:1 Uncaught ReferenceError: RocketChat is not defined
at c029a6b2088014967102f8efaaf260dc7e0d3df5.js:1
at a (c029a6b2088014967102f8efaaf260dc7e0d3df5.js:1)
at HTMLDocument.u (c029a6b2088014967102f8efaaf260dc7e0d3df5.js:1)
c029a6b2088014967102f8efaaf260dc7e0d3df5.js?meteor_js_resource=true:1 WebSocket connection to 'wss://chat.talkwithstranger.com/sockjs/127/ff4o9sea/websocket' failed: Error in connection establishment: net::ERR_NOT_IMPLEMENTED

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 blank Rocket.Chat home page in a normal browser session and inspect the browser console for the reported CSP, RocketChat is not defined, and WebSocket errors. Compare the behavior with incognito mode; done means the homepage loads normally without the reported blocking errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
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.