I am just trying to get started with the experimental embedded weaviate.
It seems to download and run but then stops running when client tries to get meta data about version. Can you help me? I have tried opening ports and tried different ports, including 8080, 8888 and the default port. What could be causing the meta query to come back empty? I think the local server is not accessible but do not know how to fix it.
Description
import weaviate
client = weaviate.connect_to_embedded(version=“latest”)
Server Setup Information
Started /home/dyoung/.cache/weaviate-embedded: process ID 106577
{“action”:“startup”,“default_vectorizer_module”:“none”,“level”:“info”,“msg”:“the default vectorizer modules is set to "none", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer”,“time”:“2024-03-28T14:44:07-04:00”}
{“action”:“startup”,“auto_schema_enabled”:true,“level”:“info”,“msg”:“auto schema enabled setting is set to "true"”,“time”:“2024-03-28T14:44:07-04:00”}
{“level”:“info”,“msg”:“No resource limits set, weaviate will use all available memory and CPU. To limit resources, set LIMIT_RESOURCES=true”,“time”:“2024-03-28T14:44:07-04:00”}
{“level”:“warning”,“msg”:“Multiple vector spaces are present, GraphQL Explore and REST API list objects endpoint module include params has been disabled as a result.”,“time”:“2024-03-28T14:44:07-04:00”}
{“action”:“grpc_startup”,“level”:“info”,“msg”:“grpc server listening at [::]:50050”,“time”:“2024-03-28T14:44:07-04:00”}
{“action”:“restapi_management”,“level”:“info”,“msg”:“Serving weaviate at http://127.0.0.1:8079”,“time”:“2024-03-28T14:44:07-04:00”}
{“action”:“restapi_management”,“level”:“info”,“msg”:“Shutting down… “,“time”:“2024-03-28T14:44:07-04:00”}
{“action”:“restapi_management”,“level”:“info”,“msg”:“Stopped serving weaviate at http://127.0.0.1:8079”,“time”:“2024-03-28T14:44:07-04:00”}
{“action”:“telemetry_push”,“level”:“info”,“msg”:“telemetry started”,“payload”:”\u0026{MachineID:1a5178e4-1132-4b47-8cd8-37511d58d10a Type:INIT Version:1.24.6 Modules:generative-openai,qna-openai,ref2vec-centroid,reranker-cohere,text2vec-cohere,text2vec-huggingface,text2vec-openai NumObjects:0 OS:linux Arch:amd64}”,“time”:“2024-03-28T14:44:08-04:00”}
{“action”:“telemetry_push”,“level”:“info”,“msg”:“telemetry terminated”,“payload”:“\u0026{MachineID:1a5178e4-1132-4b47-8cd8-37511d58d10a Type:TERMINATE Version:1.24.6 Modules:generative-openai,qna-openai,ref2vec-centroid,reranker-cohere,text2vec-cohere,text2vec-huggingface,text2vec-openai NumObjects:0 OS:linux Arch:amd64}”,“time”:“2024-03-28T14:44:08-04:00”}
Any additional Information
self._weaviate_version = _ServerVersion.from_string(self.get_meta()[“version”])
^^^^^^^^^^^^^^^
File “/home_local/dyoung/anaconda3/envs/langchain/lib/python3.11/site-packages/weaviate/connect/v4.py”, line 581, in get_meta
res = _decode_json_response_dict(response, “Meta endpoint”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home_local/dyoung/anaconda3/envs/langchain/lib/python3.11/site-packages/weaviate/util.py”, line 929, in _decode_json_response_dict
raise UnexpectedStatusCodeError(location, response)
weaviate.exceptions.UnexpectedStatusCodeError: Meta endpoint! Unexpected status code: 403, with response body: None.