작성
·
183
0
로그인, 회원가입 등 화면은 잘 뜨는데 회원가입이 안됩니다ㅠㅠ 회원가입 칸을 채우고 submit을 누르면
[1] [HPM] Error occurred while trying to proxy request /api/users/auth from localhost:3000 to http://localhost:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
와 같은 에러가 뜨는데 어떻게 해결할 수 있을까요?
답변 2
0
0
MongooseError: Operation `users.findOne()` buffering timed out after 10000ms
[0] at Timeout.setTimeout (/home/lhg78910/shoppingmall/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)
[0] at ontimeout (timers.js:436:11)
[0] at tryOnTimeout (timers.js:300:5)
[0] at listOnTimeout (timers.js:263:5)
[0] at Timer.processTimers (timers.js:223:10)
[0] Emitted 'error' event at:
[0] at immediate (/home/lhg78910/shoppingmall/node_modules/mongoose/lib/model.js:5067:15)
[0] at process._tickCallback (internal/process/next_tick.js:61:11)
이러한 에러도 있습니다...