#I have 2 errors i cant fix

65 messages · Page 1 of 1 (latest)

lofty pasture
jaunty patio
#

Seems some sort of dns issue

lofty pasture
#

Yeh i have this that i cant get fixed..

#

This all started because i reinstalled yarn because yarn production build didnt work

#

connection refused

celest peak
#

Your key issue is this:
cURL error 6: Could not resolve host: game.swiftynode.com

Is DNS resolve on the server set up correctly? Is the subdomain registered?

lofty pasture
#

Yeh

#

can it be because of hosts / hostname on ubuntu 22.04?

celest peak
#

It can, values in local hostname might overide the lookup on your domain provider.

lofty pasture
celest peak
#

Where is this domain located?

lofty pasture
#

That i dont know need to ask the guy

celest peak
#

Ahh, cloudflare.

lofty pasture
#

he put it at cloudflare

#

but where its hosted idk because its for a guy need to ask him

jaunty patio
#

Didn't u install pterodactyl urself?

lofty pasture
#

I did

#

with installer that worked fine all was good

#

but because i added some extra buttons yarn command didnt work

#

so i had to reinstall yarn then this got like this haha

celest peak
#

For cloudflare and proxies in general, there is extra steps needed for communication. Installer scripts and proxies is out of scope of this channel though.

lofty pasture
#

But still beforehand it worked perfect

#

just after reinstalling yarn it got messed a lil

#

#90 {main} {"request_id":null}
[2024-04-04 09:24:08] production.WARNING: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to game.swiftynode.com port 8080 after 0 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://game.swiftynode.com:8080/api/servers/0d5f8911-99a1-4c20-994b-b904e3724d75 in /var/www/pterodactyl/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
Stack trace:

still dont know why its giving connection refused haha

#

when its pointed bro i reinstalled pterodactyl now like idk 4 times i think

#

everytime its something small

celest peak
#

Always use official documentation or the docker images, not third party scripts.

lofty pasture
#

That for sure but this third party script

#

is being here for years mate haha

#

also updated on github

celest peak
#

It's still a third party script and unsupported

lofty pasture
#

did use this years ago

#

Yeh i understand but the thing is

#

it worked fine everything was good till i reinstalled yarn

#

so its not that script that messed it up

#

but i understand what you mean

#

i will reinstall probably later today official pterodactyl

celest peak
#

And something broke, which we don't know since we don't know what part broke since it's not an officially supported way to install Pterodactyl.

lofty pasture
#

everything works good its just

#

appreciate your time have good one

#

@celest peak look now it gives me this error

#

[previous exception] [object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'swifty'@'%' to database 's3_test' at /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Database/Connection.php:545)
[stacktrace]

#

only this 1 the other 1 is gone

#

i have the user swifty full permissions?

#

@celest peak does btw in .env DB_PASSWORD to have " " or can i just fill in password without those

celest peak
#

I'm not well versed in databases, so I would google password limitations in mysql :3

lofty pasture
#

OKe last 1 thing so this is what i also get

#

but when i go incognito it works strange he

#

Like its blocking me..

#

But ufw firewall is off

#

But yeh i will just reinstall later today have good one

celest peak
#

I would not leave UFW off, keep it on, block incoming by default but open ports specifically needed/stated in documentation! 🙂

lofty pasture
#

Yeh i will

#

Just something is blocking me for no reason haha

#

maybe server hosting let me see

celest peak
#

It's hard to say exactly why It's unreachable, but follow the official documentation, should leave you with a working system. When the system is working, take a backup/snapshot of it before changing anything!

lofty pasture
#

Oke yeh i can snapshot from my hosting

#

i will thanks alot

celest peak
#

You welcome! :3