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

Sitting behind a Reverse Proxy and CloudFlare #4

Open
Cimplex opened this issue Apr 26, 2017 · 2 comments
Open

Sitting behind a Reverse Proxy and CloudFlare #4

Cimplex opened this issue Apr 26, 2017 · 2 comments
Labels

Comments

@Cimplex
Copy link

Cimplex commented Apr 26, 2017

Hey! I'm from reddit:
https://www.reddit.com/r/PleX/comments/67isd3/missing_and_unaired_episodes_for_plex_web_plexius/dgquz05/

I was looking through my console log and I didn't see anything from plexius. Kind of gave me a clue it wasn't even trying to run? So I thought it might have something to do with my access URL.

I dug a little deeper and this is what I found:

getServerAddresses('https://plex.tv/pms', "==My Plex Token==", console.log)
plexius Failed to ping address for f0359ca77b81114d33ab4039713fa7c371ab3c99 - https://plex.plexbox.us
plexius Failed to ping address for 610b7929-b490-45d2-91bc-b160f7af8d41 - https://plex.plexbox.us
plexius Failed to ping address for f0359ca77b81114d33ab4039713fa7c371ab3c99 - https://XXX-XXX-XXX-XXX.896958481d8343078ff8e49887a6dcf9.plex.direct:32400
plexius Failed to ping address for 610b7929-b490-45d2-91bc-b160f7af8d41 - https://XXX-XXX-XXX-XXX.896958481d8343078ff8e49887a6dcf9.plex.direct:32400

The first two things its trying to ping, should work (you can visit it yourself to see). But I firewalled 32400, so trying to visit the plex direct links will fail. All my Plex traffic is served on 443 (https) and then funneled through CloudFlare. This seems to work for all the Plex clients so far. (Edit: the plex direct links contained my real IP, so censored)

Let me know if you want anymore information. I am not sure if this (reverse proxy and CloudFlare) is something you can support. But thanks for creating a cool project!

Also, I don't have a non-reversed-proxy Plex server at my disposal right now. Later this week, I can do a sanity check to make sure I can at least get it working on a normal setup.

@campanflaviu
Copy link
Owner

I think this would explain why the extension doesn't work for some other users. I'll look into this asap. Thanks for your feedback!

@enchained
Copy link

Can confirm - it does work from my local ip server, but doesn't work when I switch to the remote server that is shared to me (no proxy, just http://domainname.com:32400).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants