#Requesting Help finishing the setup, everything works locally, but unable to access wings console

8 messages · Page 1 of 1 (latest)

warm leaf
#

Hello,
I have very recently set up the panel and wing, and it has been working great from locally, but today I attempted to set up access to the server from behind a cloudflare tunnel and it seems to run into some isues. I know there is documentation somewhere that guides me through this process but I was unable to figure it out.

Here is current setup,
Panel, ip: x.x.2.59 - setup using nginx without ssl, I have also added cloudflare ips to the .env files as trusted proxies
Wing, ip: x.x.2.60 - FQDN is an ip, have use HTTP connection set, and behind proxy set, changed daemon port to 8443
Cloudflare side is set to access the panel through a zero trust tunnel, public hostname is an http record pointing at x.x.2.59 with no additional settings.

I do not currently have a DNS server setup, but if that is required I can easily spin one up on my proxmox.
Any help is appreciated.

sick pivotBOT
#

The env file can be found at /var/www/pterodactyl/.env. Files starting with a . in Linux are hidden so it may not show up in file browsers by default. You can open it directly with nano /var/www/pterodactyl/.env

warm leaf
#

browser console says below
jquery.min.js?t={cache-version}:4 Mixed Content: The page at 'https://gamepanel.<domain>.com/admin/nodes' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://x.x.2.60:8443/api/system'. This request has been blocked; the content must be served over HTTPS.

sick pivotBOT
warm leaf
#

well, it seems i need to set this up to only use https now, which probably needs SSL

warm leaf
sick pivotBOT
#

@warm leaf; Make sure that your Wings are running and reachable. This error usually happens when your browser can't reach Wings to verify the CORS headers. Click on the URL in the CORS error to verify it can be connected to without any errors.

warm leaf
#

was missing ssl cert on wings server