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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...