tilla
Node MongoDB Driver on Deno dropping connection and crashing process
Heya folks. I am encountering the most recent error described in this thread https://github.com/denoland/deno/issues/16633
According to https://github.com/denoland/deno/issues/19078#issuecomment-1542955089 , I might be encountering the same problem as https://github.com/denoland/rusty_v8/issues/1226 (though I don't anything confirming that, just going off the comment)
I created a minimal reproduction repo here: https://github.com/TillaTheHun0/deno-mongo-atlas-repro
TL;DR: consuming a MongoDB Atlas Cluster, via the node driver and Deno's npm compat, seems to work fine at first, but after a while a TCP connection to Mongo is closed unexpectedly, causing the entire Deno process to crash.
2 replies