You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "PHTremor (via GitHub)" <gi...@apache.org> on 2025/03/21 09:11:35 UTC

Re: [I] Cache setting Redis, still reporting exception upon startup! [superset]

PHTremor commented on issue #30003:
URL: https://github.com/apache/superset/issues/30003#issuecomment-2742761860

   > > The warning you're encountering suggests that the rate limiting storage backend is not correctly configured to use Redis. To resolve this, ensure that the `RATELIMIT_STORAGE_URI` is set to your Redis URI in your `superset_config.py` file.
   > > Here is the relevant configuration you need to add or verify:
   > > RATELIMIT_STORAGE_URI = "redis://host:port"
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > Replace `"redis://host:port"` with the actual URI of your Redis server. Additionally, ensure that the `redis` Python package is installed:
   > > pip install Flask-Limiter[redis]
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > This should configure Flask-Limiter to use Redis for rate limiting, avoiding the fallback to in-memory storage [[1]](https://github.com/apache/superset/blob/master/superset/config.py)[[2]](https://github.com/apache/superset/blob/master/tests/integration_tests/superset_test_config.py).
   > > _To continue talking to [Dosu](https://dosu.dev), mention [@dosu](https://github.com/dosu)._
   > 
   > Sure enough, after setting the parameter RATELIMIT-STORAGE-URI, not only did this problem solve, but another alarm (Warning: root: Class' werkzeug. local. LocalProxy 'is not mapped) also disappeared. Thank you very much!
   
   I there a way to have the RATELIMIT_STORAGE_URI = "redis://host:port" inside values.yaml?
   
   that way it can be resolved after helm update install...


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org