webdisplays
webdisplays copied to clipboard
Server block - Query error
Trying to use a server block on 1.12.2 WebDisplays. Upon trying to use most commands (ls, quota, url), I get a 'Query Error, try "reconnect".' message. Am I doing something wrong here?
https://i.imgur.com/q7DgqF3.png
@montoyo
Interesting; will most definitely need your logs. If you don't know where to find them, check this out. Also try the reconnect command as suggested and screenshot the output here.
oh, you actually answered! I thought, this repo is no longer maintained and I'm the only active person left
Yeah. Since Nic got MCEF working on Mac I figured that maybe MCEF and WebDisplays do have a future. Guess we'll see. Also that issue is interesting.
WebDisplays Version 1.1 (Minecraft 1.12.2) Forge Server 14.23.5.2838
How to reproduce: Place down Server block, right click, and attempt to use any of the commands "ls", "quota", and "url"
Video: https://streamable.com/0in8zm Server logs: https://hastebin.com/oqetayesot.md
The issue does not occur in singleplayer. Let me know if I'm missing any info.
Thank you. For some reason I don't see any WebDisplays/Miniserv-related information in the server logs, which is very weird... could you also send us the WebDisplays config of the server?
Also, are you familiar with the concept of ports? MiniServ (= the server block) uses an extra port, 25566 by default. If another process is using this port or if the server's firewall is blocking it, the server block will not work.
why wouldn't WD check if its working port is already binded and use some other one, say, 25567?
Because I forgot or I was lazy, can't remember. But yeah, that's something that should be added. Solves only part of the problem though: it will make sure the port is unbound but I don't think there's a way to check if the port is blocked by the firewall.
Also, are you familiar with the concept of ports? MiniServ (= the server block) uses an extra port, 25566 by default. If another process is using this port or if the server's firewall is blocking it, the server block will not work.
https://hastebin.com/wemonojoje.php
I'm familiar with ports, however, I'm hosting the server on server.pro, so I'm not sure if I'd be able to access the firewall, which is probably the problem.
try contacting their support
Thanks for sending the config. So yeah, miniServ is enabled on port 25566. Before contacting the support, you could try to change the miniservPort
property in the config file on the server and all clients
I don't think that would go, though: if I was an admin, I would configure the firewall that way, so only 25565 will stay open (because why would the normal user need something else, and also because of security reasons), so whatever they will try to change it to, it will still be closed. That's just a theory, though..
Maybe, maybe not... I think rcon is using 25566 by default and that's something a commercial server would have enabled...
In any case, its worth trying
probably.. ~~also, montoyo, take a look at #82, that issue might be also "interesting"~~
Nah. This is most certainly due to mod incompatibility. Also the guy kept mentioning me for no goddamn reason.
Thanks for the suggestion. I'll try changing the port next time I'm the only one on the server.
Tried using some different ports, still seems to produce the same thing.