-
Notifications
You must be signed in to change notification settings - Fork 7
Description
help pls
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Towa\AppData\Local\Programs\Python\Python39\lib\site-packages\mctools\mclient.py", line 709, in get_full_stats
chall = self.get_challenge().chall
File "C:\Users\Towa\AppData\Local\Programs\Python\Python39\lib\site-packages\mctools\mclient.py", line 645, in get_challenge
pack = self.raw_send(9, None, "chall")
File "C:\Users\Towa\AppData\Local\Programs\Python\Python39\lib\site-packages\mctools\mclient.py", line 625, in raw_send
self.proto.send(QUERYPacket(reqtype, self.reqid, chall, packet_type))
File "C:\Users\Towa\AppData\Local\Programs\Python\Python39\lib\site-packages\mctools\protocol.py", line 350, in send
self.write_udp(byts, self.host, self.port)
File "C:\Users\Towa\AppData\Local\Programs\Python\Python39\lib\site-packages\mctools\protocol.py", line 128, in write_udp
self.sock.sendto(byts, (host, port))
socket.gaierror: [Errno 11001] getaddrinfo failed
code:
from mctools import QUERYClient
query = QUERYClient('ip:port')
stats = query.get_full_stats()
Originally posted by @towux in #11 (comment)