weaviate / weaviate/weaviate-python-client

Embedded does not start up with custom ports & `v1.25` or higher

Open
#1,225 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
227
Forks
151
Avg merge
3d 14h
Merged PRs (30d)
11

Description

Embedded does not start when using v1.25.x or higher.

Code to reproduce (client v4.7.1)

import weaviate

for version in [
    "1.24.21",
    "1.25.9",
    "1.26.1",
]:
    try:
        client = weaviate.connect_to_embedded(
            version=version,
        )

        assert client.is_ready()

        client.close()

        client = weaviate.connect_to_embedded(
            version=version,
            port=8089,
            grpc_port=50059,
        )

        assert client.is_ready()

        client.close()
    except Exception as e:
        print(f"Version: {version} failed with error: {e}")
        continue

This fails for 1.25/1.26 but not 1.24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reproduction code in the issue with client v4.7.1 and compare embedded startup for Weaviate versions 1.24.21, 1.25.9, and 1.26.1, both with default and custom ports. Done means all listed versions start successfully, report ready, and close cleanly with custom ports 8089 and 50059.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.