Traceback (most recent call last):
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connection.py", line 204, in _new_conn
sock = connection.create_connection(
(self._dns_host, self.port), ...<2 lines>... socket_options=self.socket_options,
)
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
~~~~^^^^
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connectionpool.py", line 788, in urlopen
response = self._make_request(
conn, ...<10 lines>... **response_kw,
)
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connectionpool.py", line 488, in _make_request
raise new_e
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connectionpool.py", line 464, in _make_request
self._validate_conn(conn)
~~~~~~~^^^^^^
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connectionpool.py", line 1106, in _validate_conn
conn.connect()
~~~~^^
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connection.py", line 759, in connect
self.sock = sock = self._new_conn()
~~~~~~^^
File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connection.py", line 213, in _new_conn
raise ConnectTimeoutError(
...<2 lines>...
) from e
urllib3.exceptions.ConnectTimeoutError: (, Connection to www.governmentjobs.com timed out. (connect timeout=180))
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\requests\adapters.py", line 696, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\connectionpool.py", line 842, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\urllib3\util\retry.py", line 543, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=www.governmentjobs.com, port=443): Max retries exceeded with url: /careers/srcity/jobs/5260980/recreation-temporary-seasonal (Caused by ConnectTimeoutError(, Connection to www.governmentjobs.com timed out. (connect timeout=180)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\jobsgenericwebcrawlerapp\main\LegacySpiderClass.py", line 165, in read_post response = self.session.request( method=method, ...<5 lines>... kwargs ) File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\requests\sessions.py", line 651, in request resp = self.send(prep, send_kwargs) File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\requests\sessions.py", line 784, in send r = adapter.send(request, **kwargs) File "C:\Users\autospider\AppData\Roaming\Python\Python314\site-packages\requests\adapters.py", line 717, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host=www.governmentjobs.com, port=443): Max retries exceeded with url: /careers/srcity/jobs/5260980/recreation-temporary-seasonal (Caused by ConnectTimeoutError(, Connection to www.governmentjobs.com timed out. (connect timeout=180)))