Bug #1365
SSL handshake error
Start date:
06/01/2016
Due date:
% Done:
100%
Description
This doesn't return the expected results:
| webscrape url=https://answers.splunk.com/users/1990/LukeMurphey.html selector="#app-sidebar :nth-child(4) li:nth-child(2)" depth_limit=3 page_limit=25 url_filter="https://splunkbase.splunk.com/app/*"
This generates an exception: command="webscrape", [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:595)
| webscrape url="https://answers.splunk.com/users/1990/LukeMurphey.html" selector="a" depth_limit=3 page_limit=10 url_filter="*"
Related issues
History
#1 Updated by Luke Murphey over 8 years ago
The SSL error doesn't appear on a Unix host with version 2.1. Version 3.0 makes the error appear though.
#3 Updated by Luke Murphey over 8 years ago
Traceback (most recent call last): File "/Users/lmurphey/Splunk/splunk_sp/etc/apps/website_input/bin/web_input.py", line 588, in get_result_single response_code, content, encoding = cls.get_result_built_in_client( http, url, headers, charset_detect_meta_enabled, charset_detect_content_type_header_enabled, charset_detect_sniff_enabled) File "/Users/lmurphey/Splunk/splunk_sp/etc/apps/website_input/bin/web_input.py", line 474, in get_result_built_in_client response, content = http.request( url.geturl(), 'GET', headers=headers) File "/Users/lmurphey/Splunk/splunk_sp/lib/python2.7/site-packages/httplib2/__init__.py", line 1611, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/Users/lmurphey/Splunk/splunk_sp/lib/python2.7/site-packages/httplib2/__init__.py", line 1406, in _request redirections=redirections - 1) File "/Users/lmurphey/Splunk/splunk_sp/lib/python2.7/site-packages/httplib2/__init__.py", line 1611, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/Users/lmurphey/Splunk/splunk_sp/lib/python2.7/site-packages/httplib2/__init__.py", line 1351, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/Users/lmurphey/Splunk/splunk_sp/lib/python2.7/site-packages/httplib2/__init__.py", line 1272, in _conn_request conn.connect() File "/Users/lmurphey/Splunk/splunk_sp/lib/python2.7/site-packages/httplib2/__init__.py", line 1059, in connect raise SSLHandshakeError(e) SSLHandshakeError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:603)
#4 Updated by Luke Murphey over 8 years ago
The security package includes: ['pyOpenSSL>=0.13', 'ndg-httpsclient', 'pyasn1']
#5 Updated by Luke Murphey over 8 years ago
- Subject changed from Cannot get desired results to SSL handshake error
It looks like URL extraction doesn't happen unless the URL has matches too.
#6 Updated by Luke Murphey over 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
#7 Updated by Luke Murphey over 8 years ago
- Related to Bug #1409: SSL handshake error added