celery icon indicating copy to clipboard operation
celery copied to clipboard

Update documentation for Redis Broker SSL

Open georgepsarakis opened this issue 8 years ago • 6 comments

According to https://github.com/celery/celery/issues/4792#issuecomment-396744283 , the documentation regarding SSL connections when Redis is used as a broker should probably be updated to include the proper configuration details.

georgepsarakis avatar Jun 13 '18 04:06 georgepsarakis

Hello,

Could you please help me with this issue, consumer: Cannot connect to redis: Error while reading from socket: (104, 'Connection reset by peer'),

My redis connection string looks as below,

broker_url = redis://:password@hostname:port/0

broker_use_ssl={'ssl_cert_reqs': ssl.CERT_NONE}.

I have no issues when I am using a rabbitmq backend.

nmakarun avatar Feb 07 '19 15:02 nmakarun

@nmakarun I believe you have to use rediss (with an extra "s" at the end).

clokep avatar Feb 07 '19 15:02 clokep

@clokep I tried that as well celery is not able to recognize rediss:// and i believe it is still in development and will be available from celery 4.3 version based @georgepsarakis might know better on this.

nmakarun avatar Feb 07 '19 15:02 nmakarun

I think we should consider this a blocker for 4.3 GA. Right now we're releasing an RC so we're fine.

thedrow avatar Feb 07 '19 16:02 thedrow

@thedrow I am not sure what RC means and I am fairly new to celery.Could you please let know how to fix the url to access the azure redis with SSL ON.

nmakarun avatar Feb 07 '19 16:02 nmakarun

@thedrow @georgepsarakis feel free to review and refine the PR I created to address docs concerning Redis Broker/Backend SSL.

huangsam avatar Mar 13 '19 16:03 huangsam