504 Gateway Time-out on Self Hosted installation

I tried installing Redash on a ubuntu 18.04. I used the setup. sh script provided in the git hub. The installation was successful. I ama able to see all the Docker images created and the containers running. When I try to access the rehash application using browser, I get the error " 504 Gateway Time-out" . I tried to open using multiple browsers , but no luck. Please help me resolve this .

Kaushik

Hi,

How much memory does the server Redash runs on has?

Hi,
The server is a Ubuntu virtual box with 4GB ram. Is there any minimum hard ware requirements?

Kaushik

hi arikfr,
I even tried increasing the ram. I still get the same error. I did not face any issue while installing the setup.sh. Also the “docker container ls” shows all the running containers.

Please help.

Kaushik

I tried running this on a fresh ubuntu 10.04 virtual box. I am getting the same error. Am I doing something wrong?

I just want to make sure, are you really using Ubuntu 10.04 or this was a typo?

Yes. That was a typo. It’s 18.04. sorry.

Can you share the output of docker-compose logs?

Hi,

I’m having the same problem, with Redash 7.0.0.b18042. Even my VM is with the same amount of memory (4GB) and I’ve run setup.sh without any issues.

Here’s docker ps output:

CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                         NAMES
21b6c57db981        redash/nginx:latest          "nginx -g 'daemon of…"   19 hours ago        Up 18 hours         0.0.0.0:80->80/tcp, 443/tcp   redash_nginx_1
9f81d4b7961c        redash/redash:7.0.0.b18042   "/app/bin/docker-ent…"   19 hours ago        Up 18 hours         0.0.0.0:5000->5000/tcp        redash_server_1
0ab998e72d2e        redash/redash:7.0.0.b18042   "/app/bin/docker-ent…"   19 hours ago        Up 18 hours         5000/tcp                      redash_scheduled_worker_1
b5be42019fe4        redash/redash:7.0.0.b18042   "/app/bin/docker-ent…"   19 hours ago        Up 18 hours         5000/tcp                      redash_adhoc_worker_1
fcf996ecd2ac        redash/redash:7.0.0.b18042   "/app/bin/docker-ent…"   19 hours ago        Up 18 hours         5000/tcp                      redash_scheduler_1
fe124ffde9ad        postgres:9.5-alpine          "docker-entrypoint.s…"   19 hours ago        Up 18 hours         5432/tcp                      redash_postgres_1
6cf89a7bb27e        redis:5.0-alpine             "docker-entrypoint.s…"   19 hours ago        Up 18 hours         6379/tcp                      redash_redis_1

My docker-compose logs output:

