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 2020/01/08 14:07:26 UTC

[GitHub] [incubator-superset] SyamprasadNakka opened a new issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

SyamprasadNakka opened a new issue #8938: Superset Dashboard Loading Slow when Enable HTTPS
URL: https://github.com/apache/incubator-superset/issues/8938
 
 
   Hello Team,
   
   We have enabled HTTPS by running superset with GUNICORN server and observed the dashboard page is loading slow. It's taking around 10-15 Sec delay and loading the page. We didn't face this slowness issue when running the server with HTTP.
   
   ###Command used to run: 
   gunicorn -w 10 --certfile /home/superset/ssl/companyname.crt --keyfile /home/superset/ssl/companyname.key -b 0.0.0.0:1574 --limit-request-line 0 --limit-request-field_size 0 superset:app
   
   ### Expected results
   
   Dashboard page should load without any delay
   
   ### Actual results
   
   Dashboard page is loading with 10-15 sec delay when enable https
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. Run superset with gunicorn server by using HTTPS
   2. Click on any Dashboard from dashboard menu
   3. Observe the page loading time
   4. See the time lag.
   
   ### Environment
   
   - superset version: `unofficial-superset==0.33.10402`
   - python version: `python 3.7`
   
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [*] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [*] I have reproduced the issue with at least the latest released version of superset.
   - [*] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   

----------------------------------------------------------------
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


[GitHub] [incubator-superset] willbarrett commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
willbarrett commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS
URL: https://github.com/apache/incubator-superset/issues/8938#issuecomment-572184693
 
 
   You will experience better performance by setting up NGinx on the machine and terminating SSL at the web server rather than the Python process. I would recommend setting up gunicorn to only listen on the local loopback and having NGinx proxy requests via localhost. I hope this helps!

----------------------------------------------------------------
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


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS
URL: https://github.com/apache/incubator-superset/issues/8938#issuecomment-572070222
 
 
   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.81. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.

----------------------------------------------------------------
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


[GitHub] [incubator-superset] willbarrett commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
willbarrett commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS
URL: https://github.com/apache/incubator-superset/issues/8938#issuecomment-596624419
 
 
   Hi @SyamprasadNakka - it appears I didn't see your message when I came through my inbox originally.
   
   CAS - SSO should not have a problem with SSL termination at NGinx. Digital Ocean has a good walkthrough for setting up an NGinx proxy with SSL termination here: https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04

----------------------------------------------------------------
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


[GitHub] [incubator-superset] stale[bot] commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS
URL: https://github.com/apache/incubator-superset/issues/8938#issuecomment-596540490
 
 
   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   

----------------------------------------------------------------
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


[GitHub] [incubator-superset] SyamprasadNakka commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
SyamprasadNakka commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS
URL: https://github.com/apache/incubator-superset/issues/8938#issuecomment-572471087
 
 
   Hello Willbarret,
   Thanks for the update.
   
   We have enabled CAS - SSO ([#968](https://github.com/dpgaspar/Flask-AppBuilder/pull/968/commits/2ee50b6eb84f0ae36967cce5148760e48b86c841)) and enabled the SSL through gunicorn server to work with HTTPS.
   
   Currently we are not using nginx to terminate the SSL from gunicorn. Are there any steps needs to perform to work with both HTTPS and SSO along with nginx/apache httpd server?
   
   Can you please provide any inputs.
   
   Regards,
   Syam

----------------------------------------------------------------
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


[GitHub] [incubator-superset] stale[bot] commented on issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #8938:
URL: https://github.com/apache/incubator-superset/issues/8938#issuecomment-626084914


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] stale[bot] closed issue #8938: Superset Dashboard Loading Slow when Enable HTTPS

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #8938:
URL: https://github.com/apache/incubator-superset/issues/8938


   


----------------------------------------------------------------
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



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