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

AttributeError: 'WrappedSocket' object has no attribute 'getpeername' #15

Open
N0o01 opened this issue Mar 29, 2022 · 1 comment
Open

Comments

@N0o01
Copy link

N0o01 commented Mar 29, 2022

AttributeError: 'WrappedSocket' object has no attribute 'getpeername'
Exception in thread Thread - 2:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/Applications/Xc7ACD/APP/AppInfoScanner/libs/core/net.py", line 88, in run
self.get_Http_info(threadLock)
File "/Applications/Xc7ACD/APP/AppInfoScanner/libs/core/net.py", line 29, in get_Http_info
result = self.get_request_result(url_ip)
File "/Applications/Xc7ACD/APP/AppInfoScanner/libs/core/net.py", line 66, in get_request_result
des_ip = sock.getpeername()[0]
AttributeError: 'WrappedSocket' object has no attribute 'getpeername'

@kelvinBen
Copy link
Owner

这个问题与本地环境有关系,可以尝试更新一下本地python环境

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