Skip to content

Missing WEAVIATE_GRPC_ENDPOINT implementation in Dify 1.9.2 #27847

Closed

Description

@BorisPolonsky

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

For users who deploy with weaviate-helm, the domain for grpc service and http service are not the same. Hence it's not applicable to infer the grpc endpoint by striping the http:// from WEAVIATE_ENDPOINT plus changing the port. The Dify document proposes WEAVIATE_GRPC_ENDPOINT that suits such cases, yet this option is nowhere to be found in the codebase. Hence gRPC connection fail won't work in these cases.

Image

✔️ Expected Behavior

WEAVIATE_GRPC_ENDPOINT should take effect as proposed in the document

❌ Actual Behavior

WEAVIATE_GRPC_ENDPOINT isn't implemented in the current version of codebase. Users of weaviate-helm must proceed with grpcService.enabled=false

Activity

  1. changed the title [-]WEAVIATE_GRPC_ENDPOINT not taking effect[/-] [+]WEAVIATE_GRPC_ENDPOINT takes NO effect[/+] on Nov 5, 2025
  2. added
    👻 feat:rag
    on Nov 5, 2025
  3. dosubot commented on Nov 5, 2025

    @dosubot

    The WEAVIATE_GRPC_ENDPOINT environment variable is not implemented in Dify v1.9.2, so it has no effect on gRPC connections. Dify currently constructs the gRPC endpoint by modifying the HTTP endpoint from WEAVIATE_ENDPOINT, which fails when the HTTP and gRPC domains differ (as with weaviate-helm deployments). This is a known documentation/code mismatch—documentation suggests using WEAVIATE_GRPC_ENDPOINT, but the code does not support it, leading to connection failures in these scenarios (source).

    There is an open proposal to add separate environment variables (WEAVIATE_GRPC_HOST and WEAVIATE_GRPC_PORT) for gRPC configuration, but this is not yet available in the current release (source). For now, there is no official workaround to specify a separate gRPC endpoint. If you control your deployment, you could patch the code to read custom environment variables for gRPC host/port, or set up a network proxy so the HTTP and gRPC endpoints resolve to the same host.

    If you have a small dataset, some users have worked around migration issues by changing the embedding model in the Knowledge Base settings to trigger re-indexing, but this does not solve the endpoint configuration problem (source). For larger deployments, you may need to wait for an official fix or contribute to the open feature request.

    To reply, just mention @dosu.


    How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

  4. changed the title [-]WEAVIATE_GRPC_ENDPOINT takes NO effect[/-] [+]Missing WEAVIATE_GRPC_ENDPOINT implementation[/+] on Nov 5, 2025
  5. BorisPolonsky commented on Nov 5, 2025

    @BorisPolonsky
    ContributorAuthor

    The WEAVIATE_GRPC_ENDPOINT environment variable is not implemented in Dify v1.9.2, so it has no effect on gRPC connections. Dify currently constructs the gRPC endpoint by modifying the HTTP endpoint from WEAVIATE_ENDPOINT, which fails when the HTTP and gRPC domains differ (as with weaviate-helm deployments). This is a known documentation/code mismatch—documentation suggests using WEAVIATE_GRPC_ENDPOINT, but the code does not support it, leading to connection failures in these scenarios (source).

    There is an open proposal to add separate environment variables (WEAVIATE_GRPC_HOST and WEAVIATE_GRPC_PORT) for gRPC configuration, but this is not yet available in the current release (source). For now, there is no official workaround to specify a separate gRPC endpoint. If you control your deployment, you could patch the code to read custom environment variables for gRPC host/port, or set up a network proxy so the HTTP and gRPC endpoints resolve to the same host.

    If you have a small dataset, some users have worked around migration issues by changing the embedding model in the Knowledge Base settings to trigger re-indexing, but this does not solve the endpoint configuration problem (source). For larger deployments, you may need to wait for an official fix or contribute to the open feature request.

    To reply, just mention @dosu.

    How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

    It's not implemented yet documented as WEAVIATE_GRPC_ENDPOINT in the official document, so it should be considered as a bug.

  6. changed the title [-]Missing WEAVIATE_GRPC_ENDPOINT implementation[/-] [+]Missing WEAVIATE_GRPC_ENDPOINT implementation in Dify 1.9.2[/+] on Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    👻 feat:rag

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions