Comments (5)
Oh nice, thank you for jumping in @andryyy
from huey.
It is pointing to redis instance with cluster mode enabled from what can be seen.
from huey.
I'd suggest raising this with the redis-py maintainers. You're supposed to be able to initialize a ConnectionPool
with arguments that are then passed to the connections, but it looks like it isn't handling the ssl
argument properly somehow. Here's an example you can share with them:
from redis import *
r = Redis(ssl=True) # OK
p = ConnectionPool(ssl=True)
r = Redis(connection_pool=p) # Doesn't work.
p = ConnectionPool.from_url('rediss://')
r = Redis(connection_pool=p) # Somehow this is OK, though?
In other words, I think ConnectionPool
should handle the ssl=
keyword argument, but for some reason it does not. However the ConnectionPool
clearly supports specifying SSL because it accepts URLs using the rediss://
protocol.
from huey.
Try connection_class=redis.SSLConnection
as argument.
from huey.
Example of usage:
redis_connection_pool = redis.ConnectionPool(
host='redis.example.com', port=6379, connection_class=redis.SSLConnection
)
huey = RedisHuey(
name='test-ssl',
connection_pool=redis_connection_pool
)
from huey.
Related Issues (20)
- Question: get last execution by task name HOT 1
- Relation between origin task call and retry call?!? HOT 1
- TaskLockedException('unable to set lock: ...') HOT 1
- Cannot pickle thread.Rlock error HOT 1
- Suggestion for improving `Huey.is_revoked()` documentation
- Inconsistent Time to Enqueue Periodic Tasks HOT 2
- Not scheduled tasks HOT 2
- Huey exits without error HOT 1
- update TODO HOT 1
- Forking ? HOT 3
- How do you feel about a KeyDB implementation? HOT 3
- 'schedule' method for Django Huey task decorated functions is missing HOT 5
- Confirmation: Invoke/Enqueue a task by its string name HOT 1
- Sub 1min intervals HOT 1
- Consumer doesn't pickup updated task HOT 7
- List scheduled period tasks with crontab setup HOT 2
- Retry Tasks on SIGTERM? HOT 1
- Connection Failed HOT 1
- Task not using Django database user. HOT 1
- Redis is no longer opensource, are you going to support another option? like valkey or redict HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huey.