# PlexConnect.py immediately crashes

**URL:** <https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829>\
**Category:** Apps & Creations\
**Created:** [January 20, 2014, 4:57pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829 "2014-01-20T16:57:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divvy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/divvy/32/8425_2.png) [@Divvy](https://forums.plex.tv/u/Divvy)\
**Post date:** [January 20, 2014, 4:57pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/1 "2014-01-20T16:57:27Z")

</div>

Hi guys,  
  
I have PlexConnect working perfectly in my old computer that is using Windows Home Premium 32 bits.  
But I have now a new PC with Windows Ultimate 64 bits and cant make the PlexConnect working… when I click, immediately crashes.  
  
**What I did?**  
I have follow all instructions here:  
[https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows](https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows)  
&nbsp;  
**Except:&nbsp;**  
Installed&nbsp;Python 2.7.6 Windows X86-64 Installer instead of Python 2.7.6 Windows Installer (I tried the other but didn’t worked too)  
Installed Win64 OpenSSL v1.0.1f Light instead of Win32 OpenSSL v1.0.1f Light  
Installed Visual C++ 2008 Redistributables (x64) instead of Visual C++ 2008 Redistributables  
Changed “C:\OpenSSL-Win32” to “C:\OpenSSL-Win64” in the command lines  
  
After all instructions done, when I click in the file&nbsp;PlexConnect.py he&nbsp;immediately crashes.  
The don’t see any firewall window open like the tutorial above said.  
What I’m doing wrong? How can I fix this?  
&nbsp;  
Waiting for your replies, thank you guys!  
  
&nbsp;

> Your ATV model (2 or 3) and firmware version (found under the ATV settings \> general \> about \> Apple TV software): **ATV 3, 6.0.2 (6646.81.1)**  
> The DNS server set on the ATV (found under the ATV settings \> general \> network \> DNS): **192.168.1.85**  
> The device and operating system (including version number) that PlexConnect is installed on: **Windows 7 Ultimate (6.1 build 7601: Service Pack 1)**  
> The local IP address of the device that PlexConnect is installed on: **192.168.1.85**  
> The device and operating system (including version number) that the Plex media server (PMS) is installed on: **Windows 7 Ultimate (6.1 build 7601: Service Pack 1)**  
> The Plex media server (PMS) version number you are running (do not put ‘latest’): **Version 0.9.8.18.290-11b7fdd**  
> The local IP address of the device that the Plex media server (PMS) is installed on: **192.168.1.85**  
> The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any testing branch e.g. the Elan/PlexInc one. **January 10, 2014 at 04:09 PM**  
> I don’t have any log file or settings.cfg file inside the PlexConnect-master folder.

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [January 20, 2014, 6:03pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/2 "2014-01-20T18:03:03Z")

</div>

Try opening a cmd window, changing to the relevant directory and running PlexConnect.py so that you can see any error message.

---

<div class="post-metadata">

**Author:** ![Divvy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/divvy/32/8425_2.png) [@Divvy](https://forums.plex.tv/u/Divvy)\
**Post date:** [January 20, 2014, 6:26pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/3 "2014-01-20T18:26:51Z")

</div>

Hi buddy, thank you for your reply! But I already solved the problem 😃  
  
What I did:  
- I deleted the **PlexConnect-master** folder  
- I downloaded the file from here: [https://github.com/iBaa/PlexConnect/](https://github.com/iBaa/PlexConnect/) **(Download ZIP link)** instead of the link [https://github.com/iBaa/PlexConnect/archive/master.zip](https://github.com/iBaa/PlexConnect/archive/master.zip) that is in the tutorial page: [https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows](https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows)  
  
After that, is working perfectly! 🙂

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 20, 2014, 7:07pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/4 "2014-01-20T19:07:59Z")

</div>

Aehm... any chance to figure out the difference of those two packages?

A quick check said "it's the same"...

---

<div class="post-metadata">

**Author:** ![Divvy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/divvy/32/8425_2.png) [@Divvy](https://forums.plex.tv/u/Divvy)\
**Post date:** [January 20, 2014, 7:29pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/5 "2014-01-20T19:29:03Z")

</div>

Baa, you are right, it seems the same, I really dont know what happened but it worked for me 🙂

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 20, 2014, 7:34pm UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/6 "2014-01-20T19:34:18Z")

</div>

Ok, just wanted to make sure.

I am glad you got it working - whatever way. :-D

---

<div class="post-metadata">

**Author:** ![mnabilsh](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mnabilsh](https://forums.plex.tv/u/mnabilsh)\
**Post date:** [January 21, 2014, 12:49am UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/7 "2014-01-21T00:49:07Z")

</div>

i also had similar case. used the same zip in windows and it crashes. but i used the same on my macbook pro and it worked !

i dont know if it has to do with Python for Windows. I will try once again tonight to get it working with my PC.&nbsp;

\*my only problem is with the streaming lag on 720p videos (1Channel, putlocker) on mac. i never have such lag with xbmc. i'll find the related thread. thanks\*

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [January 21, 2014, 9:51am UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/8 "2014-01-21T09:51:51Z")

</div>

> [@](#):
>
> i also had similar case. used the same zip in windows and it crashes. but i used the same on my macbook pro and it worked !  
>   
> i dont know if it has to do with Python for Windows. I will try once again tonight to get it working with my PC.   
>   
>   
>   
> _my only problem is with the streaming lag on 720p videos (1Channel, putlocker) on mac. i never have such lag with xbmc. i’ll find the related thread. thanks_

Can’t really help you with channel issue but check it is Python 2.7.x you have installed and check my post 2 for troubleshooting steps.

---

<div class="post-metadata">

**Author:** ![mnabilsh](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@mnabilsh](https://forums.plex.tv/u/mnabilsh)\
**Post date:** [January 22, 2014, 2:05am UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/9 "2014-01-22T02:05:23Z")

</div>

> Can't really help you with channel issue but check it is Python 2.7.x you have installed and check my post 2 for troubleshooting steps.

i used 2.7.6. i fixed the problem thanks, it was the Microsoft Visual 2008 C++ which was not compatible. So I installed another version. Open SSL failed to execute properly. so for those who are having issues with PlexConnect, make sure your certificates are correctly acquired

---

<div class="post-metadata">

**Author:** ![BlackDr0n3](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@BlackDr0n3](https://forums.plex.tv/u/BlackDr0n3)\
**Post date:** [November 1, 2014, 3:40am UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/10 "2014-11-01T03:40:25Z")

</div>

As far as PlexConnect crashing immediately after running plexconnect.py. The guid said to extract the PlexConnect-Master to “C:\Program File”. That didn’t work and crashed immediately. So what I did was, I deleted the extracted file, And I Re-Extracted the file PlexConnect-Master to “C:”. Now it works fine.

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [November 1, 2014, 10:31am UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/11 "2014-11-01T10:31:42Z")

</div>

> As far as PlexConnect crashing immediately after running plexconnect.py. The guid said to extract the PlexConnect-Master to "C:\Program File". That didn't work and crashed immediately. So what I did was, I deleted the extracted file, And I Re-Extracted the file PlexConnect-Master to "C:\". Now it works fine.

Did you correct the permissions if using Windows 7 or later as per the guide?

1. **Extract the PlexConnect archive** &nbsp;you&nbsp;[downloaded earlier](https://github.com/iBaa/PlexConnect/archive/master.zip). We recommend extracting it to "C:\Program Files" or "C:\Program Files (x86)" on x64 systems; if you use either of these folders and are running Windows 7 or later ensure that the directory has the correct read/write permissions.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 1:05am UTC](https://forums.plex.tv/t/plexconnect-py-immediately-crashes/54829/12 "2019-12-21T01:05:39Z")

</div>

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