pashkash opened a new issue, #20963:
URL: https://github.com/apache/superset/issues/20963

   Hey.
   
   I changed the gunicorn parametters via env variables, but still getting 504 
error during the Chart creation or SQL lab.
   
   #### How to reproduce the bug
   
   1. Setup Trino ORM with Hive connector. Also changed `GUNICORN_KEEPALIVE` 
param in `.env-non-dev` and `superset_config.py`.
   2. Run the Superset with `docker-compose -f docker-compose-non-dev.yml up`
   3. Enter the docker container and check that params are passed with `ps` 
`...  /usr/local/bin/python /usr/bin/gunicorn --bind 0.0.0.0:8088 ... --timeout 
600`
   5. Go to "Create new chart" in the web UI. Fill query params. Run the query.
   6. Get "504: Gateway time-out" after a minute of waitnig.
   
   
   ### Expected results
   A chart should be shown with data from connectors even if my query was 
processing for 1m+.
   
   ### Actual results
   I got the 504 response after a minute.
   
   #### Screenshots
   
![image](https://user-images.githubusercontent.com/5039134/182683101-b5ac1ca0-575f-4186-8159-32025e0f929e.png)
   
   
   ### Environment
   
   - browser type and version: Safary, Chrome;
   - superset version: the latest superset-image
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to