cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Hostname could not be verified

191522
New Contributor

Hi all,

We have a job that combines historical tables with live tables to give us up to date information. It works for almost all of the tables in our source postgres database, but there's one table that keeps giving the following error. Any ideas why this would be happening on only one table and not the entire database connection?

Error: Error in SQL statement: ExecutionException: org.postgresql.util.PSQLException: The hostname vpce-[redacted].vpce.amazonaws.com could not be verified by hostnameverifier PgjdbcHostnameVerifier.

Thanks in advance for any help!

1 REPLY 1

jose_gonzalez
Moderator
Moderator

Could you share the full error stack trace please? 
Also try to test your connectivity by doing "%sh nc -zv {hostname} {port}"

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.