Visitar URL original
Pt. 14 - MongoDB Error - {"message":"Operation `users.insertOne()` buffering timed out after 10000ms"} · Issue #139 · basir/node-react-ecommerce · GitHub
Skip to content

Pt. 14 - MongoDB Error - {"message":"Operation users.insertOne() buffering timed out after 10000ms"} #139

Open

Description

@christianzoll

At 3:21:23 when I type localhost:5000/api/users/createadmin in my browser this message is returned.

Screen Shot 2021-03-10 at 8 49 18 PM

Activity

  1. christianzoll commented on Mar 11, 2021

    @christianzoll
    Author

    I've replayed the section multiple times to check for typing errors but that hasn't fixed the problem.

  2. larrycoons commented on Apr 27, 2021

    @larrycoons

    This same issue came up with me. Have you found a resolution?

  3. larrycoons commented on Apr 27, 2021

    @larrycoons

    So, after downloading from the website, a little research and finding not much info, I decided to open

    $ [filepath]/downloads/mongodb-macos-x86_64-4.4.5/bin directory then opened > install_compass > navigate to the $ [filepath/applications directory and open "MongoDB Compass" app [note: file extension .app] > opened that app and answered all the questions up to where I got to the "New Connection" page > selected "fill in fields manually" > selected the "connect" button

    that made an error "connection to 52.24.221.173:27017 closed" so I had to play around with it a little bit to figure out I needt to do these things:

    I then went and clicked on "create free cluster" (I think I answered some questions, maybe not) > navigate to setup "Database Access" (remember your username and password for later) > navigate to setup "Network Access" (using current IP address) > back to "Clusters" page > "connect" button > "Connect using mongoDB compass" option > "I have mongoDB Compass" option > copy/pasted connection string (but I updated the username and password in the string to match the Database User > click connect

    That took me to a different screen in mongoDB compass but I am not clear what to do next so I am still looking into it. Attached is the screen I made it to:

    Screen Shot 2021-04-27 at 10 29 24 AM

  4. larrycoons commented on May 4, 2021

    @larrycoons

    So I am back at it again. I double-checked that all three of these were okay:

    1. Connect to your cluster

    2. MongoDB node driver

    3. Quick start Node.js

    That's what I am working on right now at least. After that I am going to look over the code that was created in Pt. 14 and see if it matches what is suggested, if anything, in mongoose literature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions