#Error 28 will not resolve

2 messages · Page 1 of 1 (latest)

wraith iris
#

Hello, thank you for taking the time to review. I've been having a problem with my panel connecting to wings using port 8080 and 2022. Below are the errors I've received and the different places I've checked for problems.

When I run:
sudo tail -n 1000 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | sudo grep "[$(date +%Y)"

I get error 28:
production.WARNING: GuzzleHttp\Exception\ConnectException: cURL error 28: Failed to connect to panel.crows-craw.com port 8080 after 5002 ms: Timeout was reached (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://panel.crows-craw.com:8080/api/system in /var/www/pterodactyl/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:275

When I run:
sudo wings --debug

I get:
FATAL: [Aug 21 23:16:27.593] failed to initialize the sftp server error=listen tcp 0.0.0.0:2022: bind: address already in use

In my testing the address already in use error has occurred for both port 2022 and 8080.

When I look at what is using ports 2022 and 8080, it's just an already running wings process. Stopping wings does free up those ports, but upon wings starting again, the same error occurs.

sudo killall -9 wings

followed by sudo wings --debug

returns: [Aug 21 23:24:28.651] failed to configure HTTPS server auto_tls=false error=listen tcp 0.0.0.0:8080: bind: address already in use

I am running wings on a server I have physical access to and I have wireguard set up to route all game traffic between my server and a server on the cloud to obscure my IP. For testing, I've disabled wireguard on the physical server I have access to to make sure it's not interfering in the panel being able to reach wings.

I also have the panel running on https and I have my node set to the following settings:
Use SSL connection
Not behind proxy
Maintenance Mode: Disabled
Daemon Port: 8080
Daemon SFTP Port: 2022

sinful violetBOT
#

You already have an instance of Wings running through systemd service and are trying to start another duplicate instance, for example by using the commands wings and wings --debug, or another service is using the port.

Use ss -plnt | grep 2022 to find what process is currently running and stop it. You can type killall -9 wings to shutdown any ghost Wings process if you are intentionally attempting to run Wings in debug manually.