Thursday, October 31, 2013

Django mysql over ssl (2026, 'SSL connection error: Failed to set ciphers to use')

Hi, 

Summary:
    I'm getting this error "(2026, 'SSL connection error: Failed to set ciphers to use')", on the django error page and I don't know what i happening!!!


I'm using apache / wsgi and my aplication it's on a virtualenv.

The main problem is that I can't connect to a remote mysql over ssl.

The first think checked was the ssl configuration... but it's all rigth becouse I can run all django commands, (runserver too) without any problem, and the aplications it's connecting to the remote database over ssl correctly.

The next think checked was runserver response and the application doesn't raise any error...  it works perfectly...

With that two points i can see that the problem is in the wsgi,  specifically with the libraries that load to run the application becouse it's the only think that I can see that is diferent from a runserver (executed inside the virtualenv)

Anyone have had the same problem or can give me ant clue, I'm spending a lot of hours tryng to solve that.

The next test will be change to nginx to see if the problem persist.. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1cc91575-3657-41f8-b68d-50bb5d4e4ef8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment