# RocketChat does not load on Setup-Wizard

**URL:** <https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562>\
**Category:** Community Support\
**Created:** [September 13, 2019, 1:26pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562 "2019-09-13T13:26:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![namhost](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/namhost/32/1235_2.png) [@namhost](https://forums.rocket.chat/u/namhost)\
**Post date:** [September 13, 2019, 1:26pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/1 "2019-09-13T13:26:42Z")

</div>

### Description

Hello, I have just installed RocketChat to our CentOS 7 test server a subdomain. When I load this: [http://rocketchat.namhost.com:3000/setup-wizard](http://rocketchat.namhost.com:3000/setup-wizard) the setup wizard does not load. And the rocket chat service does not want to connect with the domain name either here: [https://rocketchat.namhost.com/home](https://rocketchat.namhost.com/home), as you can see SSL, is also installed to the subdomain. Here is what my config file looks like:

* * *

[Unit]  
Description=Namhost Rocket Chat Server  
After=network.target remote-fs.target nss-lookup.target nginx.target mongod.target

[Service]  
ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js  
StandardOutput=syslog  
StandardError=syslog  
SyslogIdentifier=rocketchat  
User=rocketchat  
Environment=MONGO\_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO\_OPLOG\_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT\_URL=https://rocketchat.namhost.com:3000/ PORT=3000

* * *

I can also confirm that the rocket chat service is running:

* * *

MongoDB Version: 4.0.12  
MongoDB Engine: mmapv1  
Platform: linux  
Process Port: 3000  
ReplicaSet OpLog: Enabled  
Commit Hash: 92c00dc3c2  
Commit Branch: HEAD

* * *

I have no Apache errors, nor does rocket chat logs show any errors either for me to fall back on.

### Server Setup Information

- A version of Rocket.Chat Server: Latest
- Operating System: CentOS 7 - InterWorx
- Deployment Method: Manual Install
- Number of Running Instances: N/A
- DB Replicaset Oplog: Enabled
- NodeJS Version: v8.11.4
- MongoDB Version: 4.0.12
- Proxy: Apache
- Firewalls involved: CSF

### Any additional Information

When I telnet locally to port 3000, I do not get any response back to show that the connection is completing. Somewhere something is wrong with the configuration or so. See here:

[root@core ~]# telnet localhost 3000  
Trying ::1…  
telnet: connect to address ::1: Connection refused  
Trying 127.0.0.1…  
Connected to localhost.

Any assistance will be highly appreciated, thank you.

---

<div class="post-metadata">

**Author:** ![david.beauchamp](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@david.beauchamp](https://forums.rocket.chat/u/david.beauchamp)\
**Post date:** [September 20, 2019, 9:50pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/2 "2019-09-20T21:50:46Z")

</div>

I may be experiencing the same problem:

Server Setup Information  
A version of Rocket.Chat Server: Latest  
Operating System: Ubuntu 18.4  
Deployment Method: Manual Install  
Number of Running Instances: 1  
DB Replicaset Oplog: Enabled  
NodeJS Version: v8.11.4  
MongoDB Version: 4.0.12  
Proxy: Apache  
Firewalls involved:

---

<div class="post-metadata">

**Author:** ![kburgen9](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kburgen9](https://forums.rocket.chat/u/kburgen9)\
**Post date:** [September 21, 2019, 11:13am UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/3 "2019-09-21T11:13:00Z")

</div>

Hi,

I have the same problem as well. The wizard doesn’t load, it just spins. Earlier this month we launched a rocket.chat server and didn’t have any issues. This new server is configured in the same way. At first I thought it might be our security groups (AWS) but I opened up everything, except 22, to everyone from everywhere and it didn’t change.

Problem on rocket.chats end?

Thanks

Karen

---

<div class="post-metadata">

**Author:** ![kburgen9](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kburgen9](https://forums.rocket.chat/u/kburgen9)\
**Post date:** [September 21, 2019, 1:00pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/4 "2019-09-21T13:00:15Z")

</div>

Hi,

Update:

I was able to install rocket chat on the new server by using version 1.3.2

Versions 2.0, 2.0 RC1-5 and the latest RC 2.1.0 do not load the install wizard.

Karen

---

<div class="post-metadata">

**Author:** ![didiwein](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@didiwein](https://forums.rocket.chat/u/didiwein)\
**Post date:** [September 23, 2019, 9:11am UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/5 "2019-09-23T09:11:03Z")

</div>

Hi,

Thanks for your update @kburgen9

Did anyone find another solution than downgrading to an older version or when is this bug planned to be fixed?

Didier

---

<div class="post-metadata">

**Author:** ![kburgen9](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@kburgen9](https://forums.rocket.chat/u/kburgen9)\
**Post date:** [September 23, 2019, 9:37am UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/6 "2019-09-23T09:37:54Z")

</div>

Hi @didiwein,

I couldn’t find an alternative. I had to install 1.3.2 and then update. Actual had to update to the latest RC as I couldn’t get the live chat to work on version 2.0

Going forward I’m going to keep a separate dev environment just to make sure updates don’t break anything. I don’t see another way to use in production otherwise.

Karen

---

<div class="post-metadata">

**Author:** ![namhost](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/namhost/32/1235_2.png) [@namhost](https://forums.rocket.chat/u/namhost)\
**Post date:** [September 23, 2019, 9:38am UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/7 "2019-09-23T09:38:15Z")

</div>

My solution was restoring from a server image and re-do the entire installation process. Also, with the initial install, which failed. I had no virtualhost created in apache2 and I had to create it AFTER the RC install. After I restored from our server image we made, I created the virtualhost first and then proceeded to install RC, it seems that may have been the fix.

---

<div class="post-metadata">

**Author:** ![david.beauchamp](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@david.beauchamp](https://forums.rocket.chat/u/david.beauchamp)\
**Post date:** [September 23, 2019, 1:24pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/8 "2019-09-23T13:24:52Z")

</div>

Hi guys, if you open your developer tool (F12 in chrome) and go to the console tab do you get the error?

> Failed to load resource: net::ERR\_SSL\_PROTOCOL\_ERROR  
> cc945290c4dafe28d2516121de8ec1f7c477a095.js?meteor\_js\_resource=true:275
> 
> Uncaught (in promise) TypeError: Failed to fetch

---

<div class="post-metadata">

**Author:** ![lucia.guevgeozian](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/lucia.guevgeozian/32/447_2.png) [@lucia.guevgeozian](https://forums.rocket.chat/u/lucia.guevgeozian)\
**Post date:** [September 24, 2019, 11:51am UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/9 "2019-09-24T11:51:06Z")

</div>

Hi, in the initial reported post, the problem is that the ROOT\_URL shouldn’t have the port 3000, since that is the URL as you will access it on your browser, then the proxy will forward traffic to the port 3000.

For the other cases, could you check that ROOT\_URL in the systemd file, and Site\_URL as you find it in the startup logs match the public URL (withourt the PORT)?

Thanks!

---

<div class="post-metadata">

**Author:** ![guilherme.gazzo](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/guilherme.gazzo/32/222_2.png) [@guilherme.gazzo](https://forums.rocket.chat/u/guilherme.gazzo)\
**Post date:** [September 24, 2019, 6:37pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/10 "2019-09-24T18:37:45Z")

</div>

hey, this problem was introduced by this pr: [https://github.com/RocketChat/Rocket.Chat/pull/15204](https://github.com/RocketChat/Rocket.Chat/pull/15204) …  
Since the version 2.0 we started to use dynamic imports, the main reason is reduce the load/parse timing on the client side… the problem is: meteor uses the `ROOT_URL` to fetch the dynamic bundles, so if you misconfigured the url the client will fail to fetch the setup wizard bundle…

I made this fix [https://github.com/RocketChat/Rocket.Chat/pull/15432](https://github.com/RocketChat/Rocket.Chat/pull/15432) as a workaround that try to fetch the bundle again using the relative url… but you probably should set this setting in a properly way

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [September 24, 2019, 7:21pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/11 "2019-09-24T19:21:32Z")

</div>

The help page for this can also be found here: [https://go.rocket.chat/i/invalid-site-url](https://go.rocket.chat/i/invalid-site-url)

---

<div class="post-metadata">

**Author:** ![didiwein](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@didiwein](https://forums.rocket.chat/u/didiwein)\
**Post date:** [September 25, 2019, 9:19pm UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/12 "2019-09-25T21:19:02Z")

</div>

> [@lucia.guevgeozian](#):
>
> For the other cases, could you check that ROOT\_URL in the systemd file, and Site\_URL as you find it in the startup logs match the public URL (withourt the PORT)?

I really appreciate your answer. To make it work I tried a lot things including the [https://go.rocket.chat/i/invalid-site-url](https://go.rocket.chat/i/invalid-site-url) but I couldn’t figure out a way to remove the port from the Site\_URL in the rocketchat.service status. Even dropping the database or restarting didn’t lead to the desired result.

If it helps here is my config file:

[Unit]  
Description=The Rocket.Chat server  
After=network.target remote-fs.target nss-lookup.target nginx.target mongod.target  
[Service]  
ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js  
StandardOutput=syslog  
StandardError=syslog  
SyslogIdentifier=rocketchat  
User=rocketchat  
Environment=MONGO\_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO\_OPLOG\_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT\_URL=[https://mydomain.com](https://mydomain.com) PORT=3000 OVERWRITE\_SETTING\_Site\_Url=[https://mydomain.com](https://mydomain.com)  
[Install]  
WantedBy=multi-user.target

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![didiwein](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@didiwein](https://forums.rocket.chat/u/didiwein)\
**Post date:** [September 26, 2019, 7:41am UTC](https://forums.rocket.chat/t/rocketchat-does-not-load-on-setup-wizard/4562/13 "2019-09-26T07:41:56Z")

</div>

Update:

I finally found a solution. I removed the port over the db by executing the following commands:  
mongo  
use rocketchat  
db.rocketchat\_settings.find({"\_id":“Site\_Url”}).pretty()  
db.rocketchat\_settings.update({"\_id":“Site\_Url”}, {$set: {“value”: “[https://mydomainwithoutport.com](https://mydomainwithoutport.com)”}})

Check your browser 🙂
