Storm-Breaker icon indicating copy to clipboard operation
Storm-Breaker copied to clipboard

`sudo python3 st.py` error

Open jingjicaiji opened this issue 2 years ago • 4 comments

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) BlockingIOError: [Errno 11] Resource temporarily unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 1040, in _validate_conn conn.connect() File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fd6460a73d0>: Failed to establish a new connection: [Errno 11] Resource temporarily unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.ipify.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd6460a73d0>: Failed to establish a new connection: [Errno 11] Resource temporarily unavailable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/lientong/Storm-Breaker/st.py", line 2, in check.dependency() File "/home/lientong/Storm-Breaker/module/check.py", line 38, in dependency http = requests.get("https://api.ipify.org/").text File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.ipify.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd6460a73d0>: Failed to establish a new connection: [Errno 11] Resource temporarily unavailable'))

jingjicaiji avatar Jun 25 '22 17:06 jingjicaiji

Im noob on hack :(

jingjicaiji avatar Jun 25 '22 17:06 jingjicaiji

So is my problem. Is there any solution?

daniumazhang avatar Jun 27 '22 05:06 daniumazhang

The same problem, no solution is found for the time being

jiaochenglong avatar Aug 04 '22 09:08 jiaochenglong

i have same problem as you

SangPenyalang avatar Sep 30 '22 15:09 SangPenyalang

is there solution for this problem

gtchealth avatar Feb 16 '23 07:02 gtchealth

same problem

pkoluguri avatar Feb 18 '23 17:02 pkoluguri

same

AStra0101010 avatar Jun 28 '23 21:06 AStra0101010

i got solution -- use 8.8.8.8 dns on ipv4 and also turn on ipv6 on network settings

predatorcheater avatar Jul 26 '23 17:07 predatorcheater