Pterodactyl - MC console not available over internet, only locally.
Pterodactyl is tunneled vs port forwarded, just trying to figure out if there is a seting i'm missing. I can access the control panel and all settings, only the console will not load. port 80 is tunneled as only http is set internally...I think, I may be wrong about that one. Everything is 100% accessible locally.
47 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by trailbounder#0
did u check port 8080
can u go to the node tab and if it shows a red heart
click f12 and check for errors
I don't have anything port forwarded fyi, only tunneling
node is green local, node is red externally
port 8080 is websocket wings uses
ur browser NEEDS access to it
I changed port to 8777 (that's what is set for the node), I changed tunnel to 8777 just now and this is what loads: {"error":"The required authorization heads were not present in the request."}
how do I double check the ports wings is looking fo?r
that error is normal
can u do this
I did
While on port 80 or 8777?
:and whats the error: if its shows red it very usually has a error in f12
On port 8777: Failed to load resource: the server responded with a status of 401 ()
on port 80: server.63a662db.js:1 Mixed Content: The page at 'https://cp.trailboundtech.com/server/ce7e39a3' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.1.199:8777/api/servers/ce7e39a3-5286-49d9-a348-198eb84fa8b3/ws'. This request has been blocked; this endpoint must be available over WSS.
n.open @ server.63a662db.js:1
g @ server.63a662db.js:1
connect @ server.63a662db.js:1
(anonymous) @ server.63a662db.js:1
Promise.then (async)
d @ server.63a662db.js:1
(anonymous) @ server.63a662db.js:1
ys @ bundle.bae76759.js:1
jc @ bundle.bae76759.js:1
t.unstable_runWithPriority @ bundle.bae76759.js:1
Xo @ bundle.bae76759.js:1
Pc @ bundle.bae76759.js:1
fc @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
t.unstable_runWithPriority @ bundle.bae76759.js:1
Xo @ bundle.bae76759.js:1
Zo @ bundle.bae76759.js:1
Jo @ bundle.bae76759.js:1
ac @ bundle.bae76759.js:1
Aa @ bundle.bae76759.js:1
e @ bundle.bae76759.js:1
g @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
n @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
await in (anonymous) (async)
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
n @ bundle.bae76759.js:1
(anonymous) @ server.63a662db.js:1
ys @ bundle.bae76759.js:1
jc @ bundle.bae76759.js:1
t.unstable_runWithPriority @ bundle.bae76759.js:1
Xo @ bundle.bae76759.js:1
Pc @ bundle.bae76759.js:1
(anonymous) @ bundle.bae76759.js:1
F @ bundle.bae76759.js:1
O.port1.onmessage @ bundle.bae76759.js:1
server.63a662db.js:1 DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
at n.open (https://cp.trailboundtech.com/assets/server.63a662db.js:1:42895)
at new g (https://cp.trailboundtech.com/assets/server.63a662db.js:1:43446)
at x.connect (https://cp.trailboundtech.com/assets/server.63a662db.js:1:43684)
at https://cp.trailboundtech.com/assets/server.63a662db.js:1:46185
is node set to https/ssl?
looking at the error message
Its set to Http
I have my fqdn set to the local Ip address. What do I set that to if switching to SSL for the node?
ssl only works for domains
Right, so how do I pull a tunneling domain?
¯\_(ツ)_/¯
https://www.youtube.com/watch?v=k69oHQ8vTyE Gonna watch this and find if anything helps
Synthetic Everything
YouTube
Secure Your Pterodactyl Panel with SSL/HTTPS
Synthetic Everything demonstrates how you can convert your non-SSL Pterodactyl Panel to use SSL/HTTPS
Have A Suggestion For A New Video Comment Below And I Will Get Back To You As Soon As Possible!
I post my videos on lbry.tv: https://lbry.tv/@SyntheticEverything:8
My lbry invite link: https://lbry.tv/$/invite/@SyntheticEverything:8
Check out...
Hey programing is there any chance that maybe they have to add their public IP in the config.yml in /etc/pterodactyl ?
thats not the issue
the tunnel or whatever is running on https
while the node is http
Isn't there a setup guide for setting up the node in https?
In the docs
With nginx
he used the installer ;P
and yes its 1 step that is shown even in the panel itself, but is more complicated due to his setup
Mayb he can still set nginx
what
I meant he can still try to set the node in https
:that needs a domain:
and a ssl certificate
.. can't the tunnel run in http?
My tunnel is pulling the http, so if I can convert to https the tunnel will pull it.
well that would let his panel be susceptible to mitm attacks
How do I run https locally with a domain though?
My whole goal is to NOT expose my ports online
google it
okay, I rebooted my server...dumb question, how do I reload pterodactyl and wings?
see if u installed pterodactyl through the guide you would know :-:
I have pterodactyl loaded, don't think wings is communicating:
well is that internal or external
Iirc sudo systemctl reload wings
Should reload wings
internal
what I changed: I attempted configuring daemon back to 8080, and 2022
Didn't work, changed back to 8777, 2722. Now error
Reloaded auto-deploy token, wings is now running
Server is running
Now back to the http>https resolution
Documented fix for same issue
Interesting info
Just transferred my domain fully over to cloudflare so I can make this work
I've learned more about cloud networking in the last 24hrs than the last 24months
Pterodactyl experience
Next steps is DNS>Proxy>SSL> Tunneling