Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Error Redis #4005

Open
Michae94 opened this issue Jul 22, 2019 · 1 comment
Open

SSL Error Redis #4005

Michae94 opened this issue Jul 22, 2019 · 1 comment

Comments

@Michae94
Copy link

Issue Summary

This follow the first ticket #3999 .
SSL Certificate verify failed

Steps to Reproduce

  1. I added in my .env file :
    REDASH_REDIS_URL
    REDASH_CELERY_BROKER_SSL_CA_CERTS
    REDASH_DATABASE_URL

    Then I use the next command :
    ./bin/run celery worker --app=redash.worker --beat -Qscheduled_queries,queries,celery -c2
    I get the following error when I try to connect to the URL http://127.0.0.1:5000/
    ConnectionError: Error 1 connecting to c7b2fac8-b71e-4936-a9a4-47fa7b461b47.bc28ac43cf10402584b5f01db462d330.databases.appdomain.cloud:30684. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726).

I am trying to connect my redash installed on my VM with ressources on IBM cloud : Redis (and Postgres). That is why I have to use an SSL connection.

Any idea?

Technical details:

  • Redash Version: last commit (22 June 2019)
  • Browser/OS: Redhat Linux (RHEL 8.0)
  • How did you install Redash: on a VM (Virtualbox), developer install
@Michae94
Copy link
Author

So I modified the code itself to import my certificate inside the command "StrictRedis" and it looks like it worked. I'll make a pull request if I manage to pass all the tests.
I don't really understand what was done with the import of certificate from .env in celery but I think that was not enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant