Skip to main content

Errors

JedisDataException ERR unknown command CONFIG

·93 words·1 min
Error # While trying to setup Azure Cache for Redis as spring session store, I encountered following exception: .JedisDataException: ERR unknown command CONFIG, with args beginning with: get, notify-keyspace-events": 1, Fix # Found the solution in spring-session-gh-issue Kotlin @Configuration class HttpSessionConfig() { companion object { // another solution could be to enable notify-keyspace-events for redis @Bean fun configureRedisAction(): ConfigureRedisAction { return ConfigureRedisAction.NO_OP } } } Java @Configuration class HttpSessionConfig() { // another solution could be to enable notify-keyspace-events for redis @Bean public static ConfigureRedisAction configureRedisAction() { return ConfigureRedisAction.NO_OP; } } Links # spring-session-gh-issue

Exec Format Error

·219 words·2 mins
Having encountered exec format error stacktrace for two times already, I definitely want to log it 😤 First encounter # I got this error when I got a new Mac M1 from my employer. I was using colima as docker desktop replacement for Mac. While working on a feature for a service, I built container image using colima; pushed the image to container registry and tried deploying to dev environment. And saw the exec format error in logs.