Skip to content

kyoo_api does not support sslmode = prefer #1154

@acelinkio

Description

@acelinkio

Kyoo's version

v5

What happened?

When PGSSLMODE env variable was set to prefer, kyoo_apicould not connect to the database. Logs showed the following:

error: The server does not support SSL connections
      at <anonymous> (/$bunfs/root/server:8:16058)

Looking through the code, I see there's a comment about an upstream bug.
https://github.com/zoriya/Kyoo/blob/master/api/src/db/index.ts#L22-L24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions