Skip to content

Cannot connect to Mongo Atlas #1106

@larhou

Description

@larhou

Describe the bug

Seems like Stackblitz do not support Mongo Atlas?

I get this error:

Operation books.countDocuments() buffering timed out after 10000ms
MongooseError: Operation books.countDocuments() buffering timed out after 10000ms
at Timeout.eval (file:///home/projects/stackblitz-starters-mmvnoi/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:185:23)

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-mmvnoi?file=package.json,app.js

Steps to reproduce

Just let the application start up using : npm run devstart

The error shows in the browser window.

Expected behavior

Screenshot 2023-06-21 at 14 46 42

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 114.0.0.0
Major version = 114
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 67303865,
  "usedJSHeapSize": 64988405,
  "jsHeapSizeLimit": 2172649472
}
Hash = 9ff9f275

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions