2026-03-24 12:54:41,287 - discom_delhi_scraper - ERROR - [NETWORK_ERROR] Error during fetch/parse for https://www.delhisldc.org/Redirect.aspx?Loc=0804: HTTPSConnectionPool(host='www.delhisldc.org', port=443): Max retries exceeded with url: /Redirect.aspx?Loc=0804 (Caused by NameResolutionError(": Failed to resolve 'www.delhisldc.org' ([Errno -5] No address associated with hostname)")) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 203, in _new_conn sock = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/socket.py", line 976, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -5] No address associated with hostname The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 791, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 492, in _make_request raise new_e File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 468, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1097, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 611, in connect self.sock = sock = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 210, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError: : Failed to resolve 'www.delhisldc.org' ([Errno -5] No address associated with hostname) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 667, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 875, in urlopen return self.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 875, in urlopen return self.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 875, in urlopen return self.urlopen( ^^^^^^^^^^^^^ [Previous line repeated 2 more times] File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 845, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 517, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.delhisldc.org', port=443): Max retries exceeded with url: /Redirect.aspx?Loc=0804 (Caused by NameResolutionError(": Failed to resolve 'www.delhisldc.org' ([Errno -5] No address associated with hostname)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/peak-backend/public/climakosh-python-script-production/discom_delhi.py", line 292, in fetch_tables resp = session.get(url, timeout=30, allow_redirects=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/sessions.py", line 602, in get return self.request("GET", url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.delhisldc.org', port=443): Max retries exceeded with url: /Redirect.aspx?Loc=0804 (Caused by NameResolutionError(": Failed to resolve 'www.delhisldc.org' ([Errno -5] No address associated with hostname)")) 2026-03-24 12:54:41,287 - discom_delhi_scraper - ERROR - [CYCLE_FAILURE] Fetch failed for https://www.delhisldc.org/Redirect.aspx?Loc=0804; no payload generated this cycle.