drizzle studio initial load works, then everything after fails
when I start drizzle studio, then the initial load works, but if I click on a table, then it freezes and eventually gives the error
if I stop drizzle studio, start it again, then refresh the page, it will load the table I selected before, but then any action after that fails again. don't see any errors in my terminal and in the console I see these, but not sure they are even relevant

16 Replies
@Amos Are you using Supabase?
no, and this is locally
using postgres.app, not sure why it's happening but it's specific to this project, since other projects I have work fine
Maybe you could provide a short video?
@⚡Z.E.U.S⚡ ok something weird happened. I waited a long time again and instead of the error it eventually started working, but then when I stopped drizzle studio and restarted it the same thing happened again
I will record a video
it's still processing but here is the video https://streamable.com/80t9oa
Can you check the permissions for Arc?
https://postgresapp.com/documentation/app-permissions.html
Postgres.app
Client App Permissions
Postgres.app is a full featured PostgreSQL installation packaged as a standard Mac app.
Arc is not in that list, but like I said, drizzle studio works fine for other projects so not sure if that would be it
Oh, sorry - I meant the terminal where you run
drizzle-kit studio.
I downloaded Postgres.app, and after running drizzle-kit studio and opening the studio, Postgres.app asks for permission for my terminal/IDE.
I encountered the same issue before allowing the permission.yeah it's all set fine
another weird behaviour: if I stop and start the database while drizzle studio is running, then it works fine afterwards 😕
let me show you what I mean
Maybe try disabling the permission dialog?

tried that, but doesn't work unfortunately 😭
o wait
nope
in pg_hba.conf everything is also set to "trust"
Is this your URL structure?
postgres://localhost/{db_name}Maybe it’s related to the reindexing warning?

yay that fixed it
I tried it before and it was hanging
found out one of my tables (
mastra_traces) was 64 GB 💀 because I've been trying https://mastra.ai/, truncated it and reindexed instantly
thanks for the help 🫶