You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've deploy a Qdrant service on a GKE and our team use the APISix as a proxy service. Therefore, the Qdrant service I deployed has to access by this url: https://<MY_HOST>/qdrant.
I tried to use the Python client to connect the server but failed after I did make sure I could use the curl to access the RESTful API.
# this not worksclient=QdrantClient(
url="https://<MY_HOST>/qdrant",
)
client.info()
After digging some docs and source, I realized I had to set the port and prefix both for my url.
# this worksclient=QdrantClient(
url="https://<MY_HOST>",
port=443,
prefix="qdrant",
)
client.info()
The proposal are:
reassign the prefix when the url contains a Url.path
reassign the port when Url.schema is https
If this is reasonable, I'm wiling to provide a PR for this feature.
The text was updated successfully, but these errors were encountered:
I've deploy a Qdrant service on a GKE and our team use the APISix as a proxy service. Therefore, the Qdrant service I deployed has to access by this url:
https://<MY_HOST>/qdrant
.I tried to use the Python client to connect the server but failed after I did make sure I could use the
curl
to access the RESTful API.After digging some docs and source, I realized I had to set the
port
andprefix
both for my url.The proposal are:
Url.path
Url.schema
ishttps
If this is reasonable, I'm wiling to provide a PR for this feature.
The text was updated successfully, but these errors were encountered: