Dask Gateway Client SSL configuration

Hi Team , @consideRatio

we are trying to use Dask Gateway Cluster with JupyterHub , For that we are using Daskhub Helm Chart, On Http its working fine but when Jupyter hub is deployed on https then gateway.list_clusters() is not able to make connection due to ssl issue and we are getting below error

Cannot connect to host proxy-public:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')]

Code which we are using

from dask_gateway import Gateway
gateway = Gateway()
clusters = gateway.list_clusters()

Can you please suggest , how we can do the ssl configuration on Gateway (which is behind Hub Proxy and deployed on Https) or disable the ssl verfication mode in Gateway Class.

1 Like

dask-gateway does have various configuration options around ssl and certificates. If you can fill in the details of your configuration, that would be helpful. Where is the SSL error showing up, and do any of the elements along the path (proxy, the gateway service, etc.) log any useful information?

1 Like

I have the same problem, btw (Use Daskhub in private EKS Cluster with custom CA certificates - #2 by pavithraes)
Hope we find a solution tho. :slight_smile: