Skip to content

Flaky/sporradic PrismaClientInitializationError failures when connecting to PlanetScale #556

Answered by orware
EvHaus asked this question in Bug Reports
Discussion options

You must be logged in to vote

Hello @EvHaus,

Based on the hostname shown in your error message, ojj81b9i387e.us-west-2.psdb.cloud, your database and the associated credentials are likely over a year old and this means your connections are currently arriving directly onto our older edge routing infrastructure, rather than our current one.

Please generate a new set of credentials within the PlanetScale UI at your earliest convenience, which should present you with credentials that use the aws.connect.psdb.cloud hostname, which has improved reliability amongst other improvements.

Additionally, the following tip that suggests adding the use of the connect_timeout argument to your Prisma connection should also prove to be …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EvHaus
Comment options

Answer selected by EvHaus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants