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

Failed to connect to Qdrant: [WinError 10061] #4

Open
JohnMommers opened this issue Oct 5, 2024 · 2 comments
Open

Failed to connect to Qdrant: [WinError 10061] #4

JohnMommers opened this issue Oct 5, 2024 · 2 comments

Comments

@JohnMommers
Copy link

I get the following error when creating the embeddings:
Failed to connect to Qdrant: [WinError 10061] Cannot connect because the target computer actively refused the connection.

I added a row to my AVG firewall to allow Qdrant port 6333, however I still get this error.
How to solve this?
Thanks.

@phoenixml
Copy link

phoenixml commented Oct 12, 2024

Deploy docker and docker compose on your machine local.
Then create compose-file.yaml (ref: https://qdrant.tech/documentation/guides/installation/)

services:
qdrant:
image: qdrant/qdrant:latest
restart: always
container_name: qdrant
ports:
- 6333:6333
- 6334:6334
expose:
- 6333
- 6334
- 6335
configs:
- source: qdrant_config
target: /qdrant/config/production.yaml
volumes:
- ./qdrant_data:/qdrant/storage

configs:
qdrant_config:
content: |
log_level: INFO

Then run : docker-compose up (ensure your file is in the same dir where you executed the command)

This will run qadrant and you can access it from the browser http://localhost:6333/dashboard
Then once you select embedding create from the app this will work fine. @JohnMommers hopefully this will fix the issue you have.

@svcvit
Copy link

svcvit commented Oct 23, 2024

Or directly start a container like this

docker run -p 6333:6333 -p 6334:6334 \
    -v $(pwd)/qdrant_storage:/qdrant/storage:z \
    qdrant/qdrant

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

3 participants