I was facing this issue when running redis timeseries docker image using docker compose. Here is the initial configuration that was causing the problem.

redis-ts:
image: redislabs/redistimeseries:1.4.13
ports:
- "6379:6379"
command: redis-server

Solution (Remove the command argument)

redis-ts:
image: redislabs/redistimeseries:1.4.13
ports:
- "6379:6379"