pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.56k stars 1.64k forks source link

Loading forever Error: server misbehaving #3955

Closed Falcn8 closed 2 years ago

Falcn8 commented 2 years ago

Current Behavior

The stats are gone and everything is loading. It says, "We're having some trouble connecting to your server, please wait..." The error I think is this part: server misbehaving Everything including my bots and mc servers are stopped.

Expected Behavior

It should normally show stats on the main page and should not show loading page for more than 5 minutes.

Steps to Reproduce

I was normally using Pterodactyl panel. And then one day, suddenly, when I tried to access files, it said "Something went wrong. Could not establish a connection to the machine running this server. Please try again." So I restarted and now on the main page where it shows servers, the stats are gone. It shows the loading gif instead of stats. When I click on one of the servers, it says "We're having some trouble connecting to your server, please wait..." Everything is on loading now.

Panel Version

1.7.0

Wings Version

1.5.x

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

`sudo wings --debug`
: [Feb 10 23:31:34.384] failed to load server configurations error=http: request creation failed: Get "https://hexahost.ga/api/remote/servers?page=0&per_page=50": dial tcp: lookup hexahost.ga on 127.0.0.53:53: server misbehaving

Stacktrace:
Get "https://hexahost.ga/api/remote/servers?page=0&per_page=50": dial tcp: lookup hexahost.ga on 127.0.0.53:53: server misbehaving
http: request creation failed
github.com/pterodactyl/wings/remote.(*client).request.func1
        /home/runner/work/wings/wings/remote/http.go:139
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer
        /home/runner/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:55
github.com/cenkalti/backoff/v4.RetryNotify
        /home/runner/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:34
github.com/cenkalti/backoff/v4.Retry
        /home/runner/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:28
github.com/pterodactyl/wings/remote.(*client).request
        /home/runner/work/wings/wings/remote/http.go:133
github.com/pterodactyl/wings/remote.(*client).Get
        /home/runner/work/wings/wings/remote/http.go:78
github.com/pterodactyl/wings/remote.(*client).getServersPaged
        /home/runner/work/wings/wings/remote/servers.go:189
github.com/pterodactyl/wings/remote.(*client).GetServers
        /home/runner/work/wings/wings/remote/servers.go:24
github.com/pterodactyl/wings/server.(*Manager).init
        /home/runner/work/wings/wings/server/manager.go:216
github.com/pterodactyl/wings/server.NewManager
        /home/runner/work/wings/wings/server/manager.go:36
github.com/pterodactyl/wings/cmd.rootCmdRun
        /home/runner/work/wings/wings/cmd/root.go:133
github.com/spf13/cobra.(*Command).execute
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:860
github.com/spf13/cobra.(*Command).ExecuteC
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:902
github.com/pterodactyl/wings/cmd.Execute
        /home/runner/work/wings/wings/cmd/root.go:69
main.main

`sudo wings diagnostics`
https://ptero.co/nojiziwiru

`tail -n 100 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc bin.ptdl.co 99`
https://bin.ptdl.co/v4gpe/

Is there an existing issue for this?

Software-Noob commented 2 years ago

Your DNS is not working properly causing Wings failing to start. Trying to visit the panel itself fails as well, meaning you don't have either the panel or wings reachable. This is not a bug in the software.

Clownonymous commented 4 months ago

This is actually a problem. It happens to me frequently out of nowhere.

Macinx10 commented 1 month ago

Same

jz1k commented 2 weeks ago

Same here, has anyone solved it?