I'm a newbie to dask gateway, trying to learn how to use it.
I am just trying to open a dataframe and compute it. Something like:
auth = BasicAuth(username="my_user", password="my_password")
gateway = Gateway("http://my_path", auth=auth)
options = gateway.cluster_options()
cluster = gateway.new_cluster(cluster_options=options)
cluster.adapt(minimum=2, maximum=10)
client = cluster.get_client()
df_sample = dd.read_sql_query(...)
df_sample.compute()
The code works normally without dask gateway.
And I get an error like this (sorry, I can't copy-paste the code):
How can I fix this?