isandyawan commented on issue #15118:
URL: https://github.com/apache/superset/issues/15118#issuecomment-914889227


   > hey @isandyawan, I assume that your error is related to this line in the 
superset_config.py:
   > 
   > ```python
   > WEBDRIVER_BASEURL = "http://localhost:8088";  # or whatever URL your 
superset instance is running on, the webdriver will use this URL to connect to 
superset in order to take a screenshot
   > ```
   > 
   > For taking the screenshot, a browser session accesses the URL above, 
renders the chart and than produces a screenshot so you have to make sure that 
superset is accessible on the URL above (it might be a DNS name or IP if hosted 
publicly, or localhost if on your machine). Also, make sure that the port is 
correct. Superset offers a health check under `/health` which returns 'OK' if 
successful, so you can check your configuration with `curl 
<URL>:<PORT>/health`, in my example using `curl localhost:8088/health` returns 
'OK'.
   > 
   > If you are still not able to solve it, please give me more information 
about the way you are running superset. Are you using docker? Local 
installation? Cloud?
   
   Hi @Hvitgar , thanks for your answer, i was try to change WEBDRIVER_BASEURL 
with IP but it cannot work too. I also check using 'curl localhost:8088/health 
' and it return 'OK'. I using docker to running superset


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