How to resolve SSL_connect error when VPN is enabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2025 01:56 AM
I am trying to connect to Databricks using ODBC protocol with Simba Driver DSN. I am able to successfully connect and access the data when our corporate VPN is turned OFF. but when it's turned ON , I am getting the following error "[Simba][ThriftExtension] (14) Unexpected response from server during a HTTP connection: SSL_connect:"
how to resolve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2025 02:54 AM
The error you are encountering, " (14) Unexpected response from server during a HTTP connection: SSL_connect:", when trying to connect to Databricks using the ODBC protocol with the Simba Driver DSN while the corporate VPN is turned on, is likely related to SSL certificate verification issues
Here are some steps you can take to resolve this issue:
-
Check SSL Certificate Configuration:
- Ensure that the SSL certificates are correctly configured. You might need to disable SSL certificate verification if you are using self-signed certificates or if there are issues with the certificate chain.
- You can do this by setting the
AllowSelfSignedServerCertoption to1and theAllowHostNameCNMismatchoption to1in your DSN configuration. This can be done in thesimba.sparkodbc.inifile or through the ODBC Data Source Administrator.
-
Disable Certificate Revocation Check:
- If the issue persists, you can try disabling the certificate revocation check by setting the
CheckCertRevocationoption to0.
- If the issue persists, you can try disabling the certificate revocation check by setting the
-
Use System Trust Store:
- Ensure that the
UseSystemTrustStoreoption is set to1if you want to use the system's trust store for SSL verification.
- Ensure that the