Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ› RedisCommandExecutionException: ERR unknown command 'CONFIG', with args beginning with: 'GET' #124

Closed
kdomo opened this issue Jan 10, 2024 · 0 comments Β· Fixed by #128
Assignees
Labels
πŸ› bug/error 버그 및 μ—λŸ¬ ν”½μŠ€

Comments

@kdomo
Copy link
Member

kdomo commented Jan 10, 2024

πŸ“Œ Description

RedisCommandExecutionException: ERR unknown command 'CONFIG', with args beginning with: 'GET' 'notify-keyspace-events'
  • Redis Expire Eventλ₯Ό μ‚¬μš©ν•˜κΈ° μœ„ν•΄μ„œλŠ”notify-keyspace-eventsλ₯Ό redis.conf에 λ“€μ–΄κ°€μ„œ 직접 μ„€μ •ν•˜λ˜κ°€,
    MessageListenerκ°€ μ•„λ‹Œ KeyExpirationEventMessageListenerλ₯Ό 상속받아 κ΅¬ν˜„ν•˜μ—¬μ•Ό ν•©λ‹ˆλ‹€.
  • KeyExpirationEventMessageListenerλ₯Ό 상속받아 κ΅¬ν˜„ν•˜κ²Œλ˜λ©΄ KeyspaceEventMessageListener.classμ—μ„œ configλ₯Ό μ„ΈνŒ…ν•΄μ£Όκ³ μžˆκΈ΄ ν•˜μ§€λ§Œ NCP Cloud for RedisλŠ” μ™ΈλΆ€μ—μ„œ 접속 λΆˆκ°€ν•˜λ©°, Configλ₯Ό μ„€μ •ν•  수 없도둝 λ˜μ–΄μžˆμŠ΅λ‹ˆλ‹€.
  • ConfigureRedisAction.NO_OPbean으둜 λ…ΈμΆœν•¨μœΌλ‘œμ¨ λΉ„ν™œμ„±ν™”ν•΄μ„œ ν•΄κ²°ν•  수 μžˆλ‹€μ˜ 글을 λ³΄μ•˜μ§€λ§Œ ERR unknown command 'CONFIG' when using Secured Redis 이슈λ₯Ό 보면,
If you're not using Spring Session at all,
you need something else to resolve the issue.
 I'd suggest taking a look at Spring Data Redis reference manual,
or opening an issue over there if you don't find anything.

이라고 λ‚˜μ™€μžˆμŠ΅λ‹ˆλ‹€.

λ”°λΌμ„œ, docker composeλ₯Ό 톡해 내뢀에 Redisλ₯Ό μƒμ„±ν•˜μ—¬ κ΄€λ¦¬ν•˜λ„λ‘ ν•˜λ €κ³  ν•©λ‹ˆλ‹€.

μ°Έκ³  아티클

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ› bug/error 버그 및 μ—λŸ¬ ν”½μŠ€
Projects
Status: μ™„λ£Œ
1 participant