PlexConnect doesn't work with VPN

Terrier,

This one change got it working while the VPN was connected for me.  Not sure what your issues might be.  Let's do the questions thing:

1) what device or OS are your running PMS on?

2) are you running PlexConnect on the same machine?

3) Is PMS actually working for you, just not on ATV?  I mean, can you view movies from your Smart Phone, Xbox, or other such device, and just not on your ATV?

4)Does PMS work when VPN is disconnected?  Does it work when VPN is connected?

5) does PlexConnect work when your VPN is disconnected? does PlexConnect work when your VPN is Connected?  Does PlexConnect startup at all?

6) What version of Python are you running?

7) what is the date of your PlexConnect?  When did you download it? Did you download it from GitHub directly? or from Plex?

8) did you change the DNS address of your ATV to the ip address of your machine where you are running PLexConnect? (IF NOT, GO READ THE INSTALL INSTRUCTIONS AND TRY AGAIN)

9) do these devices use static IP addresses or are you using DHCP? ( THis is basic stuff from the install instructions so I assume you understand this and have done it properly. IF NOT, GO READ THE INSTALL INSTRUCTIONS AND TRY AGAIN )

8) Send me a message with your settings.cfg and PlexConnect.py files attached.  Also attach a copy of your PlexConnect.log file which shows your starting PlexConnect, and attempting to Connect the Trailers app.

Terrier,

This one change got it working while the VPN was connected for me.  Not sure what your issues might be.  Let's do the questions thing:

1) what device or OS are your running PMS on?

2) are you running PlexConnect on the same machine?

3) Is PMS actually working for you, just not on ATV?  I mean, can you view movies from your Smart Phone, Xbox, or other such device, and just not on your ATV?

4)Does PMS work when VPN is disconnected?  Does it work when VPN is connected?

5) does PlexConnect work when your VPN is disconnected? does PlexConnect work when your VPN is Connected?  Does PlexConnect startup at all?

6) What version of Python are you running?

7) what is the date of your PlexConnect?  When did you download it? Did you download it from GitHub directly? or from Plex?

8) did you change the DNS address of your ATV to the ip address of your machine where you are running PLexConnect? (IF NOT, GO READ THE INSTALL INSTRUCTIONS AND TRY AGAIN)

9) do these devices use static IP addresses or are you using DHCP? ( THis is basic stuff from the install instructions so I assume you understand this and have done it properly. IF NOT, GO READ THE INSTALL INSTRUCTIONS AND TRY AGAIN )

8) Send me a message with your settings.cfg and PlexConnect.py files attached.  Also attach a copy of your PlexConnect.log file which shows your starting PlexConnect, and attempting to Connect the Trailers app.

Hi

Thanks for getting back to me. When you indicated that there was only the one change to make I went back and found that when I made the changes to the PlexConnect file i used a mix of spaces and tabs for the indentation and apparently python doesn't like that. I corrected the error and now providing my VPN is running before I start PlexConnect everything works well.

I also found that if I wish to change countries say go from a US server to a UK server I have to stop PlexConnect first, change the VPN server then start PLexConnect again. Would you consider that the correct way to do it. Obviously If i could change the servers without stopping PlexConnect that would be the best solution.

By the way I run my VPN from my Tomato Firmware based router, I don't think its possible using the vpn client application that I can run on my OS X Mountain Lion machine, the same machine i run PlexConnect and PMS on.

Thanks again T

Hi

Thanks for getting back to me. When you indicated that there was only the one change to make I went back and found that when I made the changes to the PlexConnect file i used a mix of spaces and tabs for the indentation and apparently python doesn't like that. I corrected the error and now providing my VPN is running before I start PlexConnect everything works well.

I also found that if I wish to change countries say go from a US server to a UK server I have to stop PlexConnect first, change the VPN server then start PLexConnect again. Would you consider that the correct way to do it. Obviously If i could change the servers without stopping PlexConnect that would be the best solution.

By the way I run my VPN from my Tomato Firmware based router, I don't think its possible using the vpn client application that I can run on my OS X Mountain Lion machine, the same machine i run PlexConnect and PMS on.

Thanks again T

Hmm.  Strange.  if your VPN is running from your router, your IP address of your machine running PlexConnect should not ever be changing. It therefore also shouldn't matter whether your VPN is started or not, or running or not.  It shouldn't matter if you change Servers or IP addresses while your PlexConnect is running because the PlexConnect and PMS server would all be local on your network.

What VPN are you using?  It sounds like you still have soemthing strange going on. It would be interesting to see your PlexConnect logs both with and without your VPN being on to see if there is any difference.

 recently started using a VPN setup on my PC that is running Plexconnect and now my Apple TV will not connect properly.  Is there a setting I have to change somewhere?  From scanning these forums, it looks like there was a change made to the Plexconnect code that resolved the VPN issues and didn't require any setting changes.  Please point me in the right direction if I am missing something.

Thanks in advance!

EDIT: I got it working.  It appears to be an issue with the"kill switch" feature of my VPN provider.  It's designed to disable all internet connections should the VPN connection fail.  When this "kill switch" is enabled, Plexconnect, local network file/print sharing, etc. won't work.  Leaving it disabled for now to enjoy Plex!  If anyone has had any success working around this type of feature, please comment.

Turning off the Kill Switch worked for me too.  After manually setting the 2 Plex IP addresses.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.