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.
No description
47 Replies
Admincraft Meta
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
ProGamingDk
ProGamingDk2y ago
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
Trailbounder
TrailbounderOP2y ago
I don't have anything port forwarded fyi, only tunneling node is green local, node is red externally
ProGamingDk
ProGamingDk2y ago
port 8080 is websocket wings uses ur browser NEEDS access to it
Trailbounder
TrailbounderOP2y ago
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
ProGamingDk
ProGamingDk2y ago
that error is normal can u do this
Trailbounder
TrailbounderOP2y ago
I did While on port 80 or 8777?
ProGamingDk
ProGamingDk2y ago
:and whats the error: if its shows red it very usually has a error in f12
Trailbounder
TrailbounderOP2y ago
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
ProGamingDk
ProGamingDk2y ago
is node set to https/ssl? looking at the error message
Trailbounder
TrailbounderOP2y ago
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?
ProGamingDk
ProGamingDk2y ago
ssl only works for domains
Trailbounder
TrailbounderOP2y ago
Right, so how do I pull a tunneling domain?
ProGamingDk
ProGamingDk2y ago
¯\_(ツ)_/¯
Trailbounder
TrailbounderOP2y ago
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...
1who¡ssus?
1who¡ssus?2y ago
Hey programing is there any chance that maybe they have to add their public IP in the config.yml in /etc/pterodactyl ?
ProGamingDk
ProGamingDk2y ago
thats not the issue
ProGamingDk
ProGamingDk2y ago
No description
ProGamingDk
ProGamingDk2y ago
the tunnel or whatever is running on https while the node is http
1who¡ssus?
1who¡ssus?2y ago
Isn't there a setup guide for setting up the node in https? In the docs With nginx
ProGamingDk
ProGamingDk2y ago
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
1who¡ssus?
1who¡ssus?2y ago
Mayb he can still set nginx
ProGamingDk
ProGamingDk2y ago
what
1who¡ssus?
1who¡ssus?2y ago
I meant he can still try to set the node in https
ProGamingDk
ProGamingDk2y ago
:that needs a domain: and a ssl certificate
1who¡ssus?
1who¡ssus?2y ago
.. can't the tunnel run in http?
Trailbounder
TrailbounderOP2y ago
My tunnel is pulling the http, so if I can convert to https the tunnel will pull it.
ProGamingDk
ProGamingDk2y ago
well that would let his panel be susceptible to mitm attacks
Trailbounder
TrailbounderOP2y ago
How do I run https locally with a domain though? My whole goal is to NOT expose my ports online
ProGamingDk
ProGamingDk2y ago
google it
Trailbounder
TrailbounderOP2y ago
okay, I rebooted my server...dumb question, how do I reload pterodactyl and wings?
ProGamingDk
ProGamingDk2y ago
see if u installed pterodactyl through the guide you would know :-:
Trailbounder
TrailbounderOP2y ago
I have pterodactyl loaded, don't think wings is communicating:
No description
ProGamingDk
ProGamingDk2y ago
well is that internal or external
1who¡ssus?
1who¡ssus?2y ago
Iirc sudo systemctl reload wings Should reload wings
Trailbounder
TrailbounderOP2y ago
No description
Trailbounder
TrailbounderOP2y ago
No description
Trailbounder
TrailbounderOP2y ago
internal
Trailbounder
TrailbounderOP2y ago
No description
Trailbounder
TrailbounderOP2y ago
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
Trailbounder
TrailbounderOP2y ago
No description
Trailbounder
TrailbounderOP2y ago
Documented fix for same issue
1who¡ssus?
1who¡ssus?2y ago
Interesting info
Trailbounder
TrailbounderOP2y ago
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
1who¡ssus?
1who¡ssus?2y ago
Pterodactyl experience
Trailbounder
TrailbounderOP2y ago
Next steps is DNS>Proxy>SSL> Tunneling

Did you find this page helpful?