200 Replies
That error means you already have something running on port 8443.
the problem is since I sent my sites to you it broke everything I have nothing working anymore and I have currently been ddos ββfor 24 hours
That is also an application error and not related to Cloudflare.
I followed several videos so one uses port 443 the other 8443 clearly its lost some use a tunnel me it doesn't work when I create a sub-domain on cloudflare with the dns for example vortex.nomdedomaine.fr and ba sa does not ping I have nothing and impossible to call since 2:00 a.m. French time because supposedly they are busy
so in the meantime I have 50 customers who are annoyed because the wings no longer work
and moreover I reinstalled everything and these are the same
The errors you are seeing are from the applications themselves. The second one is related to SQL variables
it's still weird I was at ionos no problem I'm coming to your place to protect it makes everything crash these crazy people
and the worst we can't call you for assistance how do I resolve my problems because here these are good they tell me this these etc but in the end it doesn't solve the problem
correlation != causation.
as Cyb3r-Jok3 already mentioned twice, the errors you are encountering are application related, not cloudflare related.
you might want to ask your question in a discord that offers support for pterodactyl?
You can try
kill -9 $(lsof -t -i:8443) && systemctl restart wings
. This will immediately kill all processes using port 8443 and restart the wings. However, I do not recommend killing processes in this way.
Especially since you don't really know what's going on on your server at allhey i have reinstalled pterodactyl and into mode wings --debug return :
You copied old configuration file?
so I modified everything I no longer have an error with wings on the other hand between wings and cloudflare it does not communicate I am with the deamon port 8443 and sftp 2053 and I don't have a green heart
the cert ssl is this ssl cloudflare origin server
remove your token, is visible to everyone
sorry
check the console logs in the browser why it does not connect or paste log
tail -n 100 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log
i have error wings sorry is protocole ssl panel :
in cloudflare I defined subdomains and domains
proxy enable or disable ?
This says your certificate is invalid, use the official certificate creation documentation for pterodactyl
i have create certificate into cloudflare is correct ?
do you have enable proxy in pterodactyl.yml ?
ssl = true or false ?
yes
is defini false
change to true
i have select in to node proxy
i have actived behind proxy
is not correct ?
I guess so. I have never set up wings via cloudflare because it makes no sense and makes only problems
oki so i have into /etc/pterodactyl/config.yml definie ssl = true and i have disabled behind proxy
and i have restart wings
the ssl is favorable create into cloudflare origin server or certbot ?
I have a cloudflare certificate for the website and a certbot for wings. Everything works without problems
so I have to do the ssl on certbot but the problem is the fqdn I put the one from cloudflare that I created there on the dns
Did you paste a random fqdn in the wings configuration instead of creating a separate subdomain for wings?
what to say?
- the panel.last-hosting.fr return ip dedicated for juste panel
- and i have create on cloudflare / dns vortex.last-hosting.fr return ip dedicated for deamon node (FQDN)
Ok, just put in certbot
vortex.last-hosting.fr
vortex.last-hosting.fr as ssl cloudflare is not problem ?
no
You've done exactly the opposite of what it should be
oh cheat
π
ok ok Do you agree to help me put everything back correctly? please π
if you disable cloudflare proxy for wings (vortex) and create a certbot certificate you should see a green heart in the panel
then just enable proxy for panel
I suddenly activated the panel one on Cloudflare?
?
oki i have create ssl for vortex
change cert path in config.yml
I must therefore put the configuration that pterodactyl offers on the node? for ssl
oki
and set ssl to true
debug: false
uuid: d451818a-2fd3-4e71-acc3-151f11f6835d
token_id:
token: pQ5VeuZSM8oQDBRhtWOr99Q9byGD2bCfx2Zwa4jZEhOGCemobaLi90tjf8D5B5YB
api:
host: 0.0.0.0
port: 8443
ssl:
enabled: true
cert: /etc/letsencrypt/live/vortex.last-hosting.fr/fullchain.pem
key: /etc/letsencrypt/live/vortex.last-hosting.fr/privkey.pem
upload_limit: 100
system:
data: /var/lib/pterodactyl/volumes
sftp:
bind_port: 2053
allowed_mounts: []
remote: 'https://panel.last-hosting.fr'
?
yes
oki
You should have such settings in the panel
command rm ?
for to create new config.yml
what 8022 ?
it's good 8443 ?
you can manually delete the contents of config.yml or rm config.yml and make a new file
change to the ports you use, this is my configuration in the photo
so 8022 or 8443 ?
π
i'am using 8443
it doesn't matter if you set the same ones in the panel and config.yml
ok i have create and paste config.yml and the heart is not green
show me what wings says
i dont have enable proxy for panel into cloudflare
there is still a certificate error
is good ?
yes
execute command wings --debug ?
yes
is not green
i don't have error
now check in cloudflare waf logs if the wings api has not been blocked
check in events
if it is not blocked it should work
well listen no it's not blocked and it doesn't work
problematic
Should I execute this line? ?
the panel is not ssl is normal ?
no, it's not normal
should have ssl via cloudflare
Are you using a cloudflare proxy or a cloudflare tunnel for the panel?
ok so :
- i have create ssl on cloudflare (hostname : last-hosting.fr and *.last-hosting.fr)
- i have configured wings (is good not error)
- /etc/pterodacyl/config.yml :
-
- /etc/nginx/sites-available/pterodactyl.conf
-
ssl_certificate /etc/ssl/origin-cert.pem;
ssl_certificate_key /etc/ssl/origin-key.pem;
Are you sure these are the correct certificate paths?- .env
i don't have past :
after on /var/www/pterodactyl/.env put this to the end of the code
TRUSTED_PROXIES=103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,104.16.0.0/12,108.162.192.0/18,131.0.72.0/22,141.101.64.0/18,162.158.0.0/15,172.64.0.0/13,173.245.48.0/20,188.114.96.0/20,190.93.240.0/20,197.234.240.0/22,198.41.128.0/17
PTERODACTYL_FILES_MAX_EDIT_SIZE=50000
RECAPTCHA_ENABLED=false
yes :
are you sure these certificates are from cloudflare?
yes
from what I see, SSL works for me in your panel
dont paste your certs and token
it is dangerous
yes
i have executed systemctl restart wings and is not resolved the problem
Do you still have SSL missing in your panel?
yes
try changing ssl to strict mode
full trict ?
on the other hand the site is a little slow
Have you tried to create a new certificate using certbot for the panel?
and enable hsts on the cloudflare website?
Enabling hsts on the cloudflare website will make the website unavailable if the certificate is incorrect or missing
proxy status ?
sorry but I didn't understand what you tried to explain to me or tell me to do
go to ssl/tls->edge certificates and check if you have always use https and hsts enabled
whoua where is π
you dont need to censor the ip if you are already exposing your origin
https://dash.cloudflare.com/ change to your id / your domain name /ssl-tls/edge-certificates
uh I have to put it where this line you always tell me about cloudflare or the pterodactyl
oki after ?
always use ?
yes
ok
oki is good
after
green heart is showing?
is not https
I don't know what's going on but it's taking longer and longer to load the page.
It takes almost 20 seconds to display the refresh page
before in 1 second it was direct
you had the IP available on the Internet all the time, you said that you were under DDOS attacks, if someone has your website IP, Cloudflare will not help you, you need to change the IP of your server
ok and about the rest
and it's strange that for you it takes 20 seconds to load because for me it works immediately
I still have the wings in red
maybe my connection
something is blocking connections all the time, you need to find what is blocking this connection
Into m'y phone IS rapid ans ssl IS good
try clear all cache
Web or dedicated ?
Server
in your browser where the connection shows no SSL all the time
ok the ssl is good π and the node is not good π
now you need to find what is blocking the wings API
in to node i have information to dedicated server
ok, so the connection works
but then why isn't it green?
as far as I remember, node status is obtained via websocket
sorry you speak Chinese for me π
status 200
on the page with a red heart, turn on the developer console ctrl+shift+i in your browser and go to network tab, then find in request name "system" and click on it, then show status code
click red "system"
is the panel installed on the same machine as wings?
yes
then the only thing that comes to my mind is that cloudflare blocks the wings API
GitHub
Node resolving but Panel showing red heart Β· Issue #4980 Β· pterodac...
Current Behavior Wings daemon is running without issue reported by systemctl, its FQDN resolves correctly in my browser, but the panel shows a red heart with "error connecting to the node"...
you can also try writing on pterodactyl's discord that the node is connected but you have a red heart
heu what
is not 8443
443
π
you can try but I suspect it won't work
the remote is perfect
or not ?
is ok
is not recommanded ?
no, '*' is not secure
is not importance the line in to .even
after on /var/www/pterodactyl/.env put this to the end of the code
TRUSTED_PROXIES=103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,104.16.0.0/12,108.162.192.0/18,131.0.72.0/22,141.101.64.0/18,162.158.0.0/15,172.64.0.0/13,173.245.48.0/20,188.114.96.0/20,190.93.240.0/20,197.234.240.0/22,198.41.128.0/17
PTERODACTYL_FILES_MAX_EDIT_SIZE=50000
RECAPTCHA_ENABLED=false
?
because I didn't put them
you can add and enable recaptcha
root@Ubuntu-2204-jammy-amd64-base /etc/pterodactyl # tail -f /var/log/nginx/pterodactyl.app-error.log
#2 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(190): file_put_contents()
#3 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php(185): Illuminate\Filesystem\Filesystem->put()
#4 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(62): Illuminate\View\Compilers\BladeCompiler->compile()
#...PHP message: PHP Fatal error: Uncaught ErrorException: file_put_contents(/var/www/pterodactyl/storage/framework/views/4e5709c1c93b720882e66b4c395cf5d7.php): Failed to open stream: Permission denied in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:190
Stack trace:
#0 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(250): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap{closure}()
#2 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(190): file_put_contents()
#3 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php(185): Illuminate\Filesystem\Filesystem->put()
#4 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(6
chmod -R 755 storage/* bootstrap/cache
chown -R www-data:www-data /var/www/pterodactyl/*
if you use php-fpm enter also systemctl restart php8.X-fpm (change X to your version)
chatgpt says that these may be the only ones that can cause a bug
SSL*
you can always do everything according to the pterodactyl's guide
it will definitely be faster and easier than patching this
i have reponse bot pterodactyl :
the port is not open
π
is good
I had to open the port π
@playaz44
8443
I'm glad you managed to solve your problem
now all you have to do is change the website's IP address because your address will be available in various search engines
so I have a question how I can put a ddos ββprotection because ok these are managed by cloudflare etc at the ssl level but I want to be able to avoid the ddos
and how I do it
The first thing you need to do is separate your panel to a different server than it is wings. Then make sure to have cloudflare proxy enabled for the panel all the time. And further make sure that your hosting for games provides anti-ddos protection
But that's just a short story
is correct ?
i have create block
I don't know what you're going to achieve with this rule
If your website is attacked, you are able to defend yourself only by changing your IP address
Because your website's ip is available on the internet
I would especially like to block the discord botnet used for ddos
If the attack takes place against an IP address that is available on the Internet, cloudflare will not help you
I bought failover subnetworks in order to guarantee continuity of services for my customers, it can already help ?
hello here is protocol udp because i don't have protocol on type srv
?udp fivem
?udp
?tcp
If your server is under attack not even a subnetwork will help you.
A different server in a different location will help but also just as long as they don't have the IP