Raymanrrr commented on issue #24174: URL: https://github.com/apache/superset/issues/24174#issuecomment-1614260849
I guess the redirect response caused this, my superset:2.1.0 also encounters add dashboard error when behind a reverse proxy. 'https://host/dashboard/new' will redirect to 'http://host/dashboard/new/', but no superset service on port 80. The path '/superset/profile/{username}' has the same issue. --- Here's how I fixed it: For /dashboard/new: ``` cd superset-frontend grep -r 'dashboard/new' src/* ``` Change the found string '/dashboard/new' to '/dashboard/new/' and rebuild the frontend. For /superset/profile/{username}: Add '/' after 'f/superset/profile/{user.username}' in superset/views/base.py It's not elegant but it works. -- 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]
