You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jsleight
Please at least add a hint in the error when this message is encountered
java.sql.SQLException: The hostname xxxxxxx could not be verified by hostnameverifier RedshiftjdbcHostnameVerifier.
We connect from Spark to Redshift across VPCs using VPC Endpoints. When trying to connect with (in Databricks):
we get the error:
When we use the JDBC connector (
.format("jdbc")
) using the same URL, it connects and returns results.We found that if we add
;sslmode=verify-ca
to the URL, the Redshift connector works:The text was updated successfully, but these errors were encountered: