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

测试延迟时报错 #4

Open
longhuan1999 opened this issue Mar 1, 2020 · 2 comments
Open

测试延迟时报错 #4

longhuan1999 opened this issue Mar 1, 2020 · 2 comments

Comments

@longhuan1999
Copy link

QQ截图20200301163358

当前akamTester版本: 4.0
第一次解析:
正在对 upos-hz-mirrorakam.akamaized.net 进行全球解析……
upos-hz-mirrorakam.akamaized.net 的全球解析已完成

第二次解析:
正在对 upos-hz-mirrorakam.akamaized.net 进行全球解析……
upos-hz-mirrorakam.akamaized.net 的全球解析已完成

第三次解析:
正在对 upos-hz-mirrorakam.akamaized.net 进行全球解析……
upos-hz-mirrorakam.akamaized.net 的全球解析已完成

共取得 64 个 IP, 开始测试延迟

Traceback (most recent call last):
File "akamTester.py", line 80, in
delay = ping_test(ip)
File "akamTester.py", line 20, in ping_test
result = ping(ip, count=5)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\pythonping_init_.py", line 52, in ping
comm = executor.Communicator(target, provider, timeout, socket_options=options, verbose=verbose, output=out)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\pythonping\executor.py", line 239, in init
self.socket = network.Socket(target, 'icmp', source=None, options=socket_options)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\pythonping\network.py", line 22, in init
self.protocol = socket.getprotobyname(protocol)
OSError: protocol not found
Exception ignored in: <function Socket.del at 0x036C4780>
Traceback (most recent call last):
File "C:\Program Files (x86)\Python37-32\lib\site-packages\pythonping\network.py", line 60, in del
raise AttributeError("Attribute error because of failed socket init. Make sure you have the root privilege."
AttributeError: Attribute error because of failed socket init. Make sure you have the root privilege. This error may also be caused from DNS resolution problems.

@miyouzi
Copy link
Owner

miyouzi commented Mar 1, 2020

请问系统具体版本是?

@longhuan1999
Copy link
Author

windows10
管理员模式运行cmd.exe,再执行akamTester_v4.0.exe,依然报错

C:\Users\longhuan\Desktop\akamTester_v4.0>akamTester_v4.0.exe
当前akamTester版本: 4.0
第一次解析:
正在对 upos-hz-mirrorakam.akamaized.net 进行全球解析……
upos-hz-mirrorakam.akamaized.net 的全球解析已完成

第二次解析:
正在对 upos-hz-mirrorakam.akamaized.net 进行全球解析……
upos-hz-mirrorakam.akamaized.net 的全球解析已完成

第三次解析:
正在对 upos-hz-mirrorakam.akamaized.net 进行全球解析……
upos-hz-mirrorakam.akamaized.net 的全球解析已完成

共取得 79 个 IP, 开始测试延迟

Traceback (most recent call last):
File "akamTester.py", line 80, in
File "akamTester.py", line 20, in ping_test
File "site-packages\pythonping_init_.py", line 52, in ping
File "site-packages\pythonping\executor.py", line 239, in init
File "site-packages\pythonping\network.py", line 22, in init
OSError: protocol not found
[11296] Failed to execute script akamTester
Exception ignored in: <function Socket.del at 0x02DA5588>
Traceback (most recent call last):
File "site-packages\pythonping\network.py", line 60, in del
AttributeError: Attribute error because of failed socket init. Make sure you have the root privilege. This error may also be caused from DNS resolution problems.

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