Error (2026-06-16)
exceptions.ConnectionError: wreq::Error { kind: Connect, source: CERTIFICATE_VERIFY_FAILED }, uri: https://committees.sunderland.gov.uk/committees/cmis5/Members.aspx
Investigation
Two layered issues found:
1. Certificate not trusted by wreq's BoringSSL
https://committees.sunderland.gov.uk has a TLS certificate that wreq's embedded BoringSSL CA bundle does not trust. Locally, the scraper fails immediately with CERTIFICATE_VERIFY_FAILED.
Fix (verified to clear this layer): add verify_requests = False to the Scraper class in scrapers/SND-sunderland/councillors.py.
2. Server returning 503 after the cert layer is bypassed
After applying verify_requests = False locally, the request gets past the TLS handshake but the CMIS server itself returns:
exceptions.StatusError: wreq::Error { kind: Status(503, None) }
Confirmed independently with plain curl -k, which also returns HTTP 503 with an IIS "Service Unavailable" body, repeatedly over several minutes. This is a server-side outage, not a code or certificate problem.
Fix patterns ruled out
- HTTPS migration — already HTTPS
verify_requests = False — fixes the cert layer (verified), but exposes the underlying 503
http_lib = "playwright" — 503 response from IIS; changing HTTP client won't help
- URL changes — no evidence the CMIS path has moved
What needs to happen
Once committees.sunderland.gov.uk stops returning 503, apply and verify:
class Scraper(CMISCouncillorScraper):
verify_requests = False
I did not open a PR for this because I can't verify real councillor data comes back while the server is down — happy to revisit once it recovers.
Error (2026-06-16)
Investigation
Two layered issues found:
1. Certificate not trusted by wreq's BoringSSL
https://committees.sunderland.gov.ukhas a TLS certificate thatwreq's embedded BoringSSL CA bundle does not trust. Locally, the scraper fails immediately withCERTIFICATE_VERIFY_FAILED.Fix (verified to clear this layer): add
verify_requests = Falseto theScraperclass inscrapers/SND-sunderland/councillors.py.2. Server returning 503 after the cert layer is bypassed
After applying
verify_requests = Falselocally, the request gets past the TLS handshake but the CMIS server itself returns:Confirmed independently with plain
curl -k, which also returnsHTTP 503with an IIS "Service Unavailable" body, repeatedly over several minutes. This is a server-side outage, not a code or certificate problem.Fix patterns ruled out
verify_requests = False— fixes the cert layer (verified), but exposes the underlying 503http_lib = "playwright"— 503 response from IIS; changing HTTP client won't helpWhat needs to happen
Once
committees.sunderland.gov.ukstops returning 503, apply and verify:I did not open a PR for this because I can't verify real councillor data comes back while the server is down — happy to revisit once it recovers.