{"action":"opened","issue":{"url":"https://api.github.com/repos/andymccurdy/redis-py/issues/1080","repository_url":"https://api.github.com/repos/andymccurdy/redis-py","labels_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/1080/labels{/name}","comments_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/1080/comments","events_url":"https://api.github.com/repos/andymccurdy/redis-py/issues/1080/events","html_url":"https://github.com/andymccurdy/redis-py/issues/1080","id":382644783,"node_id":"MDU6SXNzdWUzODI2NDQ3ODM=","number":1080,"title":"ConnectionError [SSL: CERTIFICATE_VERIFY_FAILED] when connecting to AWS ElastiCache over TLS","user":{"login":"dkms-its","id":33903568,"node_id":"MDQ6VXNlcjMzOTAzNTY4","avatar_url":"https://avatars3.githubusercontent.com/u/33903568?v=4","gravatar_id":"","url":"https://api.github.com/users/dkms-its","html_url":"https://github.com/dkms-its","followers_url":"https://api.github.com/users/dkms-its/followers","following_url":"https://api.github.com/users/dkms-its/following{/other_user}","gists_url":"https://api.github.com/users/dkms-its/gists{/gist_id}","starred_url":"https://api.github.com/users/dkms-its/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkms-its/subscriptions","organizations_url":"https://api.github.com/users/dkms-its/orgs","repos_url":"https://api.github.com/users/dkms-its/repos","events_url":"https://api.github.com/users/dkms-its/events{/privacy}","received_events_url":"https://api.github.com/users/dkms-its/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T12:38:24Z","updated_at":"2018-11-20T12:38:24Z","closed_at":null,"author_association":"NONE","body":"We're experiencing connection issues with v3.x when trying to use our AWS managed ElastiCache Redis Cluster (version 4.0.10) over TLS (rediss://...). Rolling back to 2.10 fixes the issue immediately.\r\n\r\nThis is the stacktrace of our application:\r\nConnectionError: Error 1 connecting to master.**********.cache.amazonaws.com:6379. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051).\r\n(8 additional frame(s) were not displayed)\r\n...\r\n  File \"redis/client.py\", line 1182, in exists\r\n    return self.execute_command('EXISTS', *names)\r\n  File \"redis/client.py\", line 760, in execute_command\r\n    connection.send_command(*args)\r\n  File \"redis/connection.py\", line 619, in send_command\r\n    self.send_packed_command(self.pack_command(*args))\r\n  File \"redis/connection.py\", line 594, in send_packed_command\r\n    self.connect()\r\n  File \"redis/connection.py\", line 498, in connect\r\n    raise ConnectionError(self._error_message(e))"}}
{"actor":{"display_login":"dkms-its"}}