NinoviumLabs / plexactyl

Lightweight client area for Pterodactyl.
Other
6 stars 3 forks source link

Error? #4

Closed mizuo-san closed 1 month ago

mizuo-san commented 1 month ago

image Problem on my side or problem in Plexactyl?

KingTino104 commented 1 month ago

whitelist your webserver's ip from cloudflare

mizuo-san commented 1 month ago

Is it important? Is it possible somehow not to use cloudflare?

KingTino104 commented 1 month ago

well are you using cloudflare?

mizuo-san commented 1 month ago

No, I don't use it

KingTino104 commented 1 month ago

is your pterodactyl api key correct

mizuo-san commented 1 month ago

Yes

KingTino104 commented 1 month ago

try curling your panel url from the VPS terminal (curl https://panel.example.com)

and send the output

mizuo-san commented 1 month ago

oh

KingTino104 commented 1 month ago

your panel url, not dashboard url

also please format it as code

mizuo-san commented 1 month ago

Finally i can format it on github

<html>
    <head>
        <title>Pterodactyl</title>

                    <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
            <meta name="csrf-token" content="lkWgebDUBqDO2PL7aVKxFpQlkPj8usHL7ZaAtIlA">
            <meta name="robots" content="noindex">
            <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
            <link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
            <link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
            <link rel="manifest" href="/favicons/manifest.json">
            <link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#bc6e3c">
            <link rel="shortcut icon" href="/favicons/favicon.ico">
            <meta name="msapplication-config" content="/favicons/browserconfig.xml">
            <meta name="theme-color" content="#0e4688">

                                                <script>
                    window.SiteConfiguration = {"name":"Pterodactyl","locale":"en","recaptcha":{"enabled":true,"siteKey":"6LcJcjwUAAAAAO_Xqjrtj9wWufUpYRnK6BW8lnfn"}};
                </script>
                            <style>
            @import url('//fonts.googleapis.com/css?family=Rubik:300,400,500&display=swap');
            @import url('//fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
        </style>

            </head>
    <body class="bg-neutral-800">
                                    <div id="modal-portal"></div>
    <div id="app"></div>
                                        <script src="/assets/bundle.9f9de542.js" crossorigin="anonymous"></script>
            </body>
</html>
KingTino104 commented 1 month ago

your panel API key is invalid, did you give it all permissions as read and write?

mizuo-san commented 1 month ago

Yes, now I will just restart panel, wings and create new api key and give you answer.

mizuo-san commented 1 month ago

Finally the problem is solved, thank you very much!