Nat.
Nat.
CDCloudflare Developers
Created by Nat. on 7/25/2024 in #general-help
Pterodactyl panel with Cloudflare errors
Hello, I'm here in the hope that you can help me solve the problems I'm having with Pterodactyl under cloudflare. Since I set up Cloudflare nothing works (absolutely nothing, panel in maintenance mode). Currently, here are the errors I'm getting:
FATAL: [Jul 25 18:59:00.239] failed to load server configurations error=remote: could not unmarshal response: invalid character '<' looking for beginning of value

Stacktrace:
invalid character '<' looking for beginning of value
remote: could not unmarshal response
github.com/pterodactyl/wings/remote.(*Response).BindJSON
github.com/pterodactyl/wings/remote/http.go:251
github.com/pterodactyl/wings/remote.(*client).getServersPaged
github.com/pterodactyl/wings/remote/servers.go:209
github.com/pterodactyl/wings/remote.(*client).GetServers
github.com/pterodactyl/wings/remote/servers.go:26
FATAL: [Jul 25 18:59:00.239] failed to load server configurations error=remote: could not unmarshal response: invalid character '<' looking for beginning of value

Stacktrace:
invalid character '<' looking for beginning of value
remote: could not unmarshal response
github.com/pterodactyl/wings/remote.(*Response).BindJSON
github.com/pterodactyl/wings/remote/http.go:251
github.com/pterodactyl/wings/remote.(*client).getServersPaged
github.com/pterodactyl/wings/remote/servers.go:209
github.com/pterodactyl/wings/remote.(*client).GetServers
github.com/pterodactyl/wings/remote/servers.go:26
[2024-07-25 12:17:02] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from `settings` where `key` = app:telemetry:uuid limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from `settings` where `key` = app:telemetry:uuid limit 1) at /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)
[2024-07-25 14:41:01] production.NOTICE: A query exception was encountered while trying to load settings from the database: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from `settings`)
[2024-07-25 12:17:02] production.ERROR: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from `settings` where `key` = app:telemetry:uuid limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from `settings` where `key` = app:telemetry:uuid limit 1) at /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)
[2024-07-25 14:41:01] production.NOTICE: A query exception was encountered while trying to load settings from the database: SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from `settings`)
And here are parts of the configurations that are linked to them:
api:
host: 0.0.0.0
port: 8080
ssl:
enabled: false
cert: /etc/ssl/certs/certificat.pem
key: /etc/ssl/private/private_key.key
disable_remote_download: false
upload_limit: 500
trusted_proxies: []
api:
host: 0.0.0.0
port: 8080
ssl:
enabled: false
cert: /etc/ssl/certs/certificat.pem
key: /etc/ssl/private/private_key.key
disable_remote_download: false
upload_limit: 500
trusted_proxies: []
Due to the character limit, I can't send any more configs and files, but don't hesitate to ask me. Thanks in advance
5 replies