#Error 504 - Cannot connect to daemon

18 messages · Page 1 of 1 (latest)

jaunty arch
#

This means something is wrong with your firewall/security

fierce rose
#

This setup isn't new, it's been up for many months and is only now having issues. I am local to the host network wise

#

This instance is being run baremetal with Ubuntu, and yes UFW is disabled

#

"DaemonConnectionException"

#

"Could not establish a connection to the machine running this server. Please try again."

arctic mesaBOT
#

@fierce rose It looks like you are having issues with connecting to Wings.

Make sure that your wings are running using systemctl status wings and that your Wings ports (by default 8080/2022) are open in your firewall or router. This website can check your ports https://dnschecker.org/port-scanner.php

Browser console errors can also provide additional debugging information. More troubleshooting steps can be found at https://pterodactyl.io/panel/1.0/troubleshooting.html#cannot-connect-to-server-errors

Should the panel and wings be located on the same network, you might experience NAT reflection issues. In that case, type .nat for more information.

#

Suppose you are having trouble connecting to a Panel or Node on the same network as your device, or Panel and Wings can't reach each other on the same network. In that case, you may have to edit your /etc/hosts file to point the domain to the local IP, as some routers don't handle NAT Loopback correctly, if at all. On Windows, this file is at C:\Windows\System32\Drivers\etc\hosts

192.168.1.24 panel.mydomain.com node1.mydomain.com
192.168.1.25 node2.mydomain.com
fierce rose
#

Both my system and the server are pointing to a local DNS server which resolves both panel and daemon correctly inside the network

#

help 😄

#

I can connect to SFTP through WinSCP

#

just can't connect to the files through web

#

API bad response (504)

#

F it, I'm installing fresh.

jaunty arch
#

if you use it ofc

#

504 is returned by proxies like cloudflare or nginx

#

so nginx will return 504 if it cant reach something

#

and cloudflare will return 504 if it can't reach the backend