juriscraper icon indicating copy to clipboard operation
juriscraper copied to clipboard

SSLError: HTTPSConnectionPool(host='www.la-fcca.org', port=443): Max retries exceeded with url: /opiniongrid/opinionpub.php?opinionpage_size=50 (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1028)')))

Open sentry[bot] opened this issue 8 months ago • 4 comments

Sentry Issue: COURTLISTENER-9Q4

SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1028)
(4 additional frame(s) were not displayed)
...
  File "urllib3/util/ssl_.py", line 460, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
  File "urllib3/util/ssl_.py", line 504, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
  File "ssl.py", line 1076, in _create
    self.do_handshake()
  File "ssl.py", line 1372, in do_handshake
    self._sslobj.do_handshake()

SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1028)
  File "urllib3/connectionpool.py", line 787, in urlopen
    response = self._make_request(
  File "urllib3/connectionpool.py", line 488, in _make_request
    raise new_e

MaxRetryError: HTTPSConnectionPool(host='www.la-fcca.org', port=443): Max retries exceeded with url: /opiniongrid/opinionpub.php?opinionpage_size=50 (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1028)')))
  File "requests/adapters.py", line 667, in send
    resp = conn.urlopen(
  File "urllib3/connectionpool.py", line 841, in urlopen
    retries = retries.increment(
  File "urllib3/util/retry.py", line 519, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]

SSLError: HTTPSConnectionPool(host='www.la-fcca.org', port=443): Max retries exceeded with url: /opiniongrid/opinionpub.php?opinionpage_size=50 (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1028)')))
(4 additional frame(s) were not displayed)
...
  File "cl/scrapers/management/commands/cl_scrape_opinions.py", line 400, in handle
    self.parse_and_scrape_site(mod, options)
  File "cl/scrapers/management/commands/cl_scrape_opinions.py", line 363, in parse_and_scrape_site
    site = mod.Site(save_response_fn=save_response).parse()

sentry[bot] avatar Jul 07 '25 14:07 sentry[bot]

if I try to access the resource we are scraping, I'm getting 403 (I don't know if they're recognizing that I'm using a VPN) Image

And I don't see anything in the home page that list opinions

the thing I'm missing is ... Why is the scraper getting a SSL error?

@flooie

Luis-manzur avatar Jul 07 '25 18:07 Luis-manzur

looks like it just gets blocked - we should check if this is temporary or intermittent @Luis-manzur

flooie avatar Jul 14 '25 14:07 flooie

I think they are working in a new page for opinions or something...

all the media we have scraped before this issue is not accesible any more, for example. if you try to download the pdf from the court, a 404 page will pop up.

And I don't see anything in the home page that list opinions

and this

Luis-manzur avatar Jul 16 '25 19:07 Luis-manzur

We have a temp work around lets keep an eye on this but for now we are good

flooie avatar Oct 20 '25 13:10 flooie