Operation timed out
lordB8r opened this issue · comments
JP Bader commented
Followed instructions on readme.md
, started server.
Page loads
Entered username and typed message. Clicked send.
Server crashed with following detail:
➜ gpt-pilot-chat-app-demo git:(main) ✗ node server.js
listening on *:3000
MongooseError: Operation `messages.find()` buffering timed out after 10000ms
at Timeout.<anonymous> (/Users/jp/Documents/project_gpt_pilot/gpt-pilot-chat-app-demo/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:185:23)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
/Users/jp/Documents/project_gpt_pilot/gpt-pilot-chat-app-demo/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:185
const err = new MongooseError(message);
^
MongooseError: Operation `messages.insertOne()` buffering timed out after 10000ms
at Timeout.<anonymous> (/Users/jp/Documents/project_gpt_pilot/gpt-pilot-chat-app-demo/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:185:23)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)