Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Hello_milvus doesn't work when TLS mode is enabled. #699

Open
1 task done
nish112022 opened this issue Apr 7, 2024 · 0 comments
Open
1 task done

[Bug]: Hello_milvus doesn't work when TLS mode is enabled. #699

nish112022 opened this issue Apr 7, 2024 · 0 comments

Comments

@nish112022
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I try to use milvus go sdk to connect with tlsmode =1 I get
go run main.go 2024/04/04 03:51:08 ==== start connecting to Milvus ==== 2024/04/04 03:51:30 ==== connected to Milvus ==== 2024/04/04 03:51:52 failed to check collection exists, err: rpc error: code = Unavailable desc = connection error: desc = "error reading server preface: http2: frame too large" exit status 1

or
go run main.go 2024/04/04 07:17:21 ==== start connecting to Milvus ==== 2024/04/04 07:17:43 ==== connected to Milvus ==== 2024/04/04 07:18:05 failed to check collection exists, err: rpc error: code = Unavailable desc = connection closed before server preface received exit status 1

but the same code works with pymilvus sdk.

Opening this based on https://discord.com/channels/1160323594396635310/1225398754140753972/1225398754140753972

Expected Behavior

It should give works properly.
Expected output:
Screenshot 2024-04-07 at 10 59 37 PM

Steps To Reproduce

Built milvus binary using make command
ran docker compose up -d
ran ./milvus run standalone
run go script

Environment

No response

Anything else?

No response

congqixia added a commit to congqixia/milvus-sdk-go that referenced this issue Apr 26, 2024
sre-ci-robot pushed a commit that referenced this issue Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant