PassTheMayo / minecraft-server-util

A Node.js library for Minecraft servers that can retrieve status, query, RCON, and send Votifier votes.
https://passthemayo.gitbook.io/minecraft-server-util/
MIT License
141 stars 24 forks source link

bug: Timed Out #54

Closed MasterHaxixu closed 2 years ago

MasterHaxixu commented 3 years ago

This Happenes when I link a server that is on, btw the server is on cause i tested it on mcsrvstat.us

code: Error: Timed out while waiting for server response at UDPSocket.readPacket (/home/runner/Daddy-Bot-1/node_modules/minecraft-server-util/dist/structure/UDPSocket.js:46:75) at Object. (/home/runner/Daddy-Bot-1/node_modules/minecraft-server-util/dist/statusBedrock.js:65:45) at Generator.next () at fulfilled (/home/runner/Daddy-Bot-1/node_modules/minecraft-server-util/dist/statusBedrock.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5)

PassTheMayo commented 3 years ago

Just looking at the stack trace, you're using statusBedrock() or query<Full>? Also what IP address are you testing with so I can reproduce? I'm gonna need more information than this.

BochilGaming commented 3 years ago

Just looking at the stack trace, you're using statusBedrock() or query<Full>? Also what IP address are you testing with so I can reproduce? I'm gonna need more information than this.

same issue, I used statusBedrock() and it appears like that

squeaky2137 commented 3 years ago

Same issue here on statusBedrock()

Edit: its fine im just using query now :p

PassTheMayo commented 2 years ago

This seems to have been fixed in some of the newer versions. If anybody experiences this issue again, I will open this back up.