Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

BrokenPipeError: [Errno 32] Broken pipe #87

Closed Sadashii closed 4 years ago

Sadashii commented 4 years ago

Hello there

I have tried to do all the 3 things: query, status and ping on my server but always get this error (BrokenPipeError: [Errno 32] Broken pipe)

Please help

kevinkjt2000 commented 4 years ago

Please provide more info... Are the ports open on your server? Is there any other firewall between you and the server? Can you ping the server's IP? Is your minecraft server running at least version 1.7? Is it modded? Is the server running? What version of mcstatus are you using? What version of python? Try to provide details when asking a question online; otherwise, no one can help you...

Can you run python scripts? I'd like to see the output of:

from mcstatus import MinecraftServer
server = MinecraftServer("example.org", "25565") # replace example.org with the IP address or DNS name of your own server

latency = server.ping()
print("Latency:", latency)

status = server.status()
print("Raw status:", status.raw)
kevinkjt2000 commented 4 years ago

Closing due to a lack of info. Please re-open once info is provided.