Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Pterodactyl #11

Open
kessel-itde opened this issue Oct 22, 2023 · 3 comments
Open

Error with Pterodactyl #11

kessel-itde opened this issue Oct 22, 2023 · 3 comments

Comments

@kessel-itde
Copy link

Good evening,

I tried to install the script with Pterodactyl. Installation and login work without problems, but the created container can not connect to the game server:

All servers in DB: [
{
id: 1,
serverIP: '193.142.41.162',
serverPort: 26505,
rconPassword: 'hidden'
}
]
CONNECTING RCON 1 193.142.41.162 26505
RCON Authentication failed 1 Error: connect ECONNREFUSED 193.142.41.162:26505
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '193.142.41.162',
port: 26505
}
Connection issue detected, reconnecting to the server: 1
starting disconnect 1
CONNECTING RCON 1 193.142.41.162 26505
RCON Authentication failed 1 Error: connect ECONNREFUSED 193.142.41.162:26505
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '193.142.41.162',
port: 26505
}
Unable to establish connection to the server id: 1, cannot execute command: hostname
TypeError: Cannot read properties of undefined (reading 'trim')
at /home/container/routes/server.js:83:65
at processTicksAndRejections (node:internal/process/task_queues:95:5)

But the game server is online and the rcon_password works. Someone got an idea?

@shobhit-pathak
Copy link
Owner

Since we are getting the error 'ECONNREFUSED', are you sure that your game server is reachable from the panel server?
If you are on the same network, you can also try using internal IP address

@kessel-itde
Copy link
Author

the server is reachable, i can not figure out the error. do you have discord?

@shobhit-pathak
Copy link
Owner

Hi, you can DM me on my discord: wdgodxd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants