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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...