How to debug a worker (Nuxt site) that sometimes just doesn't load on a cold start?

It just never resolves, endless loading. It is connected to a db but it's D1
No description
4 Replies
Titan
TitanOP2w ago
interestingly it loads instantly in incognito browser, but in my main browser even after clearing site data, no loading. Edit nope it's stopped loading in incognito now. Very odd I'm getting random failed query, does that mean it's struggling to connect to d1?
Titan
TitanOP2w ago
if I put the same query into d1 query it loads fine
No description
Titan
TitanOP2w ago
No description
Titan
TitanOP2w ago
Searching on this discord it seems drizzle has a few issues with D1 so I’m going to switch to Postgres

Did you find this page helpful?