Error when attempting to access Minecraft server via web
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:
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!
@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?
@nebulon - other apps are working pretty well, and we also have up to three players playing at the same time without slow performance.
@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 firstname.lastname@example.org with the dashboard domain.
@nebulon I have just done what you suggest, thanks.
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.