Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: serving pterodactyl behind reverse proxy causes DOMException: The operation is insecure. #71

Closed
KenwoodFox opened this issue Nov 13, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@KenwoodFox
Copy link

What happened?

I am getting an issue really similar to #10 , when loading a web page, I cant control or really.. do anything, server controls don't work and I get the The operation is insecure. error.

I think its because I'm hosting the pterodactyl server over HTTP, and then proxying it + adding my SSL cert afterward. I looked around, and the cause makes sense. because I actually am hosting the server over HTTP, it confuses the server and doesn't accept URLs beginning with https?

I'm thinking maybe I'll self sign some certs and just host it over https internally? it sounds kinda silly but i could do that? Is there an easier way? a config setting for when you're using a reverse proxy?

let me know if there is any more info i can provide.

@KenwoodFox KenwoodFox added the bug Something isn't working label Nov 13, 2023
@KenwoodFox
Copy link
Author

KenwoodFox commented Nov 13, 2023

Ah... using chrome produces some more helpful debug.
image
that IP, 10.85.3.103 is the direct connection to the wing. It cant do that, I'm surprised. I had thought I had forbidden that path.

Is this how pterodactyl works? Do I need to make my wings accessible externally too? that would certainly make it more involved for me to provide a subdomain for every wing..

new discovery: path is blocked, it couldn't connect even if it wanted to, that's a local IP.
image

@KenwoodFox
Copy link
Author

Behind proxy is set... but still same error? im struggling to setup a self-signed cert haha.. this is why i centralize all my certs on my reverse proxy in the first place, https://pterodox.com/guides/reverse-proxy.html#for-wings

@insertish
Copy link
Member

Sir, this is Revolt

Closing out for unrelated issue

@insertish insertish closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants