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/02/11 10:58:18 UTC

[GitHub] [incubator-superset] mifercre commented on issue #7954: cache warm up return 401

mifercre commented on issue #7954: cache warm up return 401
URL: https://github.com/apache/incubator-superset/issues/7954#issuecomment-584580144
 
 
   I'm facing the same issue, even on current master the requests sent by the celery task end up on 302 redirect to the login page.
   The problem is on this piece of code https://github.com/apache/incubator-superset/blob/master/superset/tasks/cache.py#L288 that sends the unauthenticated requests to the restricted explore endpoint. 
   
   I've grabbed some code from the email reports celery task that is used to login and retrieve the session cookie and it fixes the issue, PR here: https://github.com/apache/incubator-superset/pull/9115

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