rusackas commented on issue #29611:
URL: https://github.com/apache/superset/issues/29611#issuecomment-3941880367
Closing this issue as it appears to be a configuration error rather than a
Superset bug.
**Solution** (thanks @fzhan!): The error occurs when Redis configuration
uses string literals instead of f-strings:
```python
# ❌ Wrong - missing 'f' prefix:
RESULTS_BACKEND = RedisCache(host="{env('REDIS_HOST')}",
port={env('REDIS_PORT')}, ...)
# ✅ Correct - use f-strings:
RESULTS_BACKEND = RedisCache(host=f"{env('REDIS_HOST')}",
port=f"{env('REDIS_PORT')}", ...)
```
This issue has been inactive for 270+ days and the solution was identified
in the thread. If anyone encounters this on current versions after verifying
their config, please open a new issue with details. Thanks! 🙏
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]