Unable to create weaviate client

On the second lecture ( Keyword search ) by running this part of code
client = weaviate.Client(
url=os.environ[‘WEAVIATE_API_URL’],
auth_client_secret=auth_config,
additional_headers={
“X-Cohere-Api-Key”: os.environ[‘COHERE_API_KEY’],
}
)

I get a error:
WeaviateStartUpError: Weaviate did not start up in 5 seconds. Either the Weaviate URL jupyter-api-proxy.internal.dlai/rev-proxy/weaviate is wrong or Weaviate did not start up in the interval given in ‘startup_period’.

Have Also tried to replace the URL value with the value from the video ( cohere-demo-weaviate network) and get the same error.

Did the WEAVIATE_API_URL been changed or some of the others env variables?

Best regards

1 Like

Are you trying out the code on the deeplearning.ai platform?

Yes, I’m running the code directly on the deeplearning.ai platform inside the Jupyter environment provided by them.

Oh. I think a staff needs to support on this. The course is quite old. At least 2 years. So, something may have changed.

1 Like

Thanks,

Will someone response to this topic or should I write somewhere else?

I also meet this trouble. Did you handle this problem?