Skip to content

Help setting up DB backend using PlanetScale #1

@mostafa-abdelbrr

Description

@mostafa-abdelbrr

I apologise if this is irrelevant/out of your scope, but you mentioned you used PlanetScale as DB backend, after creating an account there and trying to deploy this Dockerfile, I get this error with the failed deploys:

[2022-08-28 18:12:01.526][vaultwarden::util][WARN] Can't connect to database, retrying: DieselCon.
Aug 28 08:12:01 PM  [CAUSE] BadConnection(
Aug 28 08:12:01 PM      "unknown error: Code: UNAVAILABLE\nserver does not allow insecure connections, client must use SSL/TLS\n",
Aug 28 08:12:01 PM  )

I used the details provided from PlanetScale for Symfony connection since it provides a DB URL as my DATABASE_URL environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions