You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This error is returned when I tried to follow the official documentation to connect to Weaviate managed cluster. Note: The documentation also has an problem, where url is not specified upon initialization of WeaviateDocumentStore
My code:
from haystack.utils.auth import Secret
from haystack_integrations.document_stores.weaviate import WeaviateDocumentStore, AuthApiKey
auth_client_secret = AuthApiKey(Secret.from_token("MY_WEAVIATE_API_KEY"))
document_store = WeaviateDocumentStore(
url='WEAVIATE_CLUSTER_URL',
auth_client_secret=auth_client_secret
)
Error:
_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
...
- gRPC is not enabled or incorrectly configured on the server with version v1.24.8 or the client
- your connection is unstable or has a high latency. In this case you can:
- increase init-timeout in `weaviate.connect_to_local(additional_config=wvc.init.AdditionalConfig(timeout=wvc.init.Timeout(init=X)))`
- disable startup checks by connecting using `skip_init_checks=True`
To Reproduce
Refer to the above
How this issue can be resolved
Update the self._client as below
Describe the bug
This error is returned when I tried to follow the official documentation to connect to Weaviate managed cluster. Note: The documentation also has an problem, where url is not specified upon initialization of
WeaviateDocumentStore
My code:
Error:
To Reproduce
Refer to the above
How this issue can be resolved
Update the self._client as below
Then the WeaviateDocumentStore can be initialized as below
Describe your environment (please complete the following information):
The text was updated successfully, but these errors were encountered: