Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Error when attempting to access Minecraft server via web

    Minecraft
    2
    6
    359
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      madrush last edited by madrush

      Hi there, I am following up on an issue I'm seeing when trying to access Minecraft Server via the web as an admin, like this:

      Minecraft_Server.jpg

      The error, across all browsers, but intermittently, is that the Login button click doesn't work. And sometimes the input fields do not appear at all. Yet sometimes the form works and I am able to access the in-game command line.

      Web inspector shows the following errors:

      Error: Internal Server Error
          Request https://minecraft.cosmos.coop/js/superagent.js:74
          emit https://minecraft.cosmos.coop/js/superagent.js:49
          onreadystatechange https://minecraft.cosmos.coop/js/superagent.js:90
      

      In the server logs for the app, I am seeing this:

      Apr 17 15:23:53 ERROR ServiceUnavailableError: Response timeout
      Apr 17 15:23:53 at IncomingMessage.<anonymous> (/app/code/node_modules/connect-timeout/index.js:84:8)
      Apr 17 15:23:53 at IncomingMessage.emit (events.js:315:20)
      Apr 17 15:23:53 at Timeout.<anonymous> (/app/code/node_modules/connect-timeout/index.js:49:11)
      Apr 17 15:23:53 at listOnTimeout (internal/timers.js:554:17)
      Apr 17 15:23:53 at processTimers (internal/timers.js:497:7) [ /app/code/node_modules/express/lib/application.js:630:43 ]
      

      Can someone help me decode those errors? Thanks for your help!

      nebulon 1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff @madrush last edited by

        @madrush since you indicate that this sometimes works and sometimes not, with additional fluctuating behavior, together with the timeout, it may be that the server is just slow to respond. Do you see generally slowness with other apps?

        M 1 Reply Last reply Reply Quote 0
        • M
          madrush @nebulon last edited by

          @nebulon - other apps are working pretty well, and we also have up to three players playing at the same time without slow performance.

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @madrush last edited by

            @madrush without further information, I think I have to debug this myself on your server then, since the thing which errors is quite the simple nodejs app in the end.
            If you want, enable SSH remote support on your server and send us a mail to support@cloudron.io with the dashboard domain.

            M 1 Reply Last reply Reply Quote 0
            • M
              madrush @nebulon last edited by

              @nebulon I have just done what you suggest, thanks.

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                To given an update here after debugging this. It turned out the server is just very slow to respond sometimes due to disk I/O being slow. There is no real solution besides increasing timeouts, which may cause all kinds of other side-effects.

                The error reporting inside the minecraft admin webui could be improved to give more indication besides internal server error though, have to see when I find time for this though.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB