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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...