dosubot[bot] commented on issue #33089:
URL: https://github.com/apache/superset/issues/33089#issuecomment-2798726604

   <!-- Answer -->
   The issue with navigation items like SQL Lab, Saved Queries, and Query 
History redirecting to incorrect URLs is likely related to the routing 
configuration or environment setup in your Docker environment.
   
   1. **Expected URLs**: The correct URLs for these sections should be:
      - SQL Lab: `/sqllab/`
      - Saved Queries: `/savedqueryview/list/`
      - Query History: `/sqllab/history/` 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/home/commonMenuData.ts)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/views/routes.tsx)</sup>.
   
   2. **Environment Configuration**: Ensure that the `SUPERSET_APP_ROOT` 
environment variable is set correctly if you're using a custom path prefix. 
This variable helps in routing the application under a specific path, 
especially when using a reverse proxy 
<sup>[[3]](https://github.com/apache/superset/blob/master/docs/docs/configuration/configuring-superset.mdx)</sup>.
   
   3. **Proxy Settings**: If you're behind a reverse proxy, make sure 
`ENABLE_PROXY_FIX` is set to `True` in your `superset_config.py`. This setting 
ensures that Superset correctly interprets forwarded headers, which is crucial 
for proper URL routing 
<sup>[[4]](https://github.com/apache/superset/blob/master/superset/config.py)</sup>.
   
   4. **Docker Network**: Check your Docker network configuration for any DNS 
or routing issues. Ensure that the network settings allow for proper resolution 
of these paths within the Docker environment.
   
   By verifying these configurations, you should be able to resolve the 
redirection issues for these navigation items.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/8e0322e3-7f5e-4f65-9a5e-4ee8c1703683?feedback_type=other)</sup>
   


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

Reply via email to