Attaching to redash_nginx_1, redash_server_1, redash_scheduled_worker_1, redash_adhoc_worker_1, redash_scheduler_1, redash_postgres_1, redash_redis_1
nginx_1             | 2019/07/12 11:28:10 [error] 6#6: *85 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.0.2.2, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.8:5000/", host: "10.31.5.38"
nginx_1             | 10.0.2.2 - - [12/Jul/2019:11:28:10 +0000] "GET / HTTP/1.1" 504 585 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36" "-"
nginx_1             | 2019/07/12 11:29:12 [error] 6#6: *85 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.0.2.2, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.8:5000/favicon.ico", host: "10.31.5.38", referrer: "http://10.31.5.38/"
nginx_1             | 10.0.2.2 - - [12/Jul/2019:11:29:12 +0000] "GET /favicon.ico HTTP/1.1" 504 585 "http://10.31.5.38/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36" "-"
server_1            | [2019-07-12 11:26:35,243][PID:27360][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:26:35,422][PID:27358][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:26:35,704][PID:27364][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:26:35,732][PID:27360][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:26:35,910][PID:27358][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:26:36,001][PID:27361][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:26:36,179][PID:27364][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:26:36,479][PID:27361][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:26:47 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27360)
server_1            | [2019-07-12 11:26:47 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27361)
server_1            | [2019-07-12 11:26:47 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27364)
server_1            | [2019-07-12 11:26:47 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27358)
server_1            | [2019-07-12 11:26:47 +0000] [27360] [INFO] Worker exiting (pid: 27360)
server_1            | [2019-07-12 11:26:47 +0000] [27358] [INFO] Worker exiting (pid: 27358)
server_1            | [2019-07-12 11:26:47 +0000] [27364] [INFO] Worker exiting (pid: 27364)
server_1            | [2019-07-12 11:26:47 +0000] [27361] [INFO] Worker exiting (pid: 27361)
server_1            | [2019-07-12 11:26:48 +0000] [27375] [INFO] Booting worker with pid: 27375
server_1            | [2019-07-12 11:26:48 +0000] [27376] [INFO] Booting worker with pid: 27376
server_1            | [2019-07-12 11:26:48 +0000] [27377] [INFO] Booting worker with pid: 27377
server_1            | [2019-07-12 11:26:48 +0000] [27378] [INFO] Booting worker with pid: 27378
server_1            | [2019-07-12 11:27:04,277][PID:27377][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:04,305][PID:27375][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:04,350][PID:27376][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:04,525][PID:27378][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:04,759][PID:27377][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:04,834][PID:27375][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:04,887][PID:27376][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:04,997][PID:27378][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:18 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27375)
server_1            | [2019-07-12 11:27:18 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27376)
server_1            | [2019-07-12 11:27:18 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27377)
server_1            | [2019-07-12 11:27:18 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27378)
server_1            | [2019-07-12 11:27:19 +0000] [27392] [INFO] Booting worker with pid: 27392
server_1            | [2019-07-12 11:27:19 +0000] [27391] [INFO] Booting worker with pid: 27391
server_1            | [2019-07-12 11:27:19 +0000] [27393] [INFO] Booting worker with pid: 27393
server_1            | [2019-07-12 11:27:19 +0000] [27394] [INFO] Booting worker with pid: 27394
server_1            | [2019-07-12 11:27:37,526][PID:27391][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:37,618][PID:27394][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:37,624][PID:27392][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:37,675][PID:27393][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:27:38,082][PID:27391][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:38,285][PID:27394][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:38,405][PID:27392][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:38,462][PID:27393][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:27:50 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27392)
server_1            | [2019-07-12 11:27:50 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27393)
server_1            | [2019-07-12 11:27:50 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27394)
server_1            | [2019-07-12 11:27:50 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27391)
server_1            | [2019-07-12 11:27:50 +0000] [27391] [INFO] Worker exiting (pid: 27391)
server_1            | [2019-07-12 11:27:50 +0000] [27394] [INFO] Worker exiting (pid: 27394)
scheduler_1         | [2019-07-12 11:26:25,208][PID:101][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
scheduler_1         | [2019-07-12 11:26:25,219][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[b039e0cf-4232-44cd-bee4-8a5962afd646]
scheduler_1         | [2019-07-12 11:26:25,225][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.refresh_queries task_id=b039e0cf-4232-44cd-bee4-8a5962afd646 Refreshing queries...
scheduler_1         | [2019-07-12 11:26:25,256][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.refresh_queries task_id=b039e0cf-4232-44cd-bee4-8a5962afd646 Done refreshing queries. Found 0 outdated queries: []
scheduler_1         | [2019-07-12 11:26:25,265][PID:1119][INFO][ForkPoolWorker-1019] Task redash.tasks.refresh_queries[b039e0cf-4232-44cd-bee4-8a5962afd646] succeeded in 0.0399651690022s: None
scheduler_1         | [2019-07-12 11:26:55,228][PID:101][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
scheduler_1         | [2019-07-12 11:26:55,238][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[9e12b25c-6299-4a8f-b19a-cc206654e8bd]
scheduler_1         | [2019-07-12 11:26:55,245][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.refresh_queries task_id=9e12b25c-6299-4a8f-b19a-cc206654e8bd Refreshing queries...
scheduler_1         | [2019-07-12 11:26:55,273][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.refresh_queries task_id=9e12b25c-6299-4a8f-b19a-cc206654e8bd Done refreshing queries. Found 0 outdated queries: []
server_1            | [2019-07-12 11:27:50 +0000] [27393] [INFO] Worker exiting (pid: 27393)
server_1            | [2019-07-12 11:27:50 +0000] [27392] [INFO] Worker exiting (pid: 27392)
server_1            | [2019-07-12 11:27:51 +0000] [27407] [INFO] Booting worker with pid: 27407
server_1            | [2019-07-12 11:27:51 +0000] [27408] [INFO] Booting worker with pid: 27408
server_1            | [2019-07-12 11:27:51 +0000] [27409] [INFO] Booting worker with pid: 27409
server_1            | [2019-07-12 11:27:51 +0000] [27410] [INFO] Booting worker with pid: 27410
server_1            | [2019-07-12 11:28:08,782][PID:27409][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:08,817][PID:27410][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
scheduler_1         | [2019-07-12 11:26:55,282][PID:1119][INFO][ForkPoolWorker-1019] Task redash.tasks.refresh_queries[9e12b25c-6299-4a8f-b19a-cc206654e8bd] succeeded in 0.0378291000015s: None
scheduler_1         | [2019-07-12 11:26:59,620][PID:101][INFO][Beat] Scheduler: Sending due task cleanup_query_results (redash.tasks.cleanup_query_results)
redis_1             | 1:M 12 Jul 2019 11:29:23.031 * 100 changes in 300 seconds. Saving...
redis_1             | 1:M 12 Jul 2019 11:29:23.032 * Background saving started by pid 219
redis_1             | 219:C 12 Jul 2019 11:29:23.074 * DB saved on disk
redis_1             | 219:C 12 Jul 2019 11:29:23.080 * RDB: 0 MB of memory used by copy-on-write
redis_1             | 1:M 12 Jul 2019 11:29:23.135 * Background saving terminated with success
scheduler_1         | [2019-07-12 11:26:59,629][PID:1][INFO][MainProcess] Received task: redash.tasks.cleanup_query_results[d3df92f3-a230-430d-b70c-65a7bfe1902b]
scheduler_1         | [2019-07-12 11:26:59,636][PID:1119][INFO][ForkPoolWorker-1019] Running query results clean up (removing maximum of 100 unused results, that are 7 days old or more)
scheduler_1         | [2019-07-12 11:26:59,666][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.cleanup_query_results task_id=d3df92f3-a230-430d-b70c-65a7bfe1902b Deleted 0 unused query results.
scheduler_1         | [2019-07-12 11:26:59,669][PID:1119][INFO][ForkPoolWorker-1019] Task redash.tasks.cleanup_query_results[d3df92f3-a230-430d-b70c-65a7bfe1902b] succeeded in 0.0326230010032s: None
scheduler_1         | [2019-07-12 11:27:11,449][PID:101][INFO][Beat] Scheduler: Sending due task sync_user_details (redash.tasks.sync_user_details)
scheduler_1         | [2019-07-12 11:27:11,460][PID:1][INFO][MainProcess] Received task: redash.tasks.sync_user_details[c5aaedda-2184-41b5-bbf3-961ce23e6f1e]   expires:[2019-07-12 11:27:56.450894+00:00]
scheduler_1         | [2019-07-12 11:27:11,469][PID:1119][INFO][ForkPoolWorker-1019] Task redash.tasks.sync_user_details[c5aaedda-2184-41b5-bbf3-961ce23e6f1e] succeeded in 0.00379256300221s: None
scheduler_1         | [2019-07-12 11:27:25,233][PID:101][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
scheduler_1         | [2019-07-12 11:27:25,251][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[7db5f52e-1ab4-422b-9905-46372f6a1465]
scheduler_1         | [2019-07-12 11:27:25,257][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.refresh_queries task_id=7db5f52e-1ab4-422b-9905-46372f6a1465 Refreshing queries...
scheduler_1         | [2019-07-12 11:27:25,293][PID:1119][INFO][ForkPoolWorker-1019] task_name=redash.tasks.refresh_queries task_id=7db5f52e-1ab4-422b-9905-46372f6a1465 Done refreshing queries. Found 0 outdated queries: []
scheduler_1         | [2019-07-12 11:27:25,301][PID:1119][INFO][ForkPoolWorker-1019] Task redash.tasks.refresh_queries[7db5f52e-1ab4-422b-9905-46372f6a1465] succeeded in 0.0438504199992s: None
scheduler_1         | [2019-07-12 11:27:55,252][PID:101][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
scheduler_1         | [2019-07-12 11:27:55,266][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[023db1e7-b577-4cc4-bc0f-80fe617f6e2a]
server_1            | [2019-07-12 11:28:08,845][PID:27408][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:09,003][PID:27407][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:09,353][PID:27409][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:09,391][PID:27410][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:09,470][PID:27408][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:09,618][PID:27407][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:21 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27407)
server_1            | [2019-07-12 11:28:21 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27408)
server_1            | [2019-07-12 11:28:21 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27409)
server_1            | [2019-07-12 11:28:21 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27410)
server_1            | [2019-07-12 11:28:21 +0000] [27407] [INFO] Worker exiting (pid: 27407)
server_1            | [2019-07-12 11:28:21 +0000] [27410] [INFO] Worker exiting (pid: 27410)
server_1            | [2019-07-12 11:28:21 +0000] [27409] [INFO] Worker exiting (pid: 27409)
scheduler_1         | [2019-07-12 11:27:55,275][PID:1120][INFO][ForkPoolWorker-1020] task_name=redash.tasks.refresh_queries task_id=023db1e7-b577-4cc4-bc0f-80fe617f6e2a Refreshing queries...
scheduler_1         | [2019-07-12 11:27:56,177][PID:1120][INFO][ForkPoolWorker-1020] task_name=redash.tasks.refresh_queries task_id=023db1e7-b577-4cc4-bc0f-80fe617f6e2a Done refreshing queries. Found 0 outdated queries: []
scheduler_1         | [2019-07-12 11:27:56,189][PID:1120][INFO][ForkPoolWorker-1020] Task redash.tasks.refresh_queries[023db1e7-b577-4cc4-bc0f-80fe617f6e2a] succeeded in 0.915366713001s: None
scheduler_1         | [2019-07-12 11:28:11,453][PID:101][INFO][Beat] Scheduler: Sending due task sync_user_details (redash.tasks.sync_user_details)
scheduler_1         | [2019-07-12 11:28:11,462][PID:1][INFO][MainProcess] Received task: redash.tasks.sync_user_details[90ac205c-c649-4a4c-b5bc-c6dfdef7b424]   expires:[2019-07-12 11:28:56.454781+00:00]
scheduler_1         | [2019-07-12 11:28:11,477][PID:1120][INFO][ForkPoolWorker-1020] Task redash.tasks.sync_user_details[90ac205c-c649-4a4c-b5bc-c6dfdef7b424] succeeded in 0.00780223699985s: None
scheduler_1         | [2019-07-12 11:28:25,257][PID:101][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
scheduler_1         | [2019-07-12 11:28:25,270][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[b1a9230e-2375-4681-a7e1-29d644403cfc]
scheduler_1         | [2019-07-12 11:28:25,282][PID:1120][INFO][ForkPoolWorker-1020] task_name=redash.tasks.refresh_queries task_id=b1a9230e-2375-4681-a7e1-29d644403cfc Refreshing queries...
scheduler_1         | [2019-07-12 11:28:25,312][PID:1120][INFO][ForkPoolWorker-1020] task_name=redash.tasks.refresh_queries task_id=b1a9230e-2375-4681-a7e1-29d644403cfc Done refreshing queries. Found 0 outdated queries: []
scheduler_1         | [2019-07-12 11:28:25,321][PID:1120][INFO][ForkPoolWorker-1020] Task redash.tasks.refresh_queries[b1a9230e-2375-4681-a7e1-29d644403cfc] succeeded in 0.0392087309956s: None
server_1            | [2019-07-12 11:28:21 +0000] [27408] [INFO] Worker exiting (pid: 27408)
server_1            | [2019-07-12 11:28:22 +0000] [27423] [INFO] Booting worker with pid: 27423
server_1            | [2019-07-12 11:28:22 +0000] [27424] [INFO] Booting worker with pid: 27424
server_1            | [2019-07-12 11:28:22 +0000] [27426] [INFO] Booting worker with pid: 27426
server_1            | [2019-07-12 11:28:22 +0000] [27427] [INFO] Booting worker with pid: 27427
server_1            | [2019-07-12 11:28:37,211][PID:27423][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:37,546][PID:27426][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:37,727][PID:27423][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:37,782][PID:27424][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:37,841][PID:27427][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:28:38,080][PID:27426][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:38,248][PID:27424][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:38,333][PID:27427][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:28:52 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27424)
server_1            | [2019-07-12 11:28:52 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27426)
server_1            | [2019-07-12 11:28:52 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27427)
server_1            | [2019-07-12 11:28:52 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27423)
scheduler_1         | [2019-07-12 11:28:55,276][PID:101][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
scheduler_1         | [2019-07-12 11:28:55,286][PID:1][INFO][MainProcess] Received task: redash.tasks.refresh_queries[563c223c-52a9-4666-89ef-e127e7b1f6c0]
scheduler_1         | [2019-07-12 11:28:55,289][PID:1120][INFO][ForkPoolWorker-1020] task_name=redash.tasks.refresh_queries task_id=563c223c-52a9-4666-89ef-e127e7b1f6c0 Refreshing queries...
scheduler_1         | [2019-07-12 11:28:55,319][PID:1120][INFO][ForkPoolWorker-1020] task_name=redash.tasks.refresh_queries task_id=563c223c-52a9-4666-89ef-e127e7b1f6c0 Done refreshing queries. Found 0 outdated queries: []
scheduler_1         | [2019-07-12 11:28:55,326][PID:1120][INFO][ForkPoolWorker-1020] Task redash.tasks.refresh_queries[563c223c-52a9-4666-89ef-e127e7b1f6c0] succeeded in 0.0374173579985s: None
scheduler_1         | [2019-07-12 11:29:11,456][PID:101][INFO][Beat] Scheduler: Sending due task sync_user_details (redash.tasks.sync_user_details)
scheduler_1         | [2019-07-12 11:29:11,467][PID:1][INFO][MainProcess] Received task: redash.tasks.sync_user_details[334f0455-a23f-4e6e-9d7c-d8bdb11eae3e]   expires:[2019-07-12 11:29:56.458002+00:00]
scheduler_1         | [2019-07-12 11:29:11,473][PID:1120][INFO][ForkPoolWorker-1020] Task redash.tasks.sync_user_details[334f0455-a23f-4e6e-9d7c-d8bdb11eae3e] succeeded in 0.00315925999894s: None
server_1            | [2019-07-12 11:28:52 +0000] [27424] [INFO] Worker exiting (pid: 27424)
server_1            | [2019-07-12 11:28:52 +0000] [27427] [INFO] Worker exiting (pid: 27427)
server_1            | [2019-07-12 11:28:52 +0000] [27423] [INFO] Worker exiting (pid: 27423)
server_1            | [2019-07-12 11:28:52 +0000] [27426] [INFO] Worker exiting (pid: 27426)
server_1            | [2019-07-12 11:28:53 +0000] [27440] [INFO] Booting worker with pid: 27440
server_1            | [2019-07-12 11:28:53 +0000] [27442] [INFO] Booting worker with pid: 27442
server_1            | [2019-07-12 11:28:53 +0000] [27441] [INFO] Booting worker with pid: 27441
server_1            | [2019-07-12 11:28:53 +0000] [27443] [INFO] Booting worker with pid: 27443
server_1            | [2019-07-12 11:29:07,818][PID:27442][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:29:07,858][PID:27443][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:29:07,917][PID:27441][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:29:07,927][PID:27440][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
server_1            | [2019-07-12 11:29:08,316][PID:27442][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:29:08,358][PID:27443][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:29:08,440][PID:27441][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:29:08,482][PID:27440][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
server_1            | [2019-07-12 11:29:23 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27440)
server_1            | [2019-07-12 11:29:23 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27441)
server_1            | [2019-07-12 11:29:23 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27442)
server_1            | [2019-07-12 11:29:23 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:27443)

Thanks,

Arnaldo

Hi friends,

I’ve just found out the problem and it wasn’t related to Redash. When I did port mapping (Redash running on a NAT VM inside VirtualBox), I forgot to map port 5000 (I was mapping only 80, 443 and 22).

Thanks,

Arnaldo