openstates / issues

Having trouble? Looking to contribute? Issues live here!
15 stars 2 forks source link

OK-scrape failing since at least 2024-08-12 #1220

Closed openstates-bot closed 3 months ago

openstates-bot commented 3 months ago

OK-scrape has failed 5 times since 2024-08-12

Logs:

    report = do_update(args, other, juris)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/cli/update.py", line 379, in do_update
    active_sessions = check_session_list(juris)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/cli/update.py", line 286, in check_session_list
    scraped_sessions = juris.get_session_list()
  File "/opt/openstates/openstates/scrapers/ok/__init__.py", line 225, in get_session_list
    sessions = url_xpath(
  File "/opt/openstates/openstates/scrapers/utils/lxmlize.py", line 8, in url_xpath
    res = requests.get(url, verify=verify, headers=headers)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/requests/adapters.py", line 700, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='webserver1.lsb.state.ok.us', port=80): Max retries exceeded with url: /WebApplication2/WebForm1.aspx (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79494d9970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
openstates-bot commented 3 months ago

closed via successful run on 2024-08-12