• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 Node.js, Express 게시판 몽고디비 갑자기 에러 뜨면서 연결 안됨

몽고디비 갑자기 에러 뜨면서 연결 안됨

  • 이 주제에는 4개 답변, 3명 참여가 있으며 seoha1 년, 1 월 전에 전에 마지막으로 업데이트했습니다.
5 글 보임 - 1 에서 5 까지 (총 5 중에서)
  • 글쓴이
  • #97502

    구빛나
    참가자
    오랜만에 들어왔는데 갑자기 mongo db 에러가 뜹니다.
    
    
    bitnagu@Bitnaui-MacBookAir todoapp % nodemon server.js
    [nodemon] 3.0.1
    [nodemon] to restart at any time, enter `rs`
    [nodemon] watching path(s): *.*
    [nodemon] watching extensions: js,mjs,cjs,json
    [nodemon] starting `node server.js`
    (node:12442) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
    (Use `node --trace-warnings ...` to show where the warning was created)
    node --trace-warnings
    ^C%                                                                                                bitnagu@Bitnaui-MacBookAir todoapp % node --trace-warnings
    Welcome to Node.js v18.17.1.
    Type ".help" for more information.
    > .help
    .break    Sometimes you get stuck, this gets you out
    .clear    Alias for .break
    .editor   Enter editor mode
    .exit     Exit the REPL
    .help     Print this help message
    .load     Load JS from a file into the REPL session
    .save     Save all evaluated commands in this REPL session to a file
    Press Ctrl+C to abort current expression, Ctrl+D to exit the REPL
    > 
    (To exit, press Ctrl+C again or Ctrl+D or type .exit)
    > 
    bitnagu@Bitnaui-MacBookAir todoapp % nodemon server.js
    [nodemon] 3.0.1
    [nodemon] to restart at any time, enter `rs`
    [nodemon] watching path(s): *.*
    [nodemon] watching extensions: js,mjs,cjs,json
    [nodemon] starting `node server.js`
    (node:12496) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
    (Use `node --trace-warnings ...` to show where the warning was created)
    MongoServerSelectionError: 8020A7ED01000000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 80
        at Timeout._onTimeout (/Users/bitnagu/Desktop/todoapp/node_modules/mongodb/lib/core/sdam/topology.js:438:30)
        at listOnTimeout (node:internal/timers:569:17)
        at process.processTimers (node:internal/timers:512:7) {
      reason: TopologyDescription {
        type: 'ReplicaSetNoPrimary',
        setName: null,
        maxSetVersion: null,
        maxElectionId: null,
        servers: Map(3) {
          'ac-ddgpxxt-shard-00-00.cexbyak.mongodb.net:27017' => [ServerDescription],
          'ac-ddgpxxt-shard-00-01.cexbyak.mongodb.net:27017' => [ServerDescription],
          'ac-ddgpxxt-shard-00-02.cexbyak.mongodb.net:27017' => [ServerDescription]
        },
        stale: false,
        compatible: true,
        compatibilityError: null,
        logicalSessionTimeoutMinutes: null,
        heartbeatFrequencyMS: 10000,
        localThresholdMS: 15,
        commonWireVersion: null
      }
    }
    [nodemon] clean exit - waiting for changes before restart 이며 이전에 몽고디비와 연결 잘되었고 파트 2의 마지막 강의까지 무리없이 수강했었습니다. 
    도움 감사합니다~!
    
    
    
    
    
    #97524

    codingapple
    키 마스터
    mongodb들어가서 현재 ip 주소 등록되어있나 확인합시다
    #97650

    구빛나
    참가자
    감사합니다! 확인하니 잘 작동합니다. 혹시 에러를 읽으실때 전체적으로 읽으시는지 경험에서 나오시는건지 핵심 어디를 읽으신건지 여쭈어봐도 될까요...?
    #97666

    codingapple
    키 마스터
    에러메세지 검색해봅니다
    #123305

    seoha
    참가자
    와.... 너무 감사합니다... 이거 보고 저도 고쳤습니다
5 글 보임 - 1 에서 5 까지 (총 5 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