Splunk Dev

Splunk SDK for PHP -- SSL error after upgrading to Splunk v6.6.2

EricLloyd79
Builder

We had a report using the Splunk PHP SDK running and using a a splunk instance of 6.4.2. We recently upgraded it to 6.6.2 and now it seems we are getting an SSL error that didn't exist before. Does anyone know why this might be happening?

PHP Fatal error: Uncaught exception 'Splunk_ConnectException' with message 'Unknown SSL protocol error in connection to 10.10.2.xxx:8089 ' in /var/www/html/kpi/vzw/kpi-report/Splunk/Splunk/Http.php:191
Stack trace:

0 /var/www/html/kpi/vzw/kpi-report/Splunk/Splunk/Http.php(93): Splunk_Http->requestWithCurl('post', 'https://10.10.2...', Array, 'username=kpi&pa...')

1 /var/www/html/kpi/vzw/kpi-report/Splunk/Splunk/Http.php(44): Splunk_Http->request('post', 'https://10.10.2...', Array, 'username=kpi&pa...')

2 /var/www/html/kpi/vzw/kpi-report/Splunk/Splunk/Context.php(94): Splunk_Http->post('https://10.10.2...', Array)

3 /var/www/html/kpi/vzw/kpi-report/functions.php(1841): Splunk_Context->login()

4 /var/www/html/kpi/vzw/kpi-report/scp2.php(67): collect_stats4(1504242000, Array, 'S0080', 'scp')

5 /var/www/html/kpi/vzw/kpi-report/kpi-report2.php(111): scp_report(1504242000)

6 {main}

thrown in /var/www/html/kpi/vzw/kpi-report/Splunk/Splunk/Http.php on line 191

0 Karma
1 Solution

abalogh_splunk
Splunk Employee
Splunk Employee

Hi,

Have you checked Known Issues for 6.6.2 release? Note the changes made to SSL.
https://docs.splunk.com/Documentation/Splunk/6.6.3/ReleaseNotes/Knownissues

Good luck!

br
Adam

View solution in original post

0 Karma

abalogh_splunk
Splunk Employee
Splunk Employee

Hi,

Have you checked Known Issues for 6.6.2 release? Note the changes made to SSL.
https://docs.splunk.com/Documentation/Splunk/6.6.3/ReleaseNotes/Knownissues

Good luck!

br
Adam

0 Karma

EricLloyd79
Builder

Thank you. The solution was listed in Known Issue: SPL-141961

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...