Code Monkey home page Code Monkey logo

Comments (11)

vincss avatar vincss commented on August 10, 2024 1

Hi !
You don't see any relevant information in minecraft's log or SleepingServer's log ? Can you post them ?

from mcsleepingserverstarter.

vincss avatar vincss commented on August 10, 2024 1

I'm trying to reproduce the crash but didn't manage to reproduce for now.
There is no clear indication of what's wrong in the logs.
Do you have the web-server enabled ? (from the logs, it doesn't seem to be enabled.)

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024 1

Yeah sure! I will take a look later tonight

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024

oh yes sorry,
The Minecraft log looks normal to me. take a look yourself: (btw logs are all the same.)
https://pastebin.com/LQCRV65Y

I did take a better look at the sleeperserver's logs and it seems to be inconsistent where it crashes. also, more than I originally thought. : sleeperserver logs
one thing to point out, at some point a ping bot found my server and constantly was pinging the server.

sadly I'm not finding in the log anything directly pointing to what the problem could be.

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024

SO the bug finaly clearly accured on one of my servers:
It seems like if 2 players try to join at the same time while sleeperserver is trying to startup the minecraft server, thats when things go wrong.

Server sleeper logs
https://pastebin.com/F2PWQeWM

minecraft server logs
https://pastebin.com/dfv6pxP4

Im sorry for my last few posts weren't up to the normal standard.

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024

I'm trying to reproduce the crash but didn't manage to reproduce it for now.

The bug is a bit stubborn. I only had seen it occur when two or more players different try to join at the same time.

There is no clear indication of what's wrong in the logs.

I've read the sleeper-server log a little better. Here are my thoughts on what could be happening. Grab a small drink and strap in. ;-)

From lines 38 to 45:
Two players join a few seconds after each other.

Player 1: Triggers the server startup and receives best regards message
Player 2: starts the server up too but can't because player 1 already did it. Also still receives best regards message. (triggering the bug later on)
** Sleeper server stops and Minecraft server starts up after 5 min shuts down**

From line 56
I think here is where the bug occurs.
First, the sleeper server wakes up. Then wakes the Minecraft server immediately up without a timeout and anyone asking it to startup.
It could be happening because the startup flag of player 2 is still set.

After the Minecraft server shuts down, sleeper-server somehow ain't able to wake up/startup and crashes.

Do you have the webserver enabled? (from the logs, it doesn't seem to be enabled.)

Nope, I don't have it enabled.

I hope this makes it at least a little better trying to understand what's happening.

edit: added serversleeper log

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024

Hi!

I've got a quick update on how it's going.
Today I went bug hunting with my friends. Now I'm sure it only occurs when two or more players join somewhat simultaneously.

After the previous Minecraft server has shut down, the sleeperserver immediately stops and starts up the Minecraft server again. It does this until some event causes it to crash.

Here below is the serversleeper log, with the bit where serversleeper crashes.
https://pastebin.com/dUi8Qt6u

PS: Please look at the time between events, some things doesn't make any sense to me

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024

Bump

from mcsleepingserverstarter.

vincss avatar vincss commented on August 10, 2024

Did you try with the binary version ? 1.18.1 ?
I still cannot reproduce, so it's not easy to debug.

EDIT: Ok, I found something. I will try to fix it.

from mcsleepingserverstarter.

vincss avatar vincss commented on August 10, 2024

I made a new release : https://github.com/vincss/mcsleepingserverstarter/releases
Can you give it a try ?

from mcsleepingserverstarter.

sebasdt avatar sebasdt commented on August 10, 2024

hey man! sorry for taking so long to reply but it seems like the bug is fixed!
If it happens again I'll say it!

from mcsleepingserverstarter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.