<?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>topic ODBC connection getting error [40]error with http api. in Installation</title>
    <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166383#M9907</link>
    <description>&lt;P&gt;I am trying to use Splunk ODBC Driver for splunk 6.0 with microsoft excel 2010 32bit version.&lt;BR /&gt;
I have installed the ODBC and given the server path as https://&lt;IP&gt;:8089. I have unchecked the verify ssl certificate. But I am getting error “[40]error with http api, error code couldn't connect to the server”.&lt;/IP&gt;&lt;/P&gt;

&lt;P&gt;Can you help me out here. Expecting an quick reply.&lt;BR /&gt;
Thanks in advance.  &lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2014 15:16:56 GMT</pubDate>
    <dc:creator>ujju</dc:creator>
    <dc:date>2014-02-26T15:16:56Z</dc:date>
    <item>
      <title>ODBC connection getting error [40]error with http api.</title>
      <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166383#M9907</link>
      <description>&lt;P&gt;I am trying to use Splunk ODBC Driver for splunk 6.0 with microsoft excel 2010 32bit version.&lt;BR /&gt;
I have installed the ODBC and given the server path as https://&lt;IP&gt;:8089. I have unchecked the verify ssl certificate. But I am getting error “[40]error with http api, error code couldn't connect to the server”.&lt;/IP&gt;&lt;/P&gt;

&lt;P&gt;Can you help me out here. Expecting an quick reply.&lt;BR /&gt;
Thanks in advance.  &lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 15:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166383#M9907</guid>
      <dc:creator>ujju</dc:creator>
      <dc:date>2014-02-26T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connection getting error [40]error with http api.</title>
      <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166384#M9908</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Probably your server might refuse connections without a valid cert. Can you please tell me what do you see if you paste https://&lt;IP&gt;:8089 in the browser?&lt;/IP&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 18:23:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166384#M9908</guid>
      <dc:creator>ssreshta_splunk</dc:creator>
      <dc:date>2014-02-26T18:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connection getting error [40]error with http api.</title>
      <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166385#M9909</link>
      <description>&lt;P&gt;Try that URL under a browser. If it works, and if the browser has proxy settings, then you would need to apply similar settings for the Splunk ODBC driver. Refer to &lt;A href="http://docs.splunk.com/Documentation/ODBC/1.0/UseODBC/ProxyServerConfiguration"&gt;http://docs.splunk.com/Documentation/ODBC/1.0/UseODBC/ProxyServerConfiguration&lt;/A&gt; for how to do this.&lt;/P&gt;

&lt;P&gt;Let me know if this is the issue or not.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 18:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166385#M9909</guid>
      <dc:creator>ywu_splunk</dc:creator>
      <dc:date>2014-02-26T18:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connection getting error [40]error with http api.</title>
      <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166386#M9910</link>
      <description>&lt;P&gt;Hi ssreshta_splunk,&lt;/P&gt;

&lt;P&gt;I am getting the message" proxy server does not responding."&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 10:47:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166386#M9910</guid>
      <dc:creator>ujju</dc:creator>
      <dc:date>2014-02-27T10:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connection getting error [40]error with http api.</title>
      <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166387#M9911</link>
      <description>&lt;P&gt;Could you provide more details? Such as what is the proxy address, and what env variable did you set?&lt;/P&gt;

&lt;P&gt;The error message may indicate the proxy server address being set is not reachable.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:12:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/166387#M9911</guid>
      <dc:creator>ywu_splunk</dc:creator>
      <dc:date>2014-02-27T21:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connection getting error [40]error with http api.</title>
      <link>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/710652#M14279</link>
      <description>&lt;P class="lia-align-left"&gt;Probably proxy server (or firewall).&lt;/P&gt;&lt;P class="lia-align-left"&gt;Typically proxy server because the &lt;STRONG&gt;ODBC driver is not proxy aware&lt;/STRONG&gt; like your internet browser is.&lt;/P&gt;&lt;P class="lia-align-left"&gt;This is why others mentioned configure the proxy without explanation.&lt;/P&gt;&lt;P class="lia-align-left"&gt;The typical solution is to add an environmental variable that the&amp;nbsp;&lt;STRONG&gt;ODBC driver&lt;/STRONG&gt; can see.&lt;/P&gt;&lt;P class="lia-align-left"&gt;I would recommend testing it using the following process:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;At the command line (in Windows) enter&amp;nbsp;&lt;STRONG&gt;setx http_proxy &amp;lt;proxy_ip&amp;gt;:&amp;lt;proxy_port&amp;gt;&amp;nbsp;&lt;/STRONG&gt;(example &lt;STRONG&gt;setx http_proxy 132.50.12.1:443)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Restart your ODBC Program (ex, PowerBi)&lt;/LI&gt;&lt;LI&gt;Retest your connection&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If it fails, add the https_proxy the same way. If it succeeds, add it the system permanently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ref#&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/ODBC/3.1.1/UseODBC/ProxyServerConfiguration" target="_blank" rel="noopener"&gt;Configure the proxy server - Splunk Documentation&lt;/A&gt;&lt;BR /&gt;#&amp;nbsp;&lt;A href="https://curl.se/libcurl/c/libcurl-tutorial.html#Environment" target="_blank" rel="noopener"&gt;libcurl - programming tutorial&lt;/A&gt;&lt;BR /&gt;#&amp;nbsp;&lt;A href="https://www.golinuxcloud.com/set-up-proxy-http-proxy-environment-variable/" target="_blank" rel="noopener"&gt;Set up proxy using http_proxy &amp;amp; https_proxy environment variable in Linux? | GoLinuxCloud&lt;/A&gt;&lt;BR /&gt;#&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/13222724/command-line-to-remove-an-environment-variable-from-the-os-level-configuration" target="_blank" rel="noopener"&gt;windows - Command line to remove an environment variable from the OS-level configuration - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 23:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ODBC-connection-getting-error-40-error-with-http-api/m-p/710652#M14279</guid>
      <dc:creator>99eaglez</dc:creator>
      <dc:date>2025-02-04T23:18:55Z</dc:date>
    </item>
  </channel>
</rss>

