Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation timed out #1

Open
lordB8r opened this issue Aug 25, 2023 · 0 comments
Open

Operation timed out #1

lordB8r opened this issue Aug 25, 2023 · 0 comments

Comments

@lordB8r
Copy link

lordB8r commented Aug 25, 2023

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant