A
Admincraftโ€ข2d ago
Lily

luckperms pterodactyl time out

hey everyone so I'm trying to get pterodactyl and luckperms to play nice together but it keeps timing out THINGS I'VE TRIED docker network inspect pterodactyl_nw (and put the ipv4 and subnet of the container in the address area of the config)
Solution:
it was your 8080 port being blocked, wasn't it
Jump to solution
48 Replies
Tamz
Tamzโ€ข2d ago
Logs of it timing out Is the db property setup
Lily
LilyOPโ€ข2d ago
it should be want the logs from the console or the folder?
Lily
LilyOPโ€ข2d ago
Tamz
Tamzโ€ข2d ago
both just anything showing it
Lily
LilyOPโ€ข2d ago
okay
Lily
LilyOPโ€ข2d ago
Pastebin
pterodactyl error - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Lily
LilyOPโ€ข2d ago
there's the full error aka the lastest.log it's a connection refused error even though put in the right username and password
Tamz
Tamzโ€ข2d ago
Do you have port 3306 open?
Lily
LilyOPโ€ข2d ago
I should as everything is running off 1 server so it shouldn't need to be opened
Tamz
Tamzโ€ข2d ago
could you try using 127.0.0.1 instead of 172?
Tamz
Tamzโ€ข2d ago
Stack Overflow
Failed to connect to mysql at 127.0.0.1:3306 with user root access ...
I've been trying to create a new database connection on workbench. However, every time I test a connection there is an error message that says Failed to connect to mysql at 127.0.0.1:3306 with u...
Lily
LilyOPโ€ข2d ago
same error as it's pterodactyl so it doesn't use 127.0.0.1 is uses 172.18.0.2 (in my case as the ipv4 address of the network container)
Tamz
Tamzโ€ข2d ago
Odd, you should still be able to use 127.0.0.1
Lily
LilyOPโ€ข2d ago
your not very bright with pterodactyl are you? (it uses docker by default lol) so the panel and servers run inside of a docker container
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
what's your architecture I don't use ptero nor docker, but that will give more insight for people helping you
Lily
LilyOPโ€ข2d ago
Ubuntu 22.04 (latest Ubuntu 4 seasons provides)
Tamz
Tamzโ€ข2d ago
damn thanks ig
Lily
LilyOPโ€ข2d ago
ah I just use whatever the official documentation sets up (looks like there are a few a bridge, host, none and the pterodactyl_nw) sorry kind of newer to docker myself
l3st4t (ใ…‡ใ……ใ…‡โ€)
https://pterodactyl.io/community/games/minecraft.html Using this for port 3306 should work.
Minecraft | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
l3st4t (ใ…‡ใ……ใ…‡โ€)
also there's something else, gimme a min
Snow Kit
Snow Kitโ€ข2d ago
do you have ufw/iptables setup to block traffic?
Lily
LilyOPโ€ข2d ago
I just allowed it through both so let's see if that works but it's running all on the same server so shouldn't matter
Snow Kit
Snow Kitโ€ข2d ago
yeah, ufw will block traffic to/from docker containers
Lily
LilyOPโ€ข2d ago
yep same error
Snow Kit
Snow Kitโ€ข2d ago
whatโ€™s mysql listening on?
Snow Kit
Snow Kitโ€ข2d ago
as in the ip
Lily
LilyOPโ€ข2d ago
0.0.0.0
Snow Kit
Snow Kitโ€ข2d ago
can you connect to it from another computer on the network?
Lily
LilyOPโ€ข2d ago
the server isn't with me so I don't know how I think using mariadb there is a way to test that but I forgot how
l3st4t (ใ…‡ใ……ใ…‡โ€)
make sure the mysql config is set to 0.0.0.0, and restart mariadb
No description
Lily
LilyOPโ€ข2d ago
I did that I was using the wrong ip :Facepalm: and now it's not connecting at all (like the wings and pterodactyl aren't connecting)
l3st4t (ใ…‡ใ……ใ…‡โ€)
so the panel doesn't have connection to wings? can you grab a panel log
Lily
LilyOPโ€ข2d ago
how do I do that?
l3st4t (ใ…‡ใ……ใ…‡โ€)
Troubleshooting | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Lily
LilyOPโ€ข2d ago
the latest log I have is from 2/28 when I installed it
l3st4t (ใ…‡ใ……ใ…‡โ€)
okay so that won't work then can you check the network tab? inspect element on your browser, and then go to the Network tab and then refresh with that tab open
Lily
LilyOPโ€ข2d ago
done
l3st4t (ใ…‡ใ……ใ…‡โ€)
what error does it bring up? one of the connections should error out
Lily
LilyOPโ€ข2d ago
um I'm on brave and a few connections got canceled but nothing more (they're for the system thing btw)
l3st4t (ใ…‡ใ……ใ…‡โ€)
okay nvm it's not the network tab it's console
Lily
LilyOPโ€ข2d ago
I figured it out UFW and Ip tables where blocking the port
Solution
l3st4t (ใ…‡ใ……ใ…‡โ€)
it was your 8080 port being blocked, wasn't it
Lily
LilyOPโ€ข2d ago
yep :Facepalm:
l3st4t (ใ…‡ใ……ใ…‡โ€)
glad you figured it out
Lily
LilyOPโ€ข2d ago
same thanks for the help it works now ๐Ÿ™‚

Did you find this page helpful?