#When trying to edit any user I get error 500

1 messages · Page 1 of 1 (latest)

crystal vector
toxic socket
#

2023-11-17 00:31:01] production.ERROR: No permission on pterodactyl, check pterodactyl token and permissions - Failed to get user from pterodactyl - {"userId":1,"exception":"[object] (Exception(code: 403): No permission on pterodactyl, check pterodactyl token and permissions - Failed to get user from pterodactyl

crystal vector
#

Ello

#

:/

toxic socket
#

Check that the api key has read and write permissions

crystal vector
#

I did

#

It does

toxic socket
#

Double check again

crystal vector
#

Done

#

Still same error

stiff zealotBOT
crystal vector
#

Bruh

#

2023-11-17 003101] production.ERROR: No permission on pterodactyl, check pterodactyl token and permissions - Failed to get user from pterodactyl - {"userId":1,"exception":"[object] (Exception(code: 403): No permission on pterodactyl, check pterodactyl token and permissions - Failed to get user from pterodactyl

stiff zealotBOT
crystal vector
#

So, @toxic socket how to fix it?

stiff zealotBOT
toxic socket
#

Are you specifying the url of the pterodactyl panel without / at the end?

crystal vector
#

What

toxic socket
# crystal vector What

In the cpgg settings where you have the url of the pterodactyl panel specified, do you have a slash at the end of URL?

crystal vector
#

I don't think so

#

Do I need it?

toxic socket
#

No

crystal vector
#

K

#

So, what do I do to fix this?

#

@toxic socket You here?

stiff zealotBOT
toxic socket
crystal vector
#

I'm tired and I wanna solve this issue faster

toxic socket
#

Are you using default pterodactyl, or modified?

crystal vector
#

default

toxic socket
#

Does the account on which you create the client api key have administrator rights?

toxic socket
#

OK, just to rule it out: Create a new application api key by selecting all the necessary permissions, and send a screenshot here before you click the button to generate a new key

crystal vector
#

K

toxic socket
#

Good. Do you have exceptions configured for your cpgg hosting server, in the Cloudflare rules?

crystal vector
#

What

#

Like in the WAF?

toxic socket
#

Yes

crystal vector
#

No

#

OH

#

It got blocked

#

I whitelisted it

#

Now what?

toxic socket
# crystal vector No

In this case, cpgg requests may be blocked as unwanted, and this may lead to problems

toxic socket
crystal vector
#

Yes

#

I think it works now

toxic socket
#

Has the problem been solved?

crystal vector
#

Nvm

#

When editing a user still get this error

stiff zealotBOT
#

Can you please fetch the error logs, so we can assist you better regarding this error.
tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99

crystal vector
#

[2023-11-17 00:59:15] production.ERROR: No pterodactyl token set - Failed to get user from pterodactyl - {"userId":1,"exception":"[object] (Exception(code: 401): No pterodactyl token set - Failed to get user from pterodactyl - at /var/www/controlpanel/app/Classes/Pterodactyl.php:55)
[stacktrace]

#

Ok

#

I fixed it, I didn't change the token

#

Ty

toxic socket
#

You're welcome. Have a good use of cpgg.

crystal vector
#

How do credits work on Cpgg?

stiff zealotBOT
# crystal vector How do credits work on Cpgg?

The CtrlPanel uses a credit-based system.
credits are charged hourly based on the monthly price (price / 30 / 24)
This means that the price of your products won’t be charged right away when the user creates a server, but instead, the credits are reduced hourly—giving the user the option to cancel and create servers freely anytime.
When the user runs out of credits, his server will automatically be suspended.

crystal vector
#

Oh