mongodb #2721
Replies: 5 comments
-
@xofyarg reported an issue on the unenv repo which @pi0 fixed. It should be integrated in unenv with cloudflare/workers-sdk#6920 |
Beta Was this translation helpful? Give feedback.
-
it's been forever now... I can't remember when I encountered this the first time but it must be at least 2 years ago. thanks! |
Beta Was this translation helpful? Give feedback.
-
I saw the thread on the forum which says that the only problem is that workers don't support TLS |
Beta Was this translation helpful? Give feedback.
-
I've started a new Mongodb instance, and I can't use it with my Cloudflare workers; I want to use a Cloudflare environment with queues, kv, etc., but I can't use it if workers don't actually work... |
Beta Was this translation helpful? Give feedback.
-
The
mongodb
does not work even withnode_compat_v2
on.It can be imported, but it does not properly connect to a DB. The package relies on
net.Socket
andtls.TLSSocket
.See Issue for more context: cloudflare/workers-sdk#6684
See Blog for more context: https://alexbevi.com/blog/2024/09/11/why-cloudflare-workers-dont-work-with-mongodb/
Beta Was this translation helpful? Give feedback.
All reactions