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/09/21 16:50:54 UTC

[GitHub] [incubator-superset] kvdevopse opened a new issue #10980: Set up timeout session in Superset application for UI users.

kvdevopse opened a new issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980


   Set up timeout session for users in Superset Application
    
   Hi, We set up the superset application and we are trying to achieve the application UI timeout session for the users. In config.py file we setup "PERMANENT_SESSION_LIFETIME = 60" for one minute but session timeout for users is not working. The logout for users is not happening automatically and also if we refresh the superset application UI page, it is logging in directly without prompting login page.
   
   These are the timeout session values we passed in config file.
   SUPERSET_WEBSERVER_TIMEOUT = 60
   **PERMANENT_SESSION_LIFETIME = 60**
   
   SQLLAB_TIMEOUT = 30
   
   Please help us to fix the timeout session. 


----------------------------------------------------------------
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] dpgaspar commented on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-697225894


   @kvdevopse just set:
   
   ```
   from datetime import timedelta
   
   ...
    PERMANENT_SESSION_LIFETIME = timedelta(seconds=10)
   ```
   


----------------------------------------------------------------
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] issue-label-bot[bot] commented on issue #10980: Set up timeout session in Superset application for UI users.

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


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.60. 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



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


[GitHub] [incubator-superset] tooptoop4 commented on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-741404313


   crispy


----------------------------------------------------------------
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] issue-label-bot[bot] commented on issue #10980: Set up timeout session in Superset application for UI users.

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


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.60. 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



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


[GitHub] [incubator-superset] nytai closed issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
nytai closed issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980


   


----------------------------------------------------------------
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] kvdevopse commented on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
kvdevopse commented on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-698543424


   > @kvdevopse did you set `SESSION_PERMANENT = True`? It seems that is needed to make `PERMANENT_SESSION_LIFETIME` work
   
   Hi, Where I have to set 'SESSION_PERMANENT = True`. Is it in the same configuration file? I don't find "SESSION_PERMANENT" parameter in configuration file. is it okay to edit the manually?


----------------------------------------------------------------
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] commented on issue #10980: Set up timeout session in Superset application for UI users.

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


   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] dpgaspar edited a comment on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
dpgaspar edited a comment on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-697225894


   @kvdevopse just set:
   
   ``` python
   from datetime import timedelta
   
   ...
   PERMANENT_SESSION_LIFETIME = timedelta(seconds=10)
   ```
   


----------------------------------------------------------------
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] kvdevopse edited a comment on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
kvdevopse edited a comment on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-698543424


   > @kvdevopse did you set `SESSION_PERMANENT = True`? It seems that is needed to make `PERMANENT_SESSION_LIFETIME` work
   
   Hi, Where I have to set 'SESSION_PERMANENT = True`. Is it in the same configuration file? I don't find "SESSION_PERMANENT" parameter in configuration file. is it okay to edit manually?


----------------------------------------------------------------
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] dpgaspar edited a comment on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
dpgaspar edited a comment on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-697225894


   @kvdevopse just set:
   
   ``` python
   from datetime import timedelta
   
   ...
   PERMANENT_SESSION_LIFETIME = timedelta(seconds=10)
   ```
   
   Note: 10 seconds is just a nice test value


----------------------------------------------------------------
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] kvdevopse commented on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
kvdevopse commented on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-698543424


   > @kvdevopse did you set `SESSION_PERMANENT = True`? It seems that is needed to make `PERMANENT_SESSION_LIFETIME` work
   
   Hi, Where I have to set 'SESSION_PERMANENT = True`. Is it in the same configuration file? I don't find "SESSION_PERMANENT" parameter in configuration file. is it okay to edit the manually?


----------------------------------------------------------------
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] nytai commented on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-697069070


   @kvdevopse did you set `SESSION_PERMANENT = True`? It seems that is needed to make `PERMANENT_SESSION_LIFETIME` 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



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


[GitHub] [incubator-superset] kvdevopse edited a comment on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
kvdevopse edited a comment on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-698543424


   > @kvdevopse did you set `SESSION_PERMANENT = True`? It seems that is needed to make `PERMANENT_SESSION_LIFETIME` work
   
   Hi, Where I have to set 'SESSION_PERMANENT = True`. Is it in the same configuration file? I don't find "SESSION_PERMANENT" parameter in configuration file. is it okay to edit manually?


----------------------------------------------------------------
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] nytai commented on issue #10980: Set up timeout session in Superset application for UI users.

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #10980:
URL: https://github.com/apache/incubator-superset/issues/10980#issuecomment-697069070


   @kvdevopse did you set `SESSION_PERMANENT = True`? It seems that is needed to make `PERMANENT_SESSION_LIFETIME` 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



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