You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "XiaochuRiver (via GitHub)" <gi...@apache.org> on 2025/10/29 09:19:59 UTC
[I] [6.0.0rc2]Configure URL_PREFIX, I get an error when clicking the download Excel function on the Table chart [superset]
XiaochuRiver opened a new issue, #35883:
URL: https://github.com/apache/superset/issues/35883
### Bug description
<img width="2516" height="648" alt="Image" src="https://github.com/user-attachments/assets/fbaf3b92-adaa-4ff8-b6f7-25cebab64131" />
When I click this button, the URL_PREFIX will appear twice. For example, if I configure SUPERSET_APP_ROOT = '/ana', the download URL will contain two /ana/ana/data entries, and then the interface will display a connection loss error message.
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.11
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
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: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [6.0.0rc2]Configure URL_PREFIX, I get an error when clicking the download Excel function on the Table chart [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #35883:
URL: https://github.com/apache/superset/issues/35883#issuecomment-3462771837
Probably fixed by `https://github.com/apache/superset/pull/35118` which just merged. Can you check on `master`?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [6.0.0rc2]Configure URL_PREFIX, I get an error when clicking the download Excel function on the Table chart [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #35883: [6.0.0rc2]Configure URL_PREFIX, I get an error when clicking the download Excel function on the Table chart
URL: https://github.com/apache/superset/issues/35883
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [6.0.0rc2]Configure URL_PREFIX, I get an error when clicking the download Excel function on the Table chart [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #35883:
URL: https://github.com/apache/superset/issues/35883#issuecomment-3460553730
<!-- Greeting -->
Hi @XiaochuRiver! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
This is a known bug: when SUPERSET_APP_ROOT (URL_PREFIX) is set, the export (Excel/CSV) URL can get the prefix applied twice, resulting in broken download links and connection errors. The root cause is that the prefix was being added in two places in the frontend export logic. This was fixed in late October 2025—after the 6.0.0rc2 release—by ensuring the prefix is only applied once using a utility function in the frontend code ([details and fix here](https://github.com/apache/superset/pull/35118), [also here](https://github.com/apache/superset/pull/35584)).
To resolve this, update to the latest Superset master or a release after October 27, 2025. If you can't upgrade, you would need to manually patch the frontend export logic to avoid double-prefixing, but upgrading is the recommended and safest solution.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3c2554db-d17f-44e2-b8b5-fc0aa0500f18?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35883)
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [6.0.0rc2]Configure URL_PREFIX, I get an error when clicking the download Excel function on the Table chart [superset]
Posted by "khiem2794 (via GitHub)" <gi...@apache.org>.
khiem2794 commented on issue #35883:
URL: https://github.com/apache/superset/issues/35883#issuecomment-3996081343
the bug is still there, app root got appended in both places causing duplication @rusackas
https://github.com/apache/superset/blob/983b633972fde332921f63f28d04f8975f14459f/superset-frontend/src/explore/exploreUtils/index.ts#L360
https://github.com/apache/superset/blob/983b633972fde332921f63f28d04f8975f14459f/superset-frontend/packages/superset-ui-core/src/connection/SupersetClientClass.ts#L126
Currently, my workaround is to use additional middleware to redirect to the right path when exporting csv
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org