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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
