BT-Pluginz / VelocityPteroPower

This is a Plugin for Velocity Servers which can dynamically start and stop servers that are managed with the Pterodactyl Server Panel
MIT License
1 stars 1 forks source link

Plugin causes a timeout error when joining. #5

Closed NoSadBeHappy closed 37 minutes ago

NoSadBeHappy commented 3 months ago

I added the plugin to my velocity, which has 4 backend servers. After configuring everything, it seemed to start up fine with no errors in the console, but when I try to join I get an error, logs posted below. There is no activity in the lobby server.

latest.log

TubYoub commented 3 months ago

Hi, could you provide your config file? without the key and a changed IP/domain. I actually had a similar issue yesterday when the Plugin couldnt reach the the panel, maybe its the same issue which ill have to take a look at.

NoSadBeHappy commented 3 months ago

Sure, here you go. (renamed to .txt because github was mad about .yml for some reason.

config.txt

TubYoub commented 3 months ago

so the Plugin cant reach your Panel for some reason either you put a wrong IP (maybe a local one) or a wrong domain? and for future log files please use https://mclo.gs and for files something like hastbin sry i am tired and cant read. Your server needs more resources, when my plugin trys to make an http request to the panel it cant because your Velocity server is out of memory. Try and allocate more to it

NoSadBeHappy commented 2 months ago

ohh the pterodactyl is out of memory, that makes sense.

NoSadBeHappy commented 2 months ago

So I gave pterodactyl a bit more memory, but it still has the issue and I am confused at why its a memory issue. Pterodactyl is only using half of the allotted memory, and my host has plenty too. image

My velocity server is also only using roughly half of the allotted memory.

Edit: forgot to say that all my servers are already up as well, and nowhere near using all the allotted memory.

NoSadBeHappy commented 2 months ago

update: if I stop all of my backend servers, it has no error and just times out.

TubYoub commented 2 months ago

OK that sounds weird, could you try starting the velocity Server without VPP? If it still has the sake error ITA something with your network settings or perhaps another Plugin is causing issues

NoSadBeHappy commented 2 months ago

Without everything works fine.

TubYoub commented 2 months ago

Now try adding the Plugins back one by one and look which Plugin causes thr issue, when its VPP i will have a look but simnce no one else has a Problem like you i highly doupt that

NoSadBeHappy commented 2 months ago

It is. I posted it here, because it's a problem with this plugin, or at least this in combination with something else I have.

TubYoub commented 2 months ago

If it is my Plugin. I need the Server version, with which Plugin it dies it cause this issue? Wahr are the resources allocated to the Server? From my standpoint your velocity runs out of memory without more info i cant investigate further and i cant recreate your issue

NoSadBeHappy commented 2 months ago

Here are my plugins on the velocity server: image

I am running pterodactyl on proxmox with 12gb of ram, with 2 gb allocated to velocity.

If velocity was to run out of memory, wouldn't velocity itself throw an error message or just crash? It doesn't make sense that it would only have the error in the velocity logs.

TubYoub commented 2 months ago

Sry had no time to answer but i unfortunatly not reproduce the error you experience with the VPP. I also use a similar setup in my private setup so maybe you have a config issue somewhere? Or what i do just reinstall the server if i have a issue of this kind