# ‘handleError : ’ ‘SSL/TLS required’ when connect to a custom database

**URL:** <https://community.auth0.com/t/handleerror-ssl-tls-required-when-connect-to-a-custom-database/94654>\
**Category:** Get Help\
**Tags:** custom-database-connections, connections\
**Created:** [November 17, 2022, 8:11pm UTC](https://community.auth0.com/t/handleerror-ssl-tls-required-when-connect-to-a-custom-database/94654 "2022-11-17T20:11:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaylu](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@jaylu](https://community.auth0.com/u/jaylu)\
**Post date:** [November 17, 2022, 8:11pm UTC](https://community.auth0.com/t/handleerror-ssl-tls-required-when-connect-to-a-custom-database/94654/1 "2022-11-17T20:11:53Z")

</div>

Hi,

We use a custom postgreSQL database which is managed by [Render.com](http://Render.com). After setting up the custom scripts, we keep getting “handleError : ’ ‘SSL/TLS required’”. We don’t see any obvious errors in Auth0 logs.

Has anyone run into similar issues? Please advise how we can fix it.

---

<div class="post-metadata">

**Author:** ![jaylu](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@jaylu](https://community.auth0.com/u/jaylu)\
**Post date:** [November 17, 2022, 9:48pm UTC](https://community.auth0.com/t/handleerror-ssl-tls-required-when-connect-to-a-custom-database/94654/2 "2022-11-17T21:48:24Z")

</div>

We actually just fixed the issue, for people who run into something similar:

“SSL/TLS required” actually is Render’s error message.

Appending `?ssl=true` to postgrel external url fixes the issue.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 19, 2024, 2:10pm UTC](https://community.auth0.com/t/handleerror-ssl-tls-required-when-connect-to-a-custom-database/94654/4 "2024-06-19T14:10:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
