nivdann commented on issue #28595:
URL: https://github.com/apache/superset/issues/28595#issuecomment-2176286595

   I managed to resolve this issue by removing the http proxy environment 
variable that was set in my values.yaml as part of the command for my 
installations need. The problem was that after I set a proxy as an environment 
variable in that step and don't remove it, at the end of my installations of 
the command(Under supersetWorker/supersetNode), it calls to start the app as 
follows:
   `. {{ .Values.configMountPath }}/superset_bootstrap.sh; celery 
--app=superset.tasks.celery_app:app worker`
   
   so the environment variable (my http proxy) is set also the the app and when 
it tries to use the WEBDRIVER_BASEURL or the url to the service, it tries to 
use proxy and not directly - therefore it gets a timeout/error.
   
   Also after figuring that out, I removed from this from my values.yaml since 
its not really needed:
   ```
   from selenium.webdriver.common.desired_capabilities import 
DesiredCapabilities
   
   capabilities = DesiredCapabilities.FIREFOX.copy()
   capabilities['proxy'] = {
       "proxyType": "DIRECT" # Direct connection, no proxy
   }
   WEBDRIVER_CONFIGURATION = {"capabilities": capabilities}
   ```
   
   Eventually all screenshots, csv, worked as expected.
   
   Hope it helps :)


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