MinecraftServerControl / msc-gui

A web-based GUI for Minecraft Server Control (PROOF OF CONCEPT)
BSD 2-Clause "Simplified" License
12 stars 4 forks source link

Time-out error when connecting from an external system #9

Closed Njensen6 closed 2 years ago

Njensen6 commented 2 years ago

I followed what instructions there were for setting up msc-gui and after configuring port forwarding and my firewalls to allow 8080, I get the screen below and the time-out error after 3 seconds.

Any ideas what I missed? Any update on a more updated installation guide for the gui, as well? msc-gui time-out error ?

sandain commented 2 years ago

Hi @Njensen6. No development has happened on this GUI project in over 2 years unfortunately. I've been too busy to work on it personally, and no one else has picked up the slack. With that said, it is somewhat functional. I just installed it on my minecraft server using the make install method, and it worked after I added a missing dependency by running apt install libmojolicious-perl.

As to why it is not working for you...

If you get this working and feel like contributing to the project, I would be happy for the help.

Njensen6 commented 2 years ago

@sandain I also ran the make install, and added the missing dependency as well.

  • Do you have mscs and msc-gui installed on the same system?
  • Can you run mscs status on that system and get valid results?
  • Did you modify the username that mscs uses to run? Both msc-gui and mscs need to be run using the same user (default is minecraft).

They are both on the same system, RPi 4 running Ubuntu Server 20.04 I can; I also verified that msc-gui is reporting active msc-gui time-out error 2 I did not modify the minecraft user at all. I also verified that minecraft is the owner of the entire mscs directory at /opt/mscs.

I am going to keep playing around with it, I may even remove msc-gui and redo the make install process just to cover all my bases if I cannot get it working. This (and MCSC) is an awesome project btw, and I will contribute whatever I can.

sandain commented 2 years ago

Maybe your mscs install is too old? Try running mscs status-json to verify that you have the function that is actually used by msc-gui (I forgot that it doesn't use mscs status). I don't know, I'm reaching at straws here.

Njensen6 commented 2 years ago

Sorry for the long delay in reply here; I figured out the issue. It was not the program at all. I forgot that I have a DDNS setup, so as soon as I changed from http://<serverIP>:8080 to http://<DDNS>:8080 it worked like a charm with the port forwarding I set up. Thank you for the assistance!