Rocketchat not loading in browser
Description:
Rocketchat is not loading in browser, remains on 3 white dots
Steps to reproduce:
- Put in server URL
Expected behavior:
Rocketchat should load login screen
Actual behavior:
Stays on white background with 3 white dots
Server Setup Information:
- Version of Rocket.Chat Server: 6.5.0
- Operating System: Ubuntu 18.04
- Deployment Method: Snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Client Setup Information
- Desktop App or Browser Version: Firefox 115.5/Chrome/Brave
- Operating System: Debian 12
Additional context
I've changed the SITE URL to the correct value https://chat.xxxx.xxxx Seems to constantly reset to http:/localhost:3000 I am using Apache reverse proxy When i set to https://chat.xxxx.xxxx, still encounter the problem. Works on Android rocketchat app (chat only, admin gets 3 dots) Tried clearing cache and performing various suggestions found about this bug, nothing worked.
Relevant logs:
Firefox debug output
Uncaught ReferenceError: meteor_runtime_config is not defined
Brave debug output Uncaught ReferenceError: meteor_runtime_config is not defined at client_environment.js:1:1 at client_environment.js:78:1 at url_common.js:80:1
Same issue...
@debdutdeb any thought?
我安装完,访问,就一直卡在这里,无语,ip访问,怎么请求还会localhost:3000
赶紧换其他的吧 这么多版本都试了 也不行
So no one cared to reply on this?
This is the issue with Workspace assignment which gets connected to siteurl which was the same issue when images were not displaying as the url with change to :3000 and now in the new version when I change URl to just domain name with port number then this error starts appearing.
I have siteurl set to http://127.0.0.1:3000 cause I need this for nginx reverse proxy as caddy would keep comflicting with nginx on port 80.
with this setting the service is accessible but it defaults to domain.com:3000 but keeps throwing this error everytime admin logs in
If I do configuration update then I end up facing the loading error on browser while it works on android.
This issue have been there since ages, this is a direct connection from reverse proxy and SITE URL.
If I change this to https://chat.domain.com and reload the page then it will start the loading error.
I see the js file locations are hardcoded somewhat ? Error when reloading.
Uncaught ReferenceError: __meteor_runtime_config__ is not defined
<anonymous> client_environment.js:1
<anonymous> client_environment.js:78
<anonymous> url_common.js:80
[client_environment.js:1](meteor://%F0%9F%92%BBapp/packages/meteor/client_environment.js)
<anonymous> client_environment.js:1
<anonymous> client_environment.js:78
<anonymous> url_common.js:80
Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Restarting rocketchat server resolved loading issue but resets the site url to 127.0.0.1:3000 where we have media not loading inside chats.
This have become a big problem now.
Now the images are not loading nor the quote url inside the chat.
Looks like snap needs caddy to operate as I have removed caddy and trying to use nginx directly and all these issues are coming up.