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

[BUG] Vector search on Postgres does not work with ssl #3503

Open
jomach opened this issue Nov 11, 2024 · 3 comments
Open

[BUG] Vector search on Postgres does not work with ssl #3503

jomach opened this issue Nov 11, 2024 · 3 comments
Labels
setup Setup related issues

Comments

@jomach
Copy link

jomach commented Nov 11, 2024

Describe the bug
When I try to connect to postgres on Azure (Cosmos) I get:

Error: vectorsService.upsertVector - Error: error: no pg_hba.conf entry for host "37.4.231.19", user "citus", database "citus", no encryption

To Reproduce

  1. Create a new database on azure cosmos and select postgres api
  2. Add on flowise the VectorStore Postgres
  3. add sslmode=require

Expected behavior
Press the green button upsert vector database should work

Screenshots
image

Logs
2024-11-11 12:44:31 [ERROR]: [server]: Error: Error: error: no pg_hba.conf entry for host "37.4.231.19", user "citus", database "citus", no encryption
Error: Error: error: no pg_hba.conf entry for host "37.4.231.19", user "citus", database "citus", no encryption
at buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:494:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async upsertVector (/usr/local/lib/node_modules/flowise/dist/utils/upsertVector.js:151:32)
at async Object.upsertVectorMiddleware (/usr/local/lib/node_modules/flowise/dist/services/vectors/index.js:9:16)
at async createInternalUpsert (/usr/local/lib/node_modules/flowise/dist/controllers/vectors/index.js:28:29)

Seems not to work

@HenryHengZJ HenryHengZJ added the setup Setup related issues label Nov 15, 2024
@sirsimonson
Copy link
Contributor

sirsimonson commented Nov 19, 2024

Have you tried setting additional Configuration on the Postgres Node as such? @jomach
image

@jomach
Copy link
Author

jomach commented Nov 19, 2024

@sirsimonson no to be honest

@sirsimonson
Copy link
Contributor

Worked for my SSL configured postgres flexible SQL server instance so I suggest you give it a try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup Setup related issues
Projects
None yet
Development

No branches or pull requests

3 participants