인프런 커뮤니티 질문&답변

aws님의 프로필 이미지
aws

작성한 질문수

Next + React Query로 SNS 서비스 만들기

Error: CredentialsSignin

작성

·

342

0

백엔드소스 받아 로컬에 서버 가동시켰고, 레디스 서버도 켜두었고

강사님이 올려주신 클라이언트 ch4소스에서 실행시켜, 회원가입 도중 에러가 발생합니다.

postresql 디비에는 정상적으로 회원정보가 등록되긴 하였습니다만, 프론트에서 아래와 같은 에러가 있는데요

원인이 무엇일까요?

 

Error: CredentialsSignin

at signIn (webpack-internal:///(action-browser)/./node_modules/next-auth/lib/actions.js:62:22)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async $$ACTION_0 (webpack-internal:///(action-browser)/./src/app/(beforeLogin)/_lib/signup.ts:53:9)

at async /Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:38:489

at async tX (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:37:5313)

at async rl (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:38:23339)

at async doRender (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:1406:30)

at async cacheEntry.responseCache.get.routeKind (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:1567:28)

at async DevServer.renderToResponseWithComponentsImpl (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:1475:28)

at async DevServer.renderPageComponent (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:1852:24)

at async DevServer.renderToResponseImpl (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:1890:32)

at async DevServer.pipeImpl (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:902:25)

at async NextNodeServer.handleCatchallRenderRequest (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/next-server.js:266:17)

at async DevServer.handleRequestImpl (/Users/yhj/Desktop/yhj_projects/next-app-router-z-master/ch4/node_modules/next/dist/server/base-server.js:798:17)

답변 1

0

제로초(조현영)님의 프로필 이미지
제로초(조현영)
지식공유자

redis 설치 후 실행도 하셨나요?

에러메시지도 백엔드 쪽에 더 있을 겁니다.

aws님의 프로필 이미지
aws
질문자

네 레디스쪽 실행되고 있는 상태에요..

서버쪽 에러 내용 다시 올립니다.

a a

can true

login for cookie

[Nest] 45617 - 2023. 12. 28. 오후 6:07:53 ERROR [ExceptionsHandler] MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

[Nest] 45617 - 2023. 12. 28. 오후 6:07:53 ERROR [ExceptionsHandler] MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

aws님의 프로필 이미지
aws
질문자

레디스 재시작 하니 다시 동작하네요~

감사합니다~

 

aws님의 프로필 이미지
aws

작성한 질문수

질문하기