drizzle-team / drizzle-team/drizzle-orm

[BUG]: `drizzle-kit push` timeouts all the time

Open
#4,123 10 comments 5 reactions 0 assignees View on GitHub
bug bug/cant-reproduce db/postgres drizzle/kit priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

0.39.3

### What version of `drizzle-kit` are you using?

0.30.4

### Other packages

drizzle-seed@0.3.1

### Describe the Bug

I tried out Drizzle yesterday for the first time and instantly love it. I was doing some code-first local dev and `push` + `pull` to/from the Docker's Postgres server worked perfectly.

That said, `drizzle-kit push` to the remote DB never works for me because it constantly timeouts (also see the attached image & Drizzle configs).

Here're what I have gathered so far for better context:
- It doesn't work with the connection string of Neon.tech, Supabase, Prisma psql, although it works fine with the local psql server
- I don't have Firewall, Private Relay or any antivirus software on my Mac
- I'm able to connect to said DBs using the connection string, via both TablePlus and Dataflare
- Those DBs mentioned are freshly created and contain no table
- I have tried to use both the `url` and `{ host: string, port: number, user: string, ...` options

Drizzle config:
```ts
import { defineConfig } from "drizzle-kit";

export default defineConfig({
dialect: "postgresql",
schema: "./src/db/schemas",
dbCredentials: {
url: "postgresql://postgres:@db..supabase.co:5432/postgres",
},
strict: true,
verbose: true,
});
```

Screenshot:

![Image](https://github.com/user-attachments/assets/fbdcfe53-2fef-4a2a-8552-43b1e22edc24)

I feel like I'm missing something although going back & forth with the docs and Github issues doesn't seem to help :/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.