skip to Main Content

Hello, i am trying to complete user registration form that uses (HTML,CSS,JS,NODE.JS,PASSPORT.JS

I am trying to make my registration page work. When I type a username and password, I just get {"message":"Registration failed"}. I'm getting the following error: MongooseError: Operation `users.findOne()` buffering timed out after 10000ms at Timeout.<anonymous> (C:pathtoyourfilenode_modulesmongooselibdriversnode-mongodb-nativecollection.js:186:23) at listOnTimeout (node:internal/timers:569:17)…

VIEW QUESTION

Node.js in Docker ECONNREFUSED

I'm trying to implement Oauth2 authentication (passport-oauth2) with Dex to my Node.js. If I'm running my API inside a docker container, I'm getting: Error: connect ECONNREFUSED 127.0.0.1:80. Outside a docker it works just fine! My API runs on port 3000…

VIEW QUESTION
Back To Top
Search