Git Product home page Git Product logo

Comments (3)

timvisee avatar timvisee commented on September 26, 2024

Your first error shows an HTTP(S) error. Does adding https:// in front of the url/host resolve the problem?

from qdrant-client.

vemonet avatar vemonet commented on September 26, 2024

I am also getting the same error when using url=https:// instead of host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/vemonet/dev/llm/concept-resolver/src/babel_load.py", line 39, in <module>
    vectordb.recreate_collection(
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/qdrant_client.py", line 1751, in recreate_collection
    return self._client.recreate_collection(
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/qdrant_remote.py", line 2181, in recreate_collection
    self.delete_collection(collection_name, timeout=timeout)
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/qdrant_remote.py", line 2049, in delete_collection
    result: Optional[bool] = self.http.collections_api.delete_collection(
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/http/api/collections_api.py", line 1189, in delete_collection
    return self._build_for_delete_collection(
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/http/api/collections_api.py", line 239, in _build_for_delete_collection
    return self.api_client.request(
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 74, in request
    return self.send(request, type_)
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 91, in send
    response = self.middleware(request, self.send_inner)
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 200, in __call__
    return call_next(request)
  File "/home/vemonet/dev/llm/concept-resolver/.venv/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 103, in send_inner
    raise ResponseHandlingException(e)
qdrant_client.http.exceptions.ResponseHandlingException: timed out

I think the issue is coming from the proxy of the server where we have deployed the service

But finally for this specific project we moved to pgvector since there is already a postgres in the stack

Thanks!

from qdrant-client.

timvisee avatar timvisee commented on September 26, 2024

I think the issue is coming from the proxy of the server where we have deployed the service

If your proxy is not transparent, then that's definitely what might have been going on.

b'<html>\r\n<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n<center>The plain HTTP request was sent to HTTPS port</cent ...'

This shows a HTTP/HTTPS mix-up.

Depending on how you set up your client, you must be able to talk HTTP(S) and/or gRPC through your proxy.

Let us know if we can be of any further help. 😄

from qdrant-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.