qdrant / qdrant/qdrant-dotnet

dotnet core8.0 QdrantClient1.15.1 docker in server 1.16 throw exception http/2

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
229
Forks
21
Avg merge
55m
Merged PRs (30d)
1

Description

this is a code :
Image
this is winformapp .dotnet8
Image
this is server docker ,ubuntu24
Image

Grpc.Core.RpcException
HResult=0x80131500
Message=Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionExact while unable to establish HTTP/2 connection.", DebugException="System.Net.Http.HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionExact while unable to establish HTTP/2 connection.")
Source=Grpc.Net.Client
StackTrace:
在 Grpc.Net.Client.Internal.GrpcCall`2.d__72.MoveNext()
在 Qdrant.Client.QdrantClient.d__19.MoveNext()
在 WinFormsApp1.Form1.CreateClientWithRetry(String host) 在 C:\Users\admin\source\repos\WinFormsApp1\Form1.cs 中: 第 85 行

此异常最初是在此调用堆栈中引发的:
System.Net.Http.HttpConnectionPool.ThrowGetVersionException(System.Net.Http.HttpRequestMessage, int, System.Exception)
System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(System.Net.Http.HttpRequestMessage, bool, bool, System.Threading.CancellationToken)
System.Net.Http.DiagnosticsHandler.SendAsyncCore(System.Net.Http.HttpRequestMessage, bool, System.Threading.CancellationToken)
System.Threading.Tasks.ValueTask.Result.get()
System.Net.Http.RedirectHandler.SendAsync(System.Net.Http.HttpRequestMessage, bool, System.Threading.CancellationToken)
Grpc.Net.Client.Balancer.Internal.BalancerHttpHandler.SendAsync(System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)
System.Net.Http.HttpMessageInvoker.SendAsync.__SendAsyncWithTelemetry|6_0(System.Net.Http.HttpMessageHandler, System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)
Grpc.Net.Client.Internal.GrpcCall<TRequest, TResponse>.RunCall(System.Net.Http.HttpRequestMessage, System.TimeSpan?)

内部异常 1:
HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionExact while unable to establish HTTP/2 connection.

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

The failure occurs in Qdrant.Client.QdrantClient.ListCollectionsAsync, called from the user's Form1.CreateClientWithRetry at line 85; start by reproducing that call. Review the SDK's gRPC connection path alongside the Docker and Ubuntu server setup for the reported HTTP/2 exception. Done means identifying a reproducible compatibility or configuration cause and verifying that ListCollectionsAsync succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker, grpc, ubuntu
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.