N
Neon2y ago
foreign-sapphire

neon serverless with polyscale

I followed the neon integration steps with polyscale and updated the db connection string in my nextjs app – but now I'm just seeing connection errors – NeonDbError: Error connecting to database: fetch failed. Am I missing something?
4 Replies
wise-white
wise-white2y ago
Are you using the serverless driver? Can you try using node-postgres instead? I will need to confirm if the serverless driver is compatible with PolyScale
foreign-sapphire
foreign-sapphireOP2y ago
Yes I am. Can confirm it works as expected using node pg, just can't run on edge which is why I was using the serverless driver
harsh-harlequin
harsh-harlequin2y ago
Polyscale is not compatible. Only connecting directly to neon is compatible with the serverless driver
foreign-sapphire
foreign-sapphireOP2y ago
Okay, thank you

Did you find this page helpful?