mongoose: Mongoose Error Buffering Out After 10000 ms

Hello! A month or so ago, I had just gotten my very own Linux server and I was all ready to transfer all the files into the Linux server using an application called FileZilla. I then installed all the necessary things like pm2 and all my dependencies. I wanted to do a test run so i ran node like so: node index.js and it loaded everything in the console. 10 seconds later, this error pops up in the console: mongoose being mongoose. I was all confused so I messaged some of my friends and they said that the error would go away with time and it just fixes itself. So, I left it at that, I came back a month later trying to work this thing again and look, the same error pops up. I did everything, transfered my code to a new project, I rewrote it all, I googled trying to find the solution for hours and hours and I even deleted my mongo cluster, my project, created a new project and cluster, got the link, put it in and… Same error. None of the solutions on google solved my predicament. This error seems to be coming from the fact that its buffering out while trying to find a schema that I created called reaction-roles. This is for a discord bot using discordjs and mongoose. I have no idea how to fix this, (please note, I am not the greatest at coding and am teaching myself still, if this is some easy issue to fix, please bear with me.)

Please help! One more thing to note, this error only comes up in the linux server, not in my visual studio code terminal or any other IDE. If you need my schema code Respond saying that and I will send it

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26

Most upvoted comments

ACTUAL LEGEND