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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...