- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ODBC connection getting error [40]error with http api.
I am trying to use Splunk ODBC Driver for splunk 6.0 with microsoft excel 2010 32bit version.
I have installed the ODBC and given the server path as https://
Can you help me out here. Expecting an quick reply.
Thanks in advance.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably proxy server (or firewall).
Typically proxy server because the ODBC driver is not proxy aware like your internet browser is.
This is why others mentioned configure the proxy without explanation.
The typical solution is to add an environmental variable that the ODBC driver can see.
I would recommend testing it using the following process:
- At the command line (in Windows) enter setx http_proxy <proxy_ip>:<proxy_port> (example setx http_proxy 132.50.12.1:443)
- Restart your ODBC Program (ex, PowerBi)
- Retest your connection
If it fails, add the https_proxy the same way. If it succeeds, add it the system permanently.
Ref# Configure the proxy server - Splunk Documentation
# libcurl - programming tutorial
# Set up proxy using http_proxy & https_proxy environment variable in Linux? | GoLinuxCloud
# windows - Command line to remove an environment variable from the OS-level configuration - Stack Ove...
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ssreshta_splunk,
I am getting the message" proxy server does not responding."
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Could you provide more details? Such as what is the proxy address, and what env variable did you set?
The error message may indicate the proxy server address being set is not reachable.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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 http://docs.splunk.com/Documentation/ODBC/1.0/UseODBC/ProxyServerConfiguration for how to do this.
Let me know if this is the issue or not.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hello,
Probably your server might refuse connections without a valid cert. Can you please tell me what do you see if you paste https://
