You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "SupersetOdT (via GitHub)" <gi...@apache.org> on 2025/12/17 11:02:44 UTC
[I] [6.0.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
SupersetOdT opened a new issue, #36704:
URL: https://github.com/apache/superset/issues/36704
### Bug description
When I set my variable [WEBDRIVER_BASEURL_USER_FRIENDLY = "https://my.domain.com"] in my "superset_config.py" configuration file and want to create a chart in the "deck.gl GeoJSON" module to view points, I get an error message back.
<img width="1289" height="565" alt="Image" src="https://github.com/user-attachments/assets/051a462d-7e81-4073-84fe-331d25dbeec1" />
Apart from this graph, all others can be displayed correctly.
If I change my configuration to [WEBDRIVER_BASEURL_USER_FRIENDLY = "http://localhost:8088"] the display of the "deck.gl GeoJSON" chart works.
### Screenshots/recordings
The logs are not very explicit:
`2025/12/17 11:44:24 stdout 127.0.0.1 - - [17/Dec/2025:11:44:24 +0100] "GET //health HTTP/1.1" 200 2 "-" "curl/7.88.1"
2025/12/17 11:43:58 stdout 192.168.128.1 - - [17/Dec/2025:11:43:58 +0100] "POST /superset/log/?explode=events HTTP/1.1" 200 9 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:58 stdout 192.168.128.1 - - [17/Dec/2025:11:43:58 +0100] "PUT /api/v1/explore/form_data/idTnE7TGdYo?tab_id=79 HTTP/1.1" 200 22 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:57 stdout 192.168.128.1 - - [17/Dec/2025:11:43:57 +0100] "POST /superset/explore_json/?results=true HTTP/1.1" 200 12269 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:57 stdout 192.168.128.1 - - [17/Dec/2025:11:43:57 +0100] "POST /superset/explore_json/ HTTP/1.1" 200 13059 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:57 stderr 2025-12-17 11:43:57,823:INFO:superset.viz:Serving from cache
2025/12/17 11:43:57 stderr 2025-12-17 11:43:57,820:INFO:superset.viz:Cache key: 1b7e9e93bd661e73f564a19f62d69ab7
2025/12/17 11:43:57 stderr 2025-12-17 11:43:57,787:INFO:superset.viz:Serving from cache
2025/12/17 11:43:57 stderr 2025-12-17 11:43:57,783:INFO:superset.viz:Cache key: 1b7e9e93bd661e73f564a19f62d69ab7
2025/12/17 11:43:57 stderr 2025-12-17 11:43:57,772:WARNING:superset.views.base:Superset.explore_json This API endpoint is deprecated and will be removed in version 5.0.0
2025/12/17 11:43:57 stderr 2025-12-17 11:43:57,763:WARNING:superset.views.base:Superset.explore_json This API endpoint is deprecated and will be removed in version 5.0.0
2025/12/17 11:43:57 stdout 192.168.128.1 - - [17/Dec/2025:11:43:57 +0100] "GET /static/assets/loading.cff8a5da.gif HTTP/1.1" 200 0 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:54 stdout 127.0.0.1 - - [17/Dec/2025:11:43:54 +0100] "GET //health HTTP/1.1" 200 2 "-" "curl/7.88.1"
2025/12/17 11:43:46 stdout 192.168.128.1 - - [17/Dec/2025:11:43:46 +0100] "POST /superset/log/?explode=events HTTP/1.1" 200 9 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:45 stdout 192.168.128.1 - - [17/Dec/2025:11:43:45 +0100] "POST /api/v1/explore/form_data?tab_id=79 HTTP/1.1" 201 22 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:45 stdout 192.168.128.1 - - [17/Dec/2025:11:43:45 +0100] "POST /superset/explore_json/?results=true HTTP/1.1" 200 12269 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:45 stdout 192.168.128.1 - - [17/Dec/2025:11:43:45 +0100] "GET /static/assets/d3ab9294464d31db4220.chunk.js HTTP/1.1" 200 310586 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:45 stderr 2025-12-17 11:43:45,413:INFO:superset.viz:Serving from cache
2025/12/17 11:43:45 stderr 2025-12-17 11:43:45,412:INFO:superset.viz:Cache key: 1b7e9e93bd661e73f564a19f62d69ab7
2025/12/17 11:43:45 stdout 192.168.128.1 - - [17/Dec/2025:11:43:45 +0100] "GET /static/assets/d8f7b62fe905b424e3e7.chunk.js HTTP/1.1" 200 232778 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025/12/17 11:43:45 stderr 2025-12-17 11:43:45,391:WARNING:superset.views.base:Superset.explore_json This API endpoint is deprecated and will be removed in version 5.0.0
2025/12/17 11:43:45 stdout 192.168.128.1 - - [17/Dec/2025:11:43:45 +0100] "GET /static/assets/d0aad9658f452bad0e53.chunk.js HTTP/1.1" 200 5273 "https://my.domain.com/explore/?form_data_key=idTnE7TGdYo&datasource_type=table&datasource_id=26" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"`
### Superset version
master / latest-dev
### Python version
3.10
### Node version
18 or greater
### Browser
Chrome
### Additional context
Superset works with HTTP but installed behind a reverse proxy (NGINX) that provides the HTTPS protocol.
### 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.
- [ ] 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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #36704:
URL: https://github.com/apache/superset/issues/36704#issuecomment-3715777173
Looks like the original issue has been resolved so going to close this out. If it is not, feel free to reopen.
--
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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #36704:
URL: https://github.com/apache/superset/issues/36704#issuecomment-3668461390
OK, thank you for your reply. I will test this change in the next stable version of Superset (6.0.0rc5?) and I will confirm it then.
--
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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "JoshuaJADaniel (via GitHub)" <gi...@apache.org>.
JoshuaJADaniel commented on issue #36704:
URL: https://github.com/apache/superset/issues/36704#issuecomment-3665436007
@SupersetOdT I encountered this error while working on issue #34621. As part of the pull request (#36201) for that issue, I added changes to address the the issue with undefined colors in f187f7a3dbb15c678a4c49c83f06eaa524ae8962.
--
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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #36704:
URL: https://github.com/apache/superset/issues/36704#issuecomment-3665038471
CORS, proxy config, ... everything is OK and consistent with what you mention.
I tried with several data tables in "deck.gl GeoJSON" (with columns of point geometries in feature geojson in text format), it’s the same problem. These same columns are not an issue when [WEBDRIVER_BASEURL_USER_FRIENDLY = "http://localhost:8088"].
Furthermore, all other graphs display without error when [WEBDRIVER_BASEURL_USER_FRIENDLY = "https://my.domain.com"]. It must therefore not be a problem of proxy or horns.
It’s as if the variable "WEBDRIVER_BASEURL_USER_FRIENDLY" was misunderstood by "deck.gl GeoJSON". And only "deck.gl GeoJSON".
--
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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #36704:
URL: https://github.com/apache/superset/issues/36704#issuecomment-3664856802
<!-- Answer -->
The TypeError in the deck.gl GeoJSON chart when using an HTTPS domain for `WEBDRIVER_BASEURL_USER_FRIENDLY` is most likely caused by a proxy or HTTPS misconfiguration that affects how data or assets are loaded, rather than the variable itself. This can result in missing or malformed properties in the chart data, which triggers frontend errors like "Cannot read properties of undefined (reading 'r')" [example](https://github.com/apache/superset/pull/36201).
To troubleshoot, use browser dev tools to compare the network/API responses and console errors for the chart in both setups. Look for CORS, mixed content, or asset loading issues. Make sure your NGINX config sets headers like `X-Forwarded-Proto` to `$scheme` and `X-Forwarded-Host` to `$host` (without the protocol), and that you have `ENABLE_PROXY_FIX = True` and `PROXY_FIX_CONFIG = {"x_for": 1, "x_proto": 1, "x_host": 1, "x_port": 1, "x_prefix": 1}` in `superset_config.py` [reference](https://github.com/apache/superset/discussions/33440#discussioncomment-13148269).
Also, check that your GeoJSON column contains valid Features or FeatureCollections, not just raw geometry objects, and that the column type is TEXT [reference](https://github.com/apache/superset/issues/34748#issuecomment-3199847335). If you use icons in the chart, make sure your Content Security Policy allows the icon URLs [reference](https://github.com/apache/superset/pull/36201).
If the data payloads and asset loading are identical and no network errors are present, review your chart configuration and dataset schema for missing or misnamed properties.
<!-- 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/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/85d11819-cb1e-4bfb-bf6b-41ff679c1b48?feedback_type=other)</sup>
[](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20TypeError%20in%20the%20deck.gl%20GeoJSON%20chart%20when%20using%20an%20HTTPS%20domain%20for%20%60WEBDRIVER_BASEURL_USER_FRIENDLY%60%20is%20most%20likely%20caused%20by%20a%20proxy%20or%20HTTPS%20misconfiguration%20that%20affects%20how%20data%20or%20assets%20are%20loaded%2C%20rather%20than%20the%20variable%20itself.%20This%20can%20result%20in%20missing%20or%20malformed%20properties%20in%20the%20chart%20data%2C%20which%20triggers%20frontend%20errors%20like%20%22Cannot%20read%20properties%20of%20undefined%20%28reading%20%27r%27%29%22%C2%A0%5Bexample%5D%28https%3A//github.com/apache/superset/pull/36201%29.%0A%0ATo%20troubleshoot%2C%20use%20browser%20dev%20tools%20to%20compare%20the%20network/API%20responses%20and%20console%20errors%20for%20the%20c
hart%20in%20both%20setups.%20Look%20for%20CORS%2C%20mixed%20content%2C%20or%20asset%20loading%20issues.%20Make%20sure%20your%20NGINX%20config%20sets%20headers%20like%20%60X-Forwarded-Proto%60%20to%20%60%24scheme%60%20and%20%60X-Forwarded-Host%60%20to%20%60%24host%60%20%28without%20the%20protocol%29%2C%20and%20that%20you%20have%20%60ENABLE_PROXY_FIX%20%3D%20True%60%20and%20%60PROXY_FIX_CONFIG%20%3D%20%7B%22x_for%22%3A%201%2C%20%22x_proto%22%3A%201%2C%20%22x_host%22%3A%201%2C%20%22x_port%22%3A%201%2C%20%22x_prefix%22%3A%201%7D%60%20in%20%60superset_config.py%60%C2%A0%5Breference%5D%28https%3A//github.com/apache/superset/discussions/33440%23discussioncomment-13148269%29.%0A%0AAlso%2C%20check%20that%20your%20GeoJSON%20column%20contains%20valid%20Features%20or%20FeatureCollections%2C%20not%20just%20raw%20geometry%20objects%2C%20and%20that%20the%20column%20type%20is%20TEXT%C2%A0%5Breference%5D%28https%3A//github.com/apache/superset/issues/34748%23issuecomment-3199847335%29.%20If%20you%20u
se%20icons%20in%20the%20chart%2C%20make%20sure%20your%20Content%20Security%20Policy%20allows%20the%20icon%20URLs%C2%A0%5Breference%5D%28https%3A//github.com/apache/superset/pull/36201%29.%0A%0AIf%20the%20data%20payloads%20and%20asset%20loading%20are%20identical%20and%20no%20network%20errors%20are%20present%2C%20review%20your%20chart%20configuration%20and%20dataset%20schema%20for%20missing%20or%20misnamed%20properties.) [](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/36704)
--
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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe closed issue #36704: [6.0.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON"
URL: https://github.com/apache/superset/issues/36704
--
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.0rc4] The variable "WEBDRIVER_BASEURL_USER_FRIENDLY" can cause an error in the display of the chart "deck.gl GeoJSON" [superset]
Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #36704:
URL: https://github.com/apache/superset/issues/36704#issuecomment-3680479532
The problem seems to be resolved for me in version 6.0.0 stable. Thank you.
However, the "pull request" you mentioned is not yet integrated into the version released on Friday, December 19th. I look forward to it being implemented soon.
--
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