Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectionRefusedError: [Errno 111] Connection refused #323

Open
jarno520 opened this issue Jan 9, 2025 · 1 comment
Open

ConnectionRefusedError: [Errno 111] Connection refused #323

jarno520 opened this issue Jan 9, 2025 · 1 comment

Comments

@jarno520
Copy link

jarno520 commented Jan 9, 2025

0.8.2 version
when use:
─# reflutter /root/AndroidStudioProjects/split_config.arm64_v8a.apk

Choose an option:

  1. Traffic monitoring and interception
  2. Display absolute code offset for functions

[1/2]? 1
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 1317, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 1230, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 1276, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 1225, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 1004, in _send_output
self.send(msg)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 944, in send
self.connect()
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 1392, in connect
super().connect()
File "/root/.pyenv/versions/3.8.0/lib/python3.8/http/client.py", line 915, in connect
self.sock = self._create_connection(
File "/root/.pyenv/versions/3.8.0/lib/python3.8/socket.py", line 807, in create_connection
raise err
File "/root/.pyenv/versions/3.8.0/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.0/bin/reflutter", line 10, in
sys.exit(main())
File "/root/.pyenv/versions/3.8.0/lib/python3.8/site-packages/src/init.py", line 447, in main
extractZip(sys.argv[1])
File "/root/.pyenv/versions/3.8.0/lib/python3.8/site-packages/src/init.py", line 435, in extractZip
replaceLibFlutter()
File "/root/.pyenv/versions/3.8.0/lib/python3.8/site-packages/src/init.py", line 188, in replaceLibFlutter
checkHash()
File "/root/.pyenv/versions/3.8.0/lib/python3.8/site-packages/src/init.py", line 395, in checkHash
resp = urlopen('https://raw.githubusercontent.com/Impact-I/reFlutter/main/enginehash.csv').read().decode('utf-8')
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 1360, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/root/.pyenv/versions/3.8.0/lib/python3.8/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

@jayluxferro
Copy link
Collaborator

@jarno520 , you require internet access when performing the reflutter. And please note that you can do that on a split apk. You need to use apkeditor to merge the split apks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants