You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/12/13 18:18:01 UTC

[GitHub] [incubator-superset] prajamani edited a comment on issue #8397: explore_json return error that 'an error occured'

prajamani edited a comment on issue #8397: explore_json  return error that 'an error occured'
URL: https://github.com/apache/incubator-superset/issues/8397#issuecomment-565550448
 
 
   `SUPERSET_WEBSERVER_TIMEOUT` is set to 120 seconds. 
   
   `gunicorn` timeout is set to 150 seconds.
   
   gunicorn \
           --bind  "0.0.0.0:8088" \
           --workers $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) \
           -k gevent \
           --timeout 150 \
           --limit-request-line 0 \
           --limit-request-field_size 0 \
           --access-logfile '-' \
           --error-logfile '-' \
           superset:app
   
   I'm still getting random timeouts (15 secs, 22 secs,.). Here's the error we get in the browser as the connection gets dropped by the webserver.
   
   `POST superset/explore_json/?form_data=%7B%22slice_id%22%3A62%7D&force=true net::ERR_EMPTY_RESPONSE
   TypeError: Failed to fetch`
   
   Do we need any specific timeout setting in ngnix for the above `SUPERSET_WEBSERVER_TIMEOUT` and `gunicorn` timeout settings to work ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org