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)
48 Replies
Logs of it timing out
Is the db property setup
it should be
want the logs from the console or the folder?
both just anything showing it
okay
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.
there's the full error
aka the lastest.log
it's a connection refused error even though put in the right username and password
Do you have port 3306 open?
I should as everything is running off 1 server
so it shouldn't need to be opened
could you try using 127.0.0.1 instead of 172?
https://stackoverflow.com/questions/25777943/failed-to-connect-to-mysql-at-127-0-0-13306-with-user-root-access-denied-for-us
Try following this if anything breaks
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...
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)
Odd, you should still be able to use 127.0.0.1
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
Ubuntu 22.04 (latest Ubuntu 4 seasons provides)
container architecture I mean
Something like this

damn thanks ig
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
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.
also there's something else, gimme a min
do you have ufw/iptables setup to block traffic?
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
yeah, ufw will block traffic to/from docker containers
yep same error
whatโs mysql listening on?
^^^^
as in the ip
0.0.0.0
can you connect to it from another computer on the network?
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
make sure the mysql config is set to 0.0.0.0, and restart mariadb

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)
so the panel doesn't have connection to wings?
can you grab a panel log
how do I do that?
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.
the latest log I have is from 2/28
when I installed it
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
done
what error does it bring up?
one of the connections should error out
um I'm on brave and a few connections got canceled but nothing more (they're for the system thing btw)
okay nvm it's not the network tab
it's console
I figured it out
UFW and Ip tables where blocking the port
Solution
it was your 8080 port being blocked, wasn't it
yep
:Facepalm:
glad you figured it out
same
thanks for the help
it works now
๐