<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: pyodbc.Error: ('HY000', '[HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. (1110) (SQLDriverConnect)') in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387846#M246459</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110577"&gt;@vlallana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a generic error you just need to compare the configurations/settings between prod and dev clusters and check the Impala server status and it is ready to accept the connections.&lt;BR /&gt;try to use the latest available driver and check if there is any network connectivity issue, if everything good enable the driver trace level logging[1] and repro the issue then review the logs for more details.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;&lt;P&gt;[1].&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-odbc/2-6-11/Cloudera-ODBC-Driver-for-Impala-Install-Guide.pdf" target="_blank"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-odbc/2-6-11/Cloudera-ODBC-Driver-for-Impala-Install-Guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 08:25:35 GMT</pubDate>
    <dc:creator>ChethanYM</dc:creator>
    <dc:date>2024-05-14T08:25:35Z</dc:date>
    <item>
      <title>pyodbc.Error: ('HY000', '[HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. (1110) (SQLDriverConnect)')</title>
      <link>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387818#M246448</link>
      <description>&lt;P&gt;We are having some issues while trying to connect with Cloudera Impala through pyobdc in our production enviroment (not in development env, neither in pre-production env).&lt;/P&gt;&lt;P&gt;We have configured our Driver ODBC for Impala with v2.6.11.1011-1, Kerberos 5 v1.18.2, pip v23.3 and pyodbc v4.0.38.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Impala odbc driver is installed without problem, the impala ports are open, the kerberos ports are open too, everything was validated with telnet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Our connection string is defined in the following way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;connection_string_IaaS = f'''

 DRIVER=/opt/cloudera/impalaodbc/lib/64/libclouderaimpalaodbc64.so;

 Host=(name of host);

 Port=21050;

 AuthMech=1;

 Encrypt=no;

 KrbRealm=(name of data source);

 KrbFQDN=(name of host);

 KrbServiceName=impala;

 TrustedCerts=/opt/cloudera/impalaodbc/lib/64/cacerts.pem;

 TSaslTransportBufSize=60536;

 RowsFetchedPerBlock=4000;

 SSP_BATCH_SIZE=60536'''&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Once we ensure the kerberos ticket is right, we try to establish the connection by making&amp;nbsp;pyodbc.connect(connection_string_IaaS, autocommit=True) and we obtain the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pyodbc.Error: ('HY000', '[HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. (1110) (SQLDriverConnect)')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What could be causing it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 11:07:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387818#M246448</guid>
      <dc:creator>vlallana</dc:creator>
      <dc:date>2024-05-13T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: pyodbc.Error: ('HY000', '[HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. (1110) (SQLDriverConnect)')</title>
      <link>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387844#M246457</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110577"&gt;@vlallana&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our Impala experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79729"&gt;@ShankerSharma&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 08:08:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387844#M246457</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-05-14T08:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: pyodbc.Error: ('HY000', '[HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. (1110) (SQLDriverConnect)')</title>
      <link>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387846#M246459</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110577"&gt;@vlallana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a generic error you just need to compare the configurations/settings between prod and dev clusters and check the Impala server status and it is ready to accept the connections.&lt;BR /&gt;try to use the latest available driver and check if there is any network connectivity issue, if everything good enable the driver trace level logging[1] and repro the issue then review the logs for more details.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;&lt;P&gt;[1].&amp;nbsp;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-odbc/2-6-11/Cloudera-ODBC-Driver-for-Impala-Install-Guide.pdf" target="_blank"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-odbc/2-6-11/Cloudera-ODBC-Driver-for-Impala-Install-Guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 08:25:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/387846#M246459</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2024-05-14T08:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: pyodbc.Error: ('HY000', '[HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. (1110) (SQLDriverConnect)')</title>
      <link>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/388231#M246587</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110577"&gt;@vlallana&lt;/a&gt;,&amp;nbsp;Did the response assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 05:52:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/pyodbc-Error-HY000-HY000-Cloudera-DriverSupport-1110/m-p/388231#M246587</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-05-23T05:52:58Z</dc:date>
    </item>
  </channel>
</rss>

