Skip to content

vector store configuration error #3417

@SmallGaoX

Description

@SmallGaoX

🐛 Describe the bug

Image

After the "sslmode": "disable" configuration is added, an error will be reported, and no error will be reported if it is not added (although it is the same by default), dbname and sslmode will be passed to psycopg2.connect as parameters, resulting in an error, and no error will be reported if it is not added.

error connecting in 'pool-1': connection failed: connection to server at "127.0.0.1", port 5432 failed: FATAL:  database "storyforge_db sslmode=disable" does not exist
Multiple connection attempts failed. All failures were:
- host: 'localhost', port: '5432', hostaddr: '::1': connection failed: connection to server at "::1", port 5432 failed: FATAL:  database "storyforge_db sslmode=disable" does not exist
- host: 'localhost', port: '5432', hostaddr: '127.0.0.1': connection failed: connection to server at "127.0.0.1", port 5432 failed: FATAL:  database "storyforge_db sslmode=disable" does not exist
error connecting in 'pool-1': connection failed: connection to server at "127.0.0.1", port 5432 failed: FATAL:  database "storyforge_db sslmode=disable" does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions