-
-
Notifications
You must be signed in to change notification settings - Fork 879
Description
Provide environment information
System:
OS: macOS 26.0.1
CPU: (10) arm64 Apple M4
Memory: 2.95 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - /Users/username/.nvm/versions/node/v22.14.0/bin/node
npm: 10.9.2 - /Users/username/.nvm/versions/node/v22.14.0/bin/npm
Describe the bug
I was encountering a random error when my Trigger.dev workflow tried to connect to my Neon database:
Error connecting to database: fetch failedThe issue happened intermittently, sometimes the connection succeeded, sometimes it failed.
I encountered the same issue on my home router, but when I used Cloudflare DNS configuration, the issue was resolved.
Reproduction repo
N/A
To reproduce
Use the NeonDB database URL and perform any database action. It might not show the issue the first time, but after trying a few times, it displays the following error message:
“Error connecting to database: fetch failed.”
Additional information
No response