A
Admincraft•2w ago
GUWAD

Just got a new hetzner server, need help with mojang links not resolving.

For example here : om.mojang.authlib.exceptions.MinecraftClientException: Failed to read from https://api.minecraftservices.com/publickeys due to api.minecraftservices.com or when installing paper, I get : cant resolve "piston-data.mojang.com" I assume this is something with firewall or dns, just not sure. Any help would be appreciated.
165 Replies
GUWAD
GUWADOP•2w ago
[06:45:55 ERROR]: Failed to request yggdrasil public key
com.mojang.authlib.exceptions.MinecraftClientException: Failed to read from https://api.minecraftservices.com/publickeys due to api.minecraftservices.com
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:111) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:56) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.fetch(YggdrasilServicesKeyInfo.java:114) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo$1.run(YggdrasilServicesKeyInfo.java:89) ~[authlib-6.0.58.jar:?]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.net.UnknownHostException: api.minecraftservices.com
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
at java.base/java.net.Socket.connect(Socket.java:751) ~[?:?]
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) ~[?:?]
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:377) ~[?:?]
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1297) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1138) ~[?:?]
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1690) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1614) ~[?:?]
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:531) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:307) ~[?:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:82) ~[authlib-6.0.58.jar:?]
... 9 more
[06:45:55 ERROR]: Failed to request yggdrasil public key
com.mojang.authlib.exceptions.MinecraftClientException: Failed to read from https://api.minecraftservices.com/publickeys due to api.minecraftservices.com
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:111) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:56) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.fetch(YggdrasilServicesKeyInfo.java:114) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo$1.run(YggdrasilServicesKeyInfo.java:89) ~[authlib-6.0.58.jar:?]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.net.UnknownHostException: api.minecraftservices.com
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
at java.base/java.net.Socket.connect(Socket.java:751) ~[?:?]
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) ~[?:?]
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:377) ~[?:?]
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1297) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1138) ~[?:?]
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1690) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1614) ~[?:?]
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:531) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:307) ~[?:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:82) ~[authlib-6.0.58.jar:?]
... 9 more
I turned off hetnzer firewall and am instead only using ufw but still didn't fix my problem .
bearz
bearz•2w ago
can you get the DNS records for piston-data.mojang.com on it e.g. dig piston-data.mojang.com oh sorry. can you get api.minecraftservices.com thats whats its complaining about
bearz
bearz•2w ago
No description
GUWAD
GUWADOP•2w ago
I can't access either Well I can but not via pterodactyl It's something with docker I think
bearz
bearz•2w ago
docker compose or cli
GUWAD
GUWADOP•2w ago
I am not sure, it's pterodactyl Just using default minecraft egg
bearz
bearz•2w ago
can the machine running wings dig those domains
GUWAD
GUWADOP•2w ago
The wings and panel are on the same machine And node was showing green heart, so it was connected to the node. But for some reason I just cannot access any mojang links
bearz
bearz•2w ago
but in a shell, can said machine access their DNS records
GUWAD
GUWADOP•2w ago
database_1 | 2025-05-01 21:42:23 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.21.0.4' (This connection closed normally without authentication)
database_1 | 2025-05-01 21:42:23 4 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:23 5 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:24 6 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:25 7 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:27 8 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:31 9 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:43:01 10 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:43:01 11 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:23 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.21.0.4' (This connection closed normally without authentication)
database_1 | 2025-05-01 21:42:23 4 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:23 5 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:24 6 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:25 7 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:27 8 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:42:31 9 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:43:01 10 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
database_1 | 2025-05-01 21:43:01 11 [Warning] Access denied for user 'pterodactyl'@'172.21.0.4' (using password: YES)
now I can't even start pterodactyl idk wtf I'm doing wrong lmao
bearz
bearz•2w ago
might want to check if your password is actually yes
GUWAD
GUWADOP•2w ago
I don't have a password, or anywhere set where a password would = yes
bearz
bearz•2w ago
oh nvm i misread that completely LMAO
GUWAD
GUWADOP•2w ago
i fixed that error now new error
ERROR: for pterodactyl_panel_1 'ContainerConfig'

