Open amirhosein-vedadi opened 2 weeks ago
Hi @amirhosein-vedadi,
This might happen sometimes: would you mind telling me on what OS and with what version of docker and docker-compose are you running the application?
Hi @AstraBert,
Ok thanks!
Docker and docker-compose seem ok, I'll test the application on my Ubuntu to see wether there is any problem and, if so, how we can fix it :)
Thanks for bringing that up!
Hi @amirhosein-vedadi,
I wasn't unfortunately able to reproduce the issue: do you have any particular net restrictions that do not allow or block certain kind of http traffic? Because I had a similar issue (on Windows) with my net in the past days, and when I switched to another one it worked. Could you please try it?
Let me know, Astra :)
Description
I'm experiencing a connection issue between my application container and the Qdrant service container in a Docker Compose setup. The application is unable to connect to the Qdrant service, resulting in a "Name or service not known" error.
Error Msg
Traceback (most recent call last): ... httpcore.ConnectError: [Errno -2] Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last): ... qdrant_client.http.exceptions.ResponseHandlingException: [Errno -2] Name or service not known
Steps to Reproduce
Expected Behavior
The local-search-application should be able to connect to the Qdrant service using the service name as the hostname within the Docker network.
Actual Behavior
The application fails to resolve the hostname "qdrant" and cannot connect to the Qdrant service.