-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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]: Client sent an HTTP request to an HTTPS server. #28032
Comments
looks like the config yaml is not parsed correctly. @haorenfsa could you please take a look? |
@haorenfsa @yanliang567 bro, is anyone looking at this issue? |
@gaoyuan5251 Sry for the delay, cloud you provide the output of |
@haorenfsa cc, kubectl describe milvus hll-release > status.txt Is this because the test machine is out of memory? |
looks no.
@yanliang567 looks the configmap is rendered correctly. @zhagnlu have you met this error before? |
... |
#27853 same error. check deploy and config params about k8s |
/assign @zhagnlu |
|
kubectl logs hll-release-milvus-standalone-6c747c8948-kqdjl > logs.txt [2023/11/07 06:33:46.053 +00:00] [ERROR] [querynode/service.go:129] ["QueryNode init error: "] [error="Endpoint url cannot have fully qualified paths."] [stack="github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).init\n\t/go/src/github.com/milvus-io/milvus/internal/distributed/querynode/service.go:129\ngithub.com/milvus-io/milvus/internal/distributed/querynode.(*Server).Run\n\t/go/src/github.com/milvus-io/milvus/internal/distributed/querynode/service.go:223\ngithub.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n\t/go/src/github.com/milvus-io/milvus/cmd/components/query_node.go:53\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/go/src/github.com/milvus-io/milvus/cmd/roles/roles.go:113"] @zhagnlu idk why this error is reported |
@gaoyuan5251 |
Nope @xiaofan-luan |
![]() |
https://github.com/zhagnlu/milvus-store-tool this tool could help you to verify your S3 connectivity |
@xiaofan-luan I uploaded my yaml file at the top so you can take a look |
|
@gaoyuan5251 Cloud you use the minio client command mc to check the if the minio server address |
mc tree hllminio |
我重新部署了minio集群,cluster-ip变更了。但是可以看到 minio 服务使用上是没问题的。 mc config host list hllminio |
@gaoyuan5251 cloud you also get the output of |
@haorenfsa |
you can first delete the old pod
|
@haorenfsa done |
keep trying, until you got a yaml output ... |
@haorenfsa Isn't the reason obvious? etcd and minio, which build their own clusters, seem to have no problem |
very strange, I run the same code with your uploaded configuration, and no error occurs |
@gaoyuan5251 looks like the k8s ref: |
Or you can just delete the k8s |
Sry for the delay, thank u @haorenfsa |
@gaoyuan5251 it's an issue of the minio SDK used by milvus. The SDK uses the env var So long store short, don't name your MinIO service as |
ok, i get it, thank u so much ~ @haorenfsa |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
我用这个解决了问题 |
Request to openThis problem is not a problem with minio sdk. minio sdk does not get MINIO_PORT from the environment variable. It is that envsoure is configured to read the environment variable when Milvus is started. However, the KeyFormatter logic that matches the MILVUS environment variable seems to lack a consideration that the environment variable that does not start with MILVUS_ can also be hit. pkg/util/paramtable/base_table.go
I think it is correct to filter out the environment variables of milvus when setting the environment variables. After I added the following code, my milvus started normally. pkg/config/env_source.go
|
What is your env looks like? I believe you need to set minio.address and minio.port |
@xiaofan-luan At first, I set the externalS3 address through --set, as shown in the figure, but it failed to start, as shown in the title of this issue. Then I found that the problem was that the port was concatenated in the minio configuration initialization address, resulting in an illegal format. In fact, the mino.port here uses the value in the environment variable (tcp://10.192.122.189:9000) |
@xiaofan-luan This is minio-operator code: |
Is there an existing issue for this?
Environment
Current Behavior
With Milvus-operator, deploy milvus single-node mode, but rely on Etcd and minio external clusters.
Expected Behavior
milvus standalone should be running.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: