Drizzle studio not connecting to any database string

I'm running drizzle-kit studio from my database package with turborepo in Windows 10, but it just keeps hanging in the Welcome Page showing Connecting to the Drizzle Kit on localhost:4983 , i am using supabase locally but have tried with the remote supabase string, i have tried diferent browsers and i have tried to apply all that is shown in this post https://kinsta.com/blog/err_empty_response/#how-to-fix-the-err_empty_response-error-5-potential-solutions , it was working last week and is currently working in my coworkers computer, the logs in https://local.drizzle.studio/ are as follow, in an infinite repeat: Access to XMLHttpRequest at 'http://localhost:4983/init' from origin 'https://local.drizzle.studio' has been blocked by CORS policy: Permission was denied for this request to access the unknown address space. localhost:4983/init:1 Failed to load resource: net::ERR_FAILEDUnderstand this error localhost:4983/init:1 Failed to load resource: net::ERR_CERT_AUTHORITY_INVALIDUnderstand this error (index):1 Access to XMLHttpRequest at 'http://localhost:4983/' from origin 'https://local.drizzle.studio' has been blocked by CORS policy: Permission was denied for this request to access the unknown address space. localhost:4983/:1 Failed to load resource: net::ERR_FAILEDUnderstand this error localhost:4983/:1 Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID I can connect the both the databases using other admin aplications like pgAdmin and dbeaever Anyone have ideias on how i could fix this, or why is it happening? since it works with the same repo in a diferent pc, it might be a problem with mine, but i am kinda lost.
11 Replies
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
Hey @Tiago o 2º! What browser are you using?
Tiago o 2º
Tiago o 2ºOP3w ago
i have tested with chrome 142.0.7444.60 and zen 1.17.4b, both had the same problem
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
Can you check the permissions here?
No description
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
Do you have mkcert on your computer?
Tiago o 2º
Tiago o 2ºOP3w ago
local network access was disabled, i enabled but still not working i have mkcert installed, i was trying to make it work somehow, unless i missconfigured it did not fix it
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
Can you try mkcert -uninstall and restart drizzle-kit studio?
Tiago o 2º
Tiago o 2ºOP3w ago
ok, i have uninstalled mkcert, deleted the page cache and tried opening in incognito, still nothing, this is my versions "drizzle-orm": "0.44.7", and "drizzle-kit": "^0.31.6", i will keep trying other things later
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
Can you also try to completely remove mkcert?
Tiago o 2º
Tiago o 2ºOP3w ago
this worked
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
I'll make some changes to drizzle-kit.

Did you find this page helpful?