Skip to content

Cannot connect to Mongo Atlas #1106

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

Closed
1 task done
larhou opened this issue Jun 21, 2023 · 3 comments
Closed
1 task done

Cannot connect to Mongo Atlas #1106

larhou opened this issue Jun 21, 2023 · 3 comments
Labels

Comments

@larhou
Copy link

larhou commented Jun 21, 2023

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

@jrvidal
Copy link
Contributor

jrvidal commented Jun 22, 2023

@larhou Thanks for the report. Unfortunately, we don't support databases like Mongo out of the box, b/c that would require something akin to low-level networking in the browser (e.g. TCP/UDP sockets, DNS, etc.), which don't currently exist.

We are thinking about ways around this, but we don't have any concrete roadmap about it. If you're interested, we can leave this open as a venue for updates in case anything changes.

@larhou
Copy link
Author

larhou commented Jun 22, 2023 via email

@kc0tlh
Copy link
Collaborator

kc0tlh commented Aug 18, 2023

I'm consolidating all of the database feature support requests into issue #749 for ease of tracking and due to @d3lm's excellent explanation of the current state.

@kc0tlh kc0tlh closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants