All Apps and Add-ons

Add-on Builder API inputs

dsofoulis
Path Finder

Hi Everyone,

I am using the Splunk Add-on builder and trying to create an API input.
The url is a website using TLS. The string which I'm works when put into a browser, but when clicking test I get the following error:

HTTPError: HTTP Error [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:676)

Not sure how to fix this.

0 Karma

chli_splunk
Splunk Employee
Splunk Employee

This is a bug of AoB built-in package httplib2. Please upgrade it to latest version(https://pypi.python.org/pypi/httplib2/0.10.3) in following path:

/etc/apps/splunk_app_addon-builder/bin/splunk_app_add_on_builder/httplib2

/etc/apps/splunk_app_addon-builder/bin/ta_generator/resources_lib/httplib2

/etc/apps/{your TA}/bin/ta_tt/httplib2

waechtler
Path Finder

this solution did help me for AoB v 2.2 with a similar error:
HTTPError reason=HTTP Error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:676)

0 Karma

asieira
Path Finder

I found a reference to a similar problem here and the root cause was a bug in OpenSSL: https://github.com/neo4j/neo4j/issues/9233

What version of Splunk are you running? Is the operating system fully patched, in particular the SSL libraries?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...