ERROR: for panel 'ContainerConfig'
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 33, in <module>
sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
command_func()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 203, in perform_command
handler(command, command_options)
File "/usr/lib/python3/dist-packages/compose/metrics/decorator.py", line 18, in wrapper
result = fn(*args, **kwargs)
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1186, in up
to_attach = up(False)
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1166, in up
return self.project.up(
File "/usr/lib/python3/dist-packages/compose/project.py", line 697, in up
results, errors = parallel.parallel_execute(
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
File "/usr/lib/python3/dist-packages/compose/project.py", line 679, in do
return service.execute_convergence_plan(
File "/usr/lib/python3/dist-packages/compose/service.py", line 579, in execute_convergence_plan
return self._execute_convergence_recreate(
File "/usr/lib/python3/dist-packages/compose/service.py", line 499, in _execute_convergence_recreate
containers, errors = parallel_execute(
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
File "/usr/lib/python3/dist-packages/compose/service.py", line 494, in recreate
return self.recreate_container(
File "/usr/lib/python3/dist-packages/compose/service.py", line 612, in recreate_container
new_container = self.create_container(
File "/usr/lib/python3/dist-packages/compose/service.py", line 330, in create_container
container_options = self._get_container_create_options(
File "/usr/lib/python3/dist-packages/compose/service.py", line 921, in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
File "/usr/lib/python3/dist-packages/compose/service.py", line 960, in _build_container_volume_options
binds, affinity = merge_volume_bindings(
File "/usr/lib/python3/dist-packages/compose/service.py", line 1548, in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
File "/usr/lib/python3/dist-packages/compose/service.py", line 1579, in get_container_data_volumes
container.image_config['ContainerConfig'].get('Volumes') or {}
KeyError: 'ContainerConfig'
ERROR: for pterodactyl_panel_1 'ContainerConfig'

ERROR: for panel 'ContainerConfig'
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 33, in <module>
sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
command_func()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 203, in perform_command
handler(command, command_options)
File "/usr/lib/python3/dist-packages/compose/metrics/decorator.py", line 18, in wrapper
result = fn(*args, **kwargs)
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1186, in up
to_attach = up(False)
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1166, in up
return self.project.up(
File "/usr/lib/python3/dist-packages/compose/project.py", line 697, in up
results, errors = parallel.parallel_execute(
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
File "/usr/lib/python3/dist-packages/compose/project.py", line 679, in do
return service.execute_convergence_plan(
File "/usr/lib/python3/dist-packages/compose/service.py", line 579, in execute_convergence_plan
return self._execute_convergence_recreate(
File "/usr/lib/python3/dist-packages/compose/service.py", line 499, in _execute_convergence_recreate
containers, errors = parallel_execute(
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/lib/python3/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
File "/usr/lib/python3/dist-packages/compose/service.py", line 494, in recreate
return self.recreate_container(
File "/usr/lib/python3/dist-packages/compose/service.py", line 612, in recreate_container
new_container = self.create_container(
File "/usr/lib/python3/dist-packages/compose/service.py", line 330, in create_container
container_options = self._get_container_create_options(
File "/usr/lib/python3/dist-packages/compose/service.py", line 921, in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
File "/usr/lib/python3/dist-packages/compose/service.py", line 960, in _build_container_volume_options
binds, affinity = merge_volume_bindings(
File "/usr/lib/python3/dist-packages/compose/service.py", line 1548, in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
File "/usr/lib/python3/dist-packages/compose/service.py", line 1579, in get_container_data_volumes
container.image_config['ContainerConfig'].get('Volumes') or {}
KeyError: 'ContainerConfig'
,
SilentBot
SilentBot•2w ago
How do you have Pterodactyl setup?
SilentBot
SilentBot•2w ago
Did you follow the standard install steps from https://pterodactyl.io/panel/1.0/getting_started.html
Getting Started | Pterodactyl
Pterodactyl is an 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.
SilentBot
SilentBot•2w ago
Are you using docker-compose with some pterodactyl compse file?
GUWAD
GUWADOP•2w ago
i was in this instance yes. but when doing the install from the docs, what happens is my panel site doesn't resolve, and neither does the direct ip + port
SilentBot
SilentBot•2w ago
ok, so are you using nginx, apache or something else?
GUWAD
GUWADOP•2w ago
sorry should've mentioned this, yes i am using nginx, and i have set it up according to the docs with the correct domain, pointed to my ip using an a record
SilentBot
SilentBot•2w ago
and when you nslookup yourdomain.com, do you see the expected Hetzner IP?
GUWAD
GUWADOP•2w ago
yes
SilentBot
SilentBot•2w ago
And on the dedicated server, if you do netstat -tlupn, can you see Nginx listening on port 80/443?
GUWAD
GUWADOP•2w ago
yes, on tcp and tcp6
SilentBot
SilentBot•2w ago
on 80 and 443?
GUWAD
GUWADOP•2w ago
yes
SilentBot
SilentBot•2w ago
so if you do curl -v yourdomain.com on the dedicated server, what do you see?
GUWAD
GUWADOP•2w ago
* Connected to panel.guw.ad (157.180.10.7) port 80 (#0)
> GET / HTTP/1.1
> Host: panel.guw.ad
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.18.0 (Ubuntu)
< Date: Fri, 02 May 2025 00:26:10 GMT
< Content-Type: text/html
< Content-Length: 178
< Connection: keep-alive
< Location: https://panel.guw.ad/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host panel.guw.ad left intact
* Connected to panel.guw.ad (157.180.10.7) port 80 (#0)
> GET / HTTP/1.1
> Host: panel.guw.ad
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.18.0 (Ubuntu)
< Date: Fri, 02 May 2025 00:26:10 GMT
< Content-Type: text/html
< Content-Length: 178
< Connection: keep-alive
< Location: https://panel.guw.ad/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host panel.guw.ad left intact
SilentBot
SilentBot•2w ago
and if you try curl -v https://panel.guw.ad (since it's wanting to redirect you from http to https)
GUWAD
GUWADOP•2w ago
* Connected to panel.guw.ad (157.180.10.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=panel.guw.ad
* start date: May 1 03:52:27 2025 GMT
* expire date: Jul 30 03:52:26 2025 GMT
* subjectAltName: host "panel.guw.ad" matched cert's "panel.guw.ad"
* issuer: C=US; O=Let's Encrypt; CN=R10
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55d58c8cc9f0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: panel.guw.ad
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 404
< server: nginx/1.18.0 (Ubuntu)
< date: Fri, 02 May 2025 00:26:51 GMT
< content-type: text/html
< content-length: 162
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host panel.guw.ad left intact
* Connected to panel.guw.ad (157.180.10.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=panel.guw.ad
* start date: May 1 03:52:27 2025 GMT
* expire date: Jul 30 03:52:26 2025 GMT
* subjectAltName: host "panel.guw.ad" matched cert's "panel.guw.ad"
* issuer: C=US; O=Let's Encrypt; CN=R10
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55d58c8cc9f0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: panel.guw.ad
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 404
< server: nginx/1.18.0 (Ubuntu)
< date: Fri, 02 May 2025 00:26:51 GMT
< content-type: text/html
< content-length: 162
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host panel.guw.ad left intact
SilentBot
SilentBot•2w ago
Then your Nginx config isn't correct Are the panel files currently installed at /var/www/pterodactyl where the guide says to?
GUWAD
GUWADOP•2w ago
yes
SilentBot
SilentBot•2w ago
And what is the contents of your /etc/nginx/sites-enabled/pterodactyl.conf?
GUWAD
GUWADOP•2w ago
just realized i deleted the config so that makes sense, sorry, i forgot. here it is with the config in sites-enabled
* Connected to panel.guw.ad (157.180.10.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=panel.guw.ad
* start date: May 1 03:52:27 2025 GMT
* expire date: Jul 30 03:52:26 2025 GMT
* subjectAltName: host "panel.guw.ad" matched cert's "panel.guw.ad"
* issuer: C=US; O=Let's Encrypt; CN=R10
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55705a2c49f0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: panel.guw.ad
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 404
< server: nginx/1.18.0 (Ubuntu)
< date: Fri, 02 May 2025 00:30:50 GMT
< content-type: text/html
< content-length: 162
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host panel.guw.ad left intact
* Connected to panel.guw.ad (157.180.10.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=panel.guw.ad
* start date: May 1 03:52:27 2025 GMT
* expire date: Jul 30 03:52:26 2025 GMT
* subjectAltName: host "panel.guw.ad" matched cert's "panel.guw.ad"
* issuer: C=US; O=Let's Encrypt; CN=R10
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55705a2c49f0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: panel.guw.ad
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 404
< server: nginx/1.18.0 (Ubuntu)
< date: Fri, 02 May 2025 00:30:50 GMT
< content-type: text/html
< content-length: 162
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host panel.guw.ad left intact
seems to be the same thing
SilentBot
SilentBot•2w ago
And when you do nginx -t you get no issues reported? And you've done service nginx reload?
GUWAD
GUWADOP•2w ago
created symlink as well okay now i am getting this
root@ubuntu / # nginx -t
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:80, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@ubuntu / #
root@ubuntu / # nginx -t
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "panel.guw.ad" on 0.0.0.0:80, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@ubuntu / #
after adding the config to nginx
SilentBot
SilentBot•2w ago
You appear to have 2 configs for your panel?
GUWAD
GUWADOP•2w ago
I see that but there is only 1 config here
GUWAD
GUWADOP•2w ago
No description
No description
GUWAD
GUWADOP•2w ago
not in default either
SilentBot
SilentBot•2w ago
Does grep -rnw '/etc/nginx' -e 'panel.guw.ad' show anything else?
GUWAD
GUWADOP•2w ago
i think i found the issue omg it was that i made a nginx/conf.d/ config
SilentBot
SilentBot•2w ago
That is also a valid config location to be fair But yes, one or the other
GUWAD
GUWADOP•2w ago
I know, I just kind of forgot i put it there haha
* Connected to panel.guw.ad (157.180.10.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=panel.guw.ad
* start date: May 1 03:52:27 2025 GMT
* expire date: Jul 30 03:52:26 2025 GMT
* subjectAltName: host "panel.guw.ad" matched cert's "panel.guw.ad"
* issuer: C=US; O=Let's Encrypt; CN=R10
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55720b11c9f0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: panel.guw.ad
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 500
< server: nginx/1.18.0 (Ubuntu)
< date: Fri, 02 May 2025 00:36:08 GMT
< content-type: text/html; charset=UTF-8
<
* Connection #0 to host panel.guw.ad left intact
* Connected to panel.guw.ad (157.180.10.7) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=panel.guw.ad
* start date: May 1 03:52:27 2025 GMT
* expire date: Jul 30 03:52:26 2025 GMT
* subjectAltName: host "panel.guw.ad" matched cert's "panel.guw.ad"
* issuer: C=US; O=Let's Encrypt; CN=R10
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55720b11c9f0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: panel.guw.ad
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 500
< server: nginx/1.18.0 (Ubuntu)
< date: Fri, 02 May 2025 00:36:08 GMT
< content-type: text/html; charset=UTF-8
<
* Connection #0 to host panel.guw.ad left intact
does this look correct?
SilentBot
SilentBot•2w ago
No, you're now getting an error from pterodactyl/php HTTP/2 500 Which is an internal server error First thing to check is tail -n 100 /var/log/nginx/error.log This will let us know if it's an issue with nginx speaking with php or if there's nothing, we look at pterodactyl logs
GUWAD
GUWADOP•2w ago
https://ctxt.io/2/AAB47WBJFw I don't know exactly how to read this but it looks like its conflicting with AMP (which i only installed to try as an alternative to pterodactyl but hated it) I went through the uninstall steps in the AMP docs though, so it shouldn't be there.
SilentBot
SilentBot•2w ago
Yeah, amp config is still there and eating the requests which should be going to Pterodactyl
GUWAD
GUWADOP•2w ago
I will try to uninstall amp again.
SilentBot
SilentBot•2w ago
Do grep -rnw '/etc/nginx' -e 'panel.guw.ad' and remove the other nginx config that's not the pterodactyl one Or if it's in your defaut.conf, modify it to remove it
GUWAD
GUWADOP•2w ago
It isn't in my default, and there is no other config besides pterodactyl.conf
root@ubuntu /etc/nginx/sites-available # grep -rnw '/etc/nginx' -e 'panel.guw.ad'
/etc/nginx/sites-available/pterodactyl.conf:4: server_name panel.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:11: server_name panel.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:26: ssl_certificate /etc/letsencrypt/live/panel.guw.ad/fullchain.pem;
/etc/nginx/sites-available/pterodactyl.conf:27: ssl_certificate_key /etc/letsencrypt/live/panel.guw.ad/privkey.pem;
root@ubuntu /etc/nginx/sites-available # grep -rnw '/etc/nginx' -e 'panel.guw.ad'
/etc/nginx/sites-available/pterodactyl.conf:4: server_name panel.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:11: server_name panel.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:26: ssl_certificate /etc/letsencrypt/live/panel.guw.ad/fullchain.pem;
/etc/nginx/sites-available/pterodactyl.conf:27: ssl_certificate_key /etc/letsencrypt/live/panel.guw.ad/privkey.pem;
SilentBot
SilentBot•2w ago
And to sanity check, you've restarted / reloaded nginx since removing the AMP config?
GUWAD
GUWADOP•2w ago
Yes I did that just a minute ago when putting in the pterodactyl.conf
SilentBot
SilentBot•2w ago
Failing that, can you check grep -rnw '/etc/nginx' -e 'server_name' instead, as it may be listening on a wildcard or something other than the panel.guw.ad domain
GUWAD
GUWADOP•2w ago
I think this could be it, this looks all messed up.
/etc/nginx/fastcgi_params:23:fastcgi_param SERVER_NAME $server_name;
/etc/nginx/scgi_params:17:scgi_param SERVER_NAME $server_name;
/etc/nginx/sites-available/default:46: server_name _;
/etc/nginx/sites-available/default:83:# server_name example.com;
/etc/nginx/sites-available/host.killcha.in:4: server_name host.killcha.in www.host.killcha.in;
/etc/nginx/sites-available/host.killcha.in:15: server_name host.guw.ad www.host.guw.ad;
/etc/nginx/sites-available/host.killcha.in:27: server_name host.killcha.in www.host.killcha.in;
/etc/nginx/sites-available/host.killcha.in:54: server_name host.guw.ad www.host.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:4: server_name panel.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:5: return 301 https://$server_name$request_uri;
/etc/nginx/sites-available/pterodactyl.conf:11: server_name panel.guw.ad;
/etc/nginx/sites-available/music.guw.ad:13: server_name music.guw.ad;
/etc/nginx/sites-available/music.guw.ad:23: server_name music.guw.ad;
/etc/nginx/uwsgi_params:17:uwsgi_param SERVER_NAME $server_name;
/etc/nginx/sites-enabled/music.guw.ad:13: server_name music.guw.ad;
/etc/nginx/sites-enabled/music.guw.ad:23: server_name music.guw.ad;
/etc/nginx/fastcgi.conf:24:fastcgi_param SERVER_NAME $server_name;
/etc/nginx/fastcgi_params:23:fastcgi_param SERVER_NAME $server_name;
/etc/nginx/scgi_params:17:scgi_param SERVER_NAME $server_name;
/etc/nginx/sites-available/default:46: server_name _;
/etc/nginx/sites-available/default:83:# server_name example.com;
/etc/nginx/sites-available/host.killcha.in:4: server_name host.killcha.in www.host.killcha.in;
/etc/nginx/sites-available/host.killcha.in:15: server_name host.guw.ad www.host.guw.ad;
/etc/nginx/sites-available/host.killcha.in:27: server_name host.killcha.in www.host.killcha.in;
/etc/nginx/sites-available/host.killcha.in:54: server_name host.guw.ad www.host.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:4: server_name panel.guw.ad;
/etc/nginx/sites-available/pterodactyl.conf:5: return 301 https://$server_name$request_uri;
/etc/nginx/sites-available/pterodactyl.conf:11: server_name panel.guw.ad;
/etc/nginx/sites-available/music.guw.ad:13: server_name music.guw.ad;
/etc/nginx/sites-available/music.guw.ad:23: server_name music.guw.ad;
/etc/nginx/uwsgi_params:17:uwsgi_param SERVER_NAME $server_name;
/etc/nginx/sites-enabled/music.guw.ad:13: server_name music.guw.ad;
/etc/nginx/sites-enabled/music.guw.ad:23: server_name music.guw.ad;
/etc/nginx/fastcgi.conf:24:fastcgi_param SERVER_NAME $server_name;
like the example.com but idk actually i think it's fine.
SilentBot
SilentBot•2w ago
Whelp, the logs you shared shows that when attempting to navigate to your panel, it's selecting the upstream localhost:8080, which is wrong But ignoring that, you can try and check tail -n 100 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log To see if requests are still getting to php/pterodactyl (and for some reason aren't in the logs) As the addresses being navigated to in those errors you shared don't appear to be related to panel requests
GUWAD
GUWADOP•2w ago
https://pastebin.com/raw/ndGTr6X0 I also have a discord music bot web dashboard and a file host site so there could be some references to those somewhere
SilentBot
SilentBot•2w ago
ok, your pterodactyl user doesn't have permission to the mariadb database Did you follow the database configuration steps at the top of installation?
SilentBot
SilentBot•2w ago
Getting Started | Pterodactyl
Pterodactyl is an 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.
GUWAD
GUWADOP•2w ago
I am sorry I literally am such a noob, I don't know how u guys remember how all of these things work hahaha I will configure the mariadb I think I messed that up earlier
SilentBot
SilentBot•2w ago
My job is to do stuff like this, I used to work for a host and maintained their panel, and I've installed Pterodactyl too many times.
GUWAD
GUWADOP•2w ago
I understand but still, impressive. I feel like an idiot sometimes hahaha. Usually following docs, I have 0 issues but when I do have issues I feel so dumb 😂😂 Okay so in that log I sent you, it shows it's trying to connect to mysql right? My db is mariadb. Would it be easier to just use mysql instead?
SilentBot
SilentBot•2w ago
It doesn't matter which you use Its whatever you've got installed The log doesn't specify which it's connecting to as it doesn't care
GUWAD
GUWADOP•2w ago
Oh okay. Well, I checked and mariadb is running and everything I'm pretty sure. But still getting that error.
SilentBot
SilentBot•2w ago
It may be running, but have you created the user and database?
SilentBot
SilentBot•2w ago
No description
GUWAD
GUWADOP•2w ago
I ran DROP USER 'pterodactyl'@'127.0.0.1'; and then ran CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'yourPassword'; with my password of course I had to do that because it said there already was a user, but i was unsure of the password so i remade it to make sure.
SilentBot
SilentBot•2w ago
And you already have a database called panel? If so, you still need to run GRANT ALL PRIVILEGES ON panel.* TO 'pterodactyl'@'127.0.0.1' WITH GRANT OPTION;
GUWAD
GUWADOP•2w ago
yes I made sure to create database panel beforehand, and grant privleges afterwards I just basically removed database and user and redid the commands in the doc
SilentBot
SilentBot•2w ago
And you've got your credentials set in /var/www/pterodactyl/.env for the pterodactyl user?
GUWAD
GUWADOP•2w ago
I didn't actually.
SilentBot
SilentBot•2w ago
Because I assume you left that blank
GUWAD
GUWADOP•2w ago
I just set it
SilentBot
SilentBot•2w ago
And if you now check tail -n 100 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log again
GUWAD
GUWADOP•2w ago
In "db_connection" should i have this set to mariadb instead of mysql or is it handled the samea?
SilentBot
SilentBot•2w ago
No the other values of DB_CONNECTION would be for sqlite, postgresql, microsoft SQL server, MongoDB, etc.
GUWAD
GUWADOP•2w ago
https://pastebin.com/raw/zjJ1KpAu now I believe it's something to do with my tables or something?
SilentBot
SilentBot•2w ago
You need to go to /var/www/pterodactyl
SilentBot
SilentBot•2w ago
Getting Started | Pterodactyl
Pterodactyl is an 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.
SilentBot
SilentBot•2w ago
forward So php artisan migrate --seed --force, php artisan p:user:make and the set permissions stuff (top command of the three) Also the section above it first (before the above) for environment setup, database and mail if you've not done it
GUWAD
GUWADOP•2w ago
Okay I have done that. But the log is still looking the same. Maybe I should try from the top?
SilentBot
SilentBot•2w ago
php artisan migrate --seed --force is what you needed to run It installs the tables required for the panel to function
SilentBot
SilentBot•2w ago
You also would need to browse to the panel to trigger new log entries
GUWAD
GUWADOP•2w ago
I am not able to access the panel from the domain HTTP ERROR 500
SilentBot
SilentBot•2w ago
Then run these first:
php artisan p:environment:setup
php artisan p:environment:database
php artisan p:environment:setup
php artisan p:environment:database
Then run php artisan migrate --seed --force again
GUWAD
GUWADOP•2w ago
okay doing this, also i was curious, would redis, memcached, or file be the best?
SilentBot
SilentBot•2w ago
If you followed the full steps, redis is what you should be selecting if you didn't, select file
GUWAD
GUWADOP•2w ago
okay that's what i assumed Yeah still HTTP ERROR 500
SilentBot
SilentBot•2w ago
logs
GUWAD
GUWADOP•2w ago
SilentBot
SilentBot•2w ago
Unsure what to say Either it's a cached response Or the migration isn't applying and the table isn't being created If you open up the mysql instance you used to create the user can you type use panel; and show tables; (if I'm remembering the right SQL from the top of my head)
GUWAD
GUWADOP•2w ago
MariaDB [(none)]> use panel;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [panel]> show tables;
+-----------------------+
| Tables_in_panel |
+-----------------------+
| activity_log_subjects |
| activity_logs |
| allocations |
| api_keys |
| api_logs |
| audit_logs |
| backups |
| database_hosts |
| databases |
| egg_mount |
| egg_variables |
| eggs |
| failed_jobs |
| jobs |
| locations |
| migrations |
| mount_node |
| mount_server |
| mounts |
| nests |
| nodes |
| notifications |
| password_resets |
| recovery_tokens |
| schedules |
| server_transfers |
| server_variables |
| servers |
| sessions |
| settings |
| subusers |
| tasks |
| tasks_log |
| user_ssh_keys |
| users |
+-----------------------+
35 rows in set (0.001 sec)
MariaDB [(none)]> use panel;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [panel]> show tables;
+-----------------------+
| Tables_in_panel |
+-----------------------+
| activity_log_subjects |
| activity_logs |
| allocations |
| api_keys |
| api_logs |
| audit_logs |
| backups |
| database_hosts |
| databases |
| egg_mount |
| egg_variables |
| eggs |
| failed_jobs |
| jobs |
| locations |
| migrations |
| mount_node |
| mount_server |
| mounts |
| nests |
| nodes |
| notifications |
| password_resets |
| recovery_tokens |
| schedules |
| server_transfers |
| server_variables |
| servers |
| sessions |
| settings |
| subusers |
| tasks |
| tasks_log |
| user_ssh_keys |
| users |
+-----------------------+
35 rows in set (0.001 sec)
I think that's correct right? I am running the mariadb on another user, but that shouldn't matter right?
SilentBot
SilentBot•2w ago
Depends which database it's connecting to, but it sh ould be that one Because that right there has a table called settings in the panel database
SilentBot
SilentBot•2w ago
which makes this line not true
No description
GUWAD
GUWADOP•2w ago
Yeah and that's what it was complaining about not having yes exactly so it makes no sense
SilentBot
SilentBot•2w ago
Are you able to share the lines starting with DB_ in your .env without sharing your pass But the migration and laravel should be using the same .env
GUWAD
GUWADOP•2w ago
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=panel DB_USERNAME=pterodactyl DB_PASSWORD=
SilentBot
SilentBot•2w ago
Assuming the panel database is empty Honestly, just run DROP DATABASE panel; CREATE DATABASE panel;
GUWAD
GUWADOP•2w ago
I tried this before I think but I will try again
SilentBot
SilentBot•2w ago
GRANT ALL PRIVILEGES ON panel.* TO 'pterodactyl'@'127.0.0.1' WITH GRANT OPTION; and then php artisan migrate --seed --force after leaving the sql cli
GUWAD
GUWADOP•2w ago
Didn't fix it sadly
SilentBot
SilentBot•2w ago
Can try php artisan cache:clear as a last resort and try and reload the page But other than that, you probably need to ask in the Pterodactyl Discord server
GUWAD
GUWADOP•2w ago
Yeah sadly didn't work. I will try Pterodactyl discord server. Thank you a lot for trying to help I really appreciate it
SilentBot
SilentBot•2w ago
No worries You're 80% of the way there Just no clue where this is going wrong, and I gotta sleep
GUWAD
GUWADOP•2w ago
Goodnight once again seriously thanks a lot Ptero discord is pretty inactive sadly, if anyone here thinks they could help I would appreciate it. Fixed it with
chown -R www-data:www-data /var/www/pterodactyl/*
chown -R www-data:www-data /var/www/pterodactyl/*
, guess I somehow forgot to do this. Now I cannot get wings to work
iRazvan2745
iRazvan2745•2w ago
any error?
SilentBot
SilentBot•2w ago
That's why you gotta RTFM And repeat all the steps if needed :P
GUWAD
GUWADOP•7d ago
in browser console I am getting these errors.
The FetchEvent for "https://node.guw.ad:8080/api/system" resulted in a network error response: the promise was rejected.
ServiceWorker.js:9
Uncaught (in promise) TypeError: Failed to fetch
at ServiceWorker.js:9:24
The FetchEvent for "https://node.guw.ad:8080/api/system" resulted in a network error response: the promise was rejected.
ServiceWorker.js:9
Uncaught (in promise) TypeError: Failed to fetch
at ServiceWorker.js:9:24
node.guw.ad:8080/api/system:1
The FetchEvent for "https://node.guw.ad:8080/api/system" resulted in a network error response: the promise was rejected.
ServiceWorker.js:9
Uncaught (in promise) TypeError: Failed to fetch
at ServiceWorker.js:9:24
The FetchEvent for "https://node.guw.ad:8080/api/system" resulted in a network error response: the promise was rejected.
ServiceWorker.js:9
Uncaught (in promise) TypeError: Failed to fetch
at ServiceWorker.js:9:24
node.guw.ad:8080/api/system:1
iRazvan2745
iRazvan2745•7d ago
i have no clue
GUWAD
GUWADOP•7d ago
@SilentBot sorry to bug you, would you have any idea what these errors could be resulting from?
SilentBot
SilentBot•7d ago
Wings isn't accessible publicly on port 8080 Either blocked by firewall or wings isn't running at all
GUWAD
GUWADOP•7d ago
I got it resolved. LetsEncrypt saved my cert like example.com-0003 so that was my issue. solved
SilentBot
SilentBot•7d ago
Nicesu
PhonicUK
PhonicUK•6d ago
Curious about what you didn't like about AMP?
GUWAD
GUWADOP•6d ago
Out of the box imo it just felt a bit weird to navigate, for most people I'm sure it'd be fine but I just felt very confused with how it was layed out. Also I'm a bit of a noob and I was having a tough time learning to do certain things, because it wasn't more idiot friendly in the docs 😂 just imo felt more complex than pterodactyl, honest review 😂
PhonicUK
PhonicUK•6d ago
That's cool - could you give any specific examples of things that felt unintuitive?
GUWAD
GUWADOP•6d ago
If I was actively using it I could tell you but, for example, after installing I was having issues and I had to go to discord because I couldn't find anything about it on the docs. And I just generally didn't like the layout of the interface regardless, just felt a bit dated.
PhonicUK
PhonicUK•6d ago
Can you elaborate in any way at all? xD "I was trying to do X, I expected to be able to Y" etc?
GUWAD
GUWADOP•6d ago
It's not an issue of that, I'm sure if I messed with it I would've been able to do anything pterodactyl could do. The only reason I didn't like it is because when using it I felt like I didn't know what I was doing. My opinion on these types of things is honestly invaluable though I use nomachine for terminal as a reference to my inexperience with this type of stuff 😂
PhonicUK
PhonicUK•6d ago
I'm guessing you're quite young? Spose that's unhelpful given that I call anyone under 25 'young'
GUWAD
GUWADOP•6d ago
I'm 22, just don't really know much about this type of stuff. I only got into self hosting and stuff a year ago or so Hahaha then yeah
PhonicUK
PhonicUK•6d ago
yeah I figured - it's more that you're seemingly unable to quantify anything which is a common issue with younger people So the feedback is consequently vague and unactionable
GUWAD
GUWADOP•6d ago
It's not real feedback I just didn't like it. I'm sure others would, especially if they weren't so used to pterodactyls layout. (Or stubborn)
PhonicUK
PhonicUK•6d ago
I try as much as I can to get feedback from people who didn't like it so I can try and find out why and examine what could be done better I'm assuming you got it installed, saw the big blue "Create Instance" button and got at least as far as creating a game instance? Maybe you'd be able to describe the first time you felt that you didn't know what you were doing?
GUWAD
GUWADOP•6d ago
I kind of just bought it without even looking into it, so I went in completely with no idea what I was even installing besides that its a panel that does similar things to pterodactyl. That's part of the reason I was clueless, probably. Also I felt like it was hard to find docs, it took me too long to realize ampinstmgr was the command for the panel, for example. Once I figured it out yeah I felt a little stupid because you had to use the command to install, but idk for some reason that wasn't apparent to me. Not just that just an example. I would have to be actively using it to give you good feedback
PhonicUK
PhonicUK•6d ago
Do you remember the kind of things you were looking for docs for? What the "Huh, I can't figure out how to do this" thing was that made you go looking because it wasn't obvious?
GUWAD
GUWADOP•6d ago
Okay here's one I definitely can remember After installing (from the websites instructions), you're kind of left with nowhere to go/ nothing to do. Like, it would be nice if under the install, there was a link to docs to show how basic things are done
PhonicUK
PhonicUK•6d ago
That sounds more like you didn't get into the panel at all?
GUWAD
GUWADOP•6d ago
I did, I just had to use chatgpt to figure out what was going wrong. I believe I had a nginx issue or something.
PhonicUK
PhonicUK•6d ago
So you got to the panel, and you saw the empty interface and a big blue "Create Instance" button with the arrow pointing to it saying "Click here to create your first instance" ?
PhonicUK
PhonicUK•6d ago
Just to refresh your memory it would have looked like this:
No description
GUWAD
GUWADOP•6d ago
Yes and I created an instance, and tested my mc server for a bit because this was the first time I was able to get a little test server going on my dedicated I got. The thing that really drew me away was the interface. And one thing I really liked was the way the whole ampinstmgr (command) is setup
PhonicUK
PhonicUK•6d ago
Why were you using ampinstmgr at all? There's like no good reason to use it ever except for recovery situations or certain maintainence tasks - what were you trying to do with it?
GUWAD
GUWADOP•6d ago
Yes When troubleshooting, when I was having issues at the start. And it was quite a bit easier than messing with wings and ptero panel I will admit
PhonicUK
PhonicUK•6d ago
You're like blood from a stone dude, what were the issues you were trying to troubleshoot?
GUWAD
GUWADOP•6d ago
I do not remember, probably the nginx issue. Used it to get logs and things
PhonicUK
PhonicUK•6d ago
wouldn't have been that, I'm guessing this more than a few days ago given how little you remember?
GUWAD
GUWADOP•6d ago
It was like yesterday or the day before 😂
PhonicUK
PhonicUK•6d ago
Christ 😂
GUWAD
GUWADOP•6d ago
I'll give amp another try some time, if it helps that day was one of the more stressful days so the odds of me giving it a fair chance for that day, is much lower.
PhonicUK
PhonicUK•6d ago
If you ever do, and you run into something you don't like - actually not just with AMP but any software you ever use, take a moment to ask yourself "why don't I like this?" because it's the absolute #1 thing developers want to know I mean even I don't know where everything is in AMP, but I also will just go straight to the search box to find a setting or some documentation or whatever I need
GUWAD
GUWADOP•6d ago
100% I get you. I'll try to give some more valuable feedback. Saying "I don't like it", isn't very helpful in changing / fixing what I do not like.
PhonicUK
PhonicUK•6d ago
I'd appreciate that 🙂 also check out the other themes it has if you don't like how it looks 😉
GUWAD
GUWADOP•6d ago
I'm watching a video on amp and I definitely didn't give it a good first chance. I never even used the search bar once. No wonder I didn't know where the docs were.
PhonicUK
PhonicUK•6d ago
No description
GUWAD
GUWADOP•6d ago
Definitely giving it another go soon sorry for the quick judgement, that search bar is sick (how lame of me to find a search bar, sick)
PhonicUK
PhonicUK•6d ago
what's fun is the setup process explicitly draws attention to it xD
PhonicUK
PhonicUK•6d ago
settings etc too
No description
GUWAD
GUWADOP•6d ago
That's as user friendly as it gets tbh 😂 I get why you're so confused how I'm finding it complicated
PhonicUK
PhonicUK•6d ago
Well we've now finally got something I can use right? Your attention wasn't strongly enough drawn to the search box to even think to use it for documentation So maybe I need to revisit how that's done
GUWAD
GUWADOP•6d ago
maybe there could be a "walkaround" on install just to dummy proof it 😂 Omg I didn't mean to edit my message 😂
PhonicUK
PhonicUK•6d ago
Well it has this image at the end of the setup process:
PhonicUK
PhonicUK•6d ago
No description
GUWAD
GUWADOP•6d ago
Okay I'm just stupid
PhonicUK
PhonicUK•6d ago
but people are clearly not noticing it
GUWAD
GUWADOP•6d ago
I blame that on my own lack of patience I must have just blindly skipped that
PhonicUK
PhonicUK•6d ago
you're not the first not to even realise the search box was there you see I might make it a video xD
GUWAD
GUWADOP•6d ago
This video is what I was watching, could just include this too I guess at the bottom of the install 😂
GUWAD
GUWADOP•6d ago
CubeCoders
YouTube
Creating a Minecraft: Java Edition server in AMP
In this video I cover how to install and configure a Minecraft: Java Edition server through AMPs web interface, and how to find settings within AMP. - AMP Installation Tutorials - Linux: https://youtu.be/s_I9OdAj8xo Windows: https://youtu.be/6oZDzvoYSJ0 Site: https://cubecoders.com/AMP/Minecraft?utm_source=youtube Patreon: https://patreon.com/...
PhonicUK
PhonicUK•6d ago
I need to replace those old videos really
PhonicUK
PhonicUK•6d ago
There's an unfinished version of the replacement for that video here: https://www.youtube.com/watch?v=8yfIxauIhXI
GUWAD
GUWADOP•6d ago
Yeah this one is a bit nicer.
PhonicUK
PhonicUK•6d ago
I feel like the pacing is a little slow, but it's clearer and has better production values.
GUWAD
GUWADOP•6d ago
I think its better for it to be slow. Always gotta account for people like me 😂😂 And editing is great

Did you find this page helpful?