Code: Select all
https://lazyslug.com/ is unreachable.
ERR_ADDRESS_UNREACHABLE
Code: Select all
>>> requests.get("http://lazyslug.com")
Traceback (most recent call last):
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 51] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1257, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1303, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1252, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1012, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 952, in send
self.connect()
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/Users/carsoncheng/Library/Python/3.9/lib/python/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f983014c160>: Failed to establish a new connection: [Errno 51] Network is unreachable