Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout on first install #148

Open
r3k2 opened this issue Jul 19, 2021 · 2 comments
Open

timeout on first install #148

r3k2 opened this issue Jul 19, 2021 · 2 comments

Comments

@r3k2
Copy link

r3k2 commented Jul 19, 2021

Hello I am following this official setup https://docs.rocket.chat/installing-and-updating/docker-containers
everything seems ok until I try to go to the url and create an admin account, it will just hang forever and on the nginx logs it says it timedout...

 tail -f rocketchat_error.log 
2021/07/19 16:55:58 [error] 7329#7329: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 213.xx.xx.xx, server: chat.xxxxxx.com, request: "POST /api/v1/method.callAnon/registerUser HTTP/1.1", upstream: "http://127.0.0.1:3000/api/v1/method.callAnon/registerUser", host: "chat.xxxxxx.com", referrer: "https://chat.xxxxxxx.com/setup-wizard/1"

docker ps

docker ps
CONTAINER ID   IMAGE                                                COMMAND                  CREATED         STATUS                          PORTS                                       NAMES
8682114feb1b   rocketchat/hubot-rocketchat:latest                   "/bin/sh -c 'node -e…"   7 minutes ago   Restarting (1) 57 seconds ago                                               opt_hubot_1
368c7ea41010   registry.rocket.chat/rocketchat/rocket.chat:latest   "docker-entrypoint.s…"   7 minutes ago   Up 7 minutes                    0.0.0.0:3000->3000/tcp, :::3000->3000/tcp   opt_rocketchat_1
91b31e9d5b63   mongo:4.0                                            "docker-entrypoint.s…"   7 minutes ago   Up 7 minutes                    27017/tcp                                   opt_mongo_1

on a netstat I do not see mongo port listening on 127.0.0.1 ..... could this be the issue?
I have not change anything only where I am supposed to add my domain on the docker compose yaml file.

[edit]

docker ps --format "{{.Ports}}"

0.0.0.0:3000->3000/tcp, :::3000->3000/tcp
27017/tcp

[edit 2]

rocketchat_1          | ➔ +----------------------------------------------------+
rocketchat_1          | Error: Connection timeout
rocketchat_1          |     at SMTPConnection._formatError (/app/bundle/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)
rocketchat_1          |     at SMTPConnection._onError (/app/bundle/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:770:20)
rocketchat_1          |     at Timeout.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:235:22)
rocketchat_1          |     at listOnTimeout (internal/timers.js:554:17)
rocketchat_1          |     at processTimers (internal/timers.js:497:7) {
rocketchat_1          |   code: 'ETIMEDOUT',
rocketchat_1          |   command: 'CONN'
rocketchat_1          | }
@sampaiodiego
Copy link
Member

are you on an air gapped environment? have you set MAIL_URL env var to run rocket.chat container?

@iQiexie
Copy link

iQiexie commented Nov 17, 2022

same for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants