dequn commented on issue #14730: URL: https://github.com/apache/superset/issues/14730#issuecomment-882303381
set ENV `FORWARDED_ALLOW_IPS=*` when starting gunicorn will solve it. This issue is caused by lacking of trailing slash of `favorite_status` endpoint, and flask will append "/" and respond a redirection. But if flask can not detect it's under `https` scheme, you will get a `http` scheme location, then caused the error. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
