Error 1006 - Connection to host failed

Last updated on Oct 21, 2022
Error Code 1006
Error Message Text(s) - Failed to connect, with error: Connection to database host failed. Check the database host and port information and ensure that the database host is accessible over the internet. If applicable, whitelist Hevo’s IP addresses.

- Failed to connect, with error: {hostname} does not seems to be a valid host.

- Failed to connect {hostname} with error: io.hevo.core.exceptions.ConnectException: java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted to reconnect 3 times. Giving up., and {core_prod} with error: io.hevo.core.exceptions.ConnectException: java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted to reconnect 3 times. Giving up.

Potential Causes

  • The database connection details are incorrect.
  • Hevo’s IP addresses are not whitelisted.

Suggested Actions

  • Verify that the Database Host entered in the Configure your Source page is correct.

  • Verify that the Database Port entered in the Configure your Source page is correct.

  • Verify that Hevo’s IP addresses are whitelisted. Refer to the Source setup page for more information.

    For Amazon RDS databases: Check that the Security Group and VPC Subnet associated with the database allows access from all Hevo’s IP addresses.

  • Log in as a database user with the required privileges.

  • Invite another team member with the required privileges to set up the Pipeline. Read Inviting and Moderating Team Members.


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Sep-05-2022 NA Brought this page under its respective Source documentation folder.
Aug-23-2021 1.70 New document.

Tell us what went wrong