I can't connect my ClearDb to Django app on Heroku, show me this error.
Asked
Active
Viewed 703 times
0

Marcos Dávalos
- 501
- 1
- 5
- 14
-
1Try to add `del DATABASES['default']['OPTIONS']['sslmode']` right after `django_heroku.settings(locals())` in your settings file. – Sergey Pugach Jan 03 '19 at 06:13
-
Glad it helped! I've posted it as answer. – Sergey Pugach Jan 03 '19 at 13:16
1 Answers
2
Try to add to your settings file:
del DATABASES['default']['OPTIONS']['sslmode']
right after
django_heroku.settings(locals())

Sergey Pugach
- 5,561
- 1
- 16
- 31
-
it's unveliable that heroku docs itself does not explain this issue – user1532587 Jan 12 '22 at 19:03