If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

PlexConnect stopped working, can't get it to work anymore

acdownacdown Posts: 15Members ✭✭
  • ATV model 3, firmware version 6.1.1

  • The DNS server set on the ATV: 192.168.1.254

  • The local IP address of the device that PlexConnect is installed on: 192.168.1.13

  • The device and operating system (including version number) that PlexConnect is installed on: Macbook Pro OSX Version 10.9.3

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Macbook Pro OSX Version 10.9.3

  • The Plex media server (PMS) version number you are running (do not put 'latest'): 

    Version 0.9.9.7
  • The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.13

  • The PlexConnect version number. If using Github source then a time and date of download: June 5, 2014 at 11:47 AM

The contents of your 'Settings.cfg' file:

[PlexConnect]

enable_plexgdm = True
ip_pms = 192.168.178.10
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
loglevel = Normal
logpath = .
 
 
I had it working fine for a few months and then it stopped working for no apparent reason about a week ago and I haven't been able to get it working since. This is what happens when I try to run it in terminal:
 

18:41:58 PlexConnect: ***

18:41:58 PlexConnect: PlexConnect

18:41:58 PlexConnect: Press CTRL-C to shut down.

18:41:58 PlexConnect: ***

18:41:58 PlexConnect: started: 18:41:58

18:41:58 PlexConnect: Version: 0.3.1+

18:41:58 PlexConnect: Python: 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54) 

[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

18:41:58 PlexConnect: Host OS: darwin

18:41:58 PlexConnect: IP_self: 192.168.1.13

18:41:58 DNSServer: started: 18:41:58

18:41:58 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use

18:41:58 PlexConnect: DNSServer not alive. Shutting down.

18:41:58 PlexConnect: Shutting down.

18:41:58 PlexConnect: shutdown

18:41:58 PlexConnect: shutdown

 

I am not running another server and port 53 doesn't show as being used when I check the Activity Monitor.

 

Any help would be appreciated as this is my last attempt to fix it without restoring my Macbook.

 

Comments

  • wahlman.jwahlman.j Posts: 2,564Members, Plex Pass Plex Pass
    edited June 2014
    Have you restarted your mac yet? Can you explain in detail how you installed Plexconnect using a app, webgui, manually via terminal, or using a plist. Are you sharing your internet connection from your mac?

    OSX apps : OpenPlex // UAS installer OpenPlex by Wahlman.j (Source Code), CyberGhost84 (GUI) & Flipman6 (Obj-C)

    iOS Firmware links: Firmware // Firmware Limits OpenPlex app or assistance. Donations appreciated US-$ // EUR

    Click my username and message me if you need Teamviewergif <----Install this for assistance.

    (1) Locally owned PMS Mac 10.9.5 i7-4770k haswell 32gb 1866 ddr3 with e-sata rocket raid 2302 Raid-5 set of (4) 5TB HD (15TB usable) in a 10-bay DAGE1040BL (2) Jailbroken aTV2's on iOS 5.3 (6.1.4) (portable PlexConnect host's) (9) aTV3's on mixed iOS (1) iPad 3, (1) iPad mini 2 retina, (4) iPhone 4s, all jailbroken on 8.1.1 all running latest official Plex for iOS & PlexConnect for iOS. Airbubble.apk (265 initial buffer frames) for android devices or airfloat for iOS devices to airplay aTV audio to Sol Republic Tracks HD V10.

  • acdownacdown Posts: 15Members ✭✭

    I have tried rebooting many times.

    I followed the installation instructions on Github.

    Not sure what you mean by "sharing your internet connection".

  • wahlman.jwahlman.j Posts: 2,564Members, Plex Pass Plex Pass
    edited June 2014
    You can share you internet connection in the network settings on your mac. So what specific instructions are you using exactly to start plexconnect. ./plexconnect.py? Have you ever ran it other then that using anything else? What does this output in terminal?

    sudo lsof -i :53

    Or this:

    sudo lsof -i -P | grep -i "listen"

    OSX apps : OpenPlex // UAS installer OpenPlex by Wahlman.j (Source Code), CyberGhost84 (GUI) & Flipman6 (Obj-C)

    iOS Firmware links: Firmware // Firmware Limits OpenPlex app or assistance. Donations appreciated US-$ // EUR

    Click my username and message me if you need Teamviewergif <----Install this for assistance.

    (1) Locally owned PMS Mac 10.9.5 i7-4770k haswell 32gb 1866 ddr3 with e-sata rocket raid 2302 Raid-5 set of (4) 5TB HD (15TB usable) in a 10-bay DAGE1040BL (2) Jailbroken aTV2's on iOS 5.3 (6.1.4) (portable PlexConnect host's) (9) aTV3's on mixed iOS (1) iPad 3, (1) iPad mini 2 retina, (4) iPhone 4s, all jailbroken on 8.1.1 all running latest official Plex for iOS & PlexConnect for iOS. Airbubble.apk (265 initial buffer frames) for android devices or airfloat for iOS devices to airplay aTV audio to Sol Republic Tracks HD V10.

  • acdownacdown Posts: 15Members ✭✭
  • wahlman.jwahlman.j Posts: 2,564Members, Plex Pass Plex Pass
    edited June 2014
    I edited my previous post. So are you launching it manually or via launchctl using that link?

    OSX apps : OpenPlex // UAS installer OpenPlex by Wahlman.j (Source Code), CyberGhost84 (GUI) & Flipman6 (Obj-C)

    iOS Firmware links: Firmware // Firmware Limits OpenPlex app or assistance. Donations appreciated US-$ // EUR

    Click my username and message me if you need Teamviewergif <----Install this for assistance.

    (1) Locally owned PMS Mac 10.9.5 i7-4770k haswell 32gb 1866 ddr3 with e-sata rocket raid 2302 Raid-5 set of (4) 5TB HD (15TB usable) in a 10-bay DAGE1040BL (2) Jailbroken aTV2's on iOS 5.3 (6.1.4) (portable PlexConnect host's) (9) aTV3's on mixed iOS (1) iPad 3, (1) iPad mini 2 retina, (4) iPhone 4s, all jailbroken on 8.1.1 all running latest official Plex for iOS & PlexConnect for iOS. Airbubble.apk (265 initial buffer frames) for android devices or airfloat for iOS devices to airplay aTV audio to Sol Republic Tracks HD V10.

  • acdownacdown Posts: 15Members ✭✭

    COMMAND PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME

    Python  166 root    4u  IPv4 0xb4531076011047e7      0t0  UDP 192.168.1.13:domain

  • acdownacdown Posts: 15Members ✭✭
    wahlman.j wrote on June 18 2014, 3:43 AM: »

    I edited my previous post. So are you launching it manually or via launchctl using that link?

    Manually I believe. Not sure what "launchctl" is...

  • wahlman.jwahlman.j Posts: 2,564Members, Plex Pass Plex Pass
    edited June 2014
    Can you list the contents of these directories?

    /Library/LaunchDaemons & /Library/LaunchAgents

    You need to figure out what python process is using port 53. Can you run that other terminal command?

    sudo lsof -i -P | grep -i "listen"

    OSX apps : OpenPlex // UAS installer OpenPlex by Wahlman.j (Source Code), CyberGhost84 (GUI) & Flipman6 (Obj-C)

    iOS Firmware links: Firmware // Firmware Limits OpenPlex app or assistance. Donations appreciated US-$ // EUR

    Click my username and message me if you need Teamviewergif <----Install this for assistance.

    (1) Locally owned PMS Mac 10.9.5 i7-4770k haswell 32gb 1866 ddr3 with e-sata rocket raid 2302 Raid-5 set of (4) 5TB HD (15TB usable) in a 10-bay DAGE1040BL (2) Jailbroken aTV2's on iOS 5.3 (6.1.4) (portable PlexConnect host's) (9) aTV3's on mixed iOS (1) iPad 3, (1) iPad mini 2 retina, (4) iPhone 4s, all jailbroken on 8.1.1 all running latest official Plex for iOS & PlexConnect for iOS. Airbubble.apk (265 initial buffer frames) for android devices or airfloat for iOS devices to airplay aTV audio to Sol Republic Tracks HD V10.

  • acdownacdown Posts: 15Members ✭✭
    wahlman.j wrote on June 18 2014, 3:48 AM: »

    Can you list the contents of these directories?

    /Library/LaunchDaemons & /Library/LaunchAgents

    You need to figure out what python process is using port 53. Can you run that other terminal command?

    I don't see anything in LaunchAgents and I don't see a LaunchDaemons folder.

  • acdownacdown Posts: 15Members ✭✭

    launchd     1           root   26u  IPv6 0xb4531075ff15a43f      0t0    TCP localhost:631 (LISTEN)

    launchd     1           root   27u  IPv4 0xb4531075ff15b447      0t0    TCP localhost:631 (LISTEN)

    Python    167           root    4u  IPv4 0xb453107601b86447      0t0    TCP 192.168.1.13:80 (LISTEN)

    Python    168           root    4u  IPv4 0xb453107601ba6447      0t0    TCP 192.168.1.13:443 (LISTEN)

    Dropbox   266     **********   28u  IPv4 0xb453107604567447      0t0    TCP *:17500 (LISTEN)

    Dropbox   266     **********   37u  IPv4 0xb453107604bdac5f      0t0    TCP localhost:26164 (LISTEN)

    Plex\x20M 267     **********   62u  IPv4 0xb453107603cad447      0t0    TCP *:32400 (LISTEN)

    Plex\x20M 267     **********   63u  IPv4 0xb453107603cb6447      0t0    TCP *:32443 (LISTEN)

    Plex\x20S 275     **********    9u  IPv4 0xb453107604579447      0t0    TCP *:49216 (LISTEN)

    Plex\x20D 285     **********   20u  IPv4 0xb453107604668447      0t0    TCP *:1620 (LISTEN)

    Plex\x20D 285     **********   29u  IPv4 0xb453107604667c5f      0t0    TCP *:32469 (LISTEN)

  • wahlman.jwahlman.j Posts: 2,564Members, Plex Pass Plex Pass
    edited June 2014
    Looks like plexconnect is in use to me currently:

    Python 167 root 4u IPv4 0xb453107601b86447 0t0 TCP 192.168.1.13:80 (LISTEN)
    Python 168 root 4u IPv4 0xb453107601ba6447 0t0 TCP 192.168.1.13:443 (LISTEN)

    Can you restart your mac and re-run that command again without starting plexconnect whatsoever?

    OSX apps : OpenPlex // UAS installer OpenPlex by Wahlman.j (Source Code), CyberGhost84 (GUI) & Flipman6 (Obj-C)

    iOS Firmware links: Firmware // Firmware Limits OpenPlex app or assistance. Donations appreciated US-$ // EUR

    Click my username and message me if you need Teamviewergif <----Install this for assistance.

    (1) Locally owned PMS Mac 10.9.5 i7-4770k haswell 32gb 1866 ddr3 with e-sata rocket raid 2302 Raid-5 set of (4) 5TB HD (15TB usable) in a 10-bay DAGE1040BL (2) Jailbroken aTV2's on iOS 5.3 (6.1.4) (portable PlexConnect host's) (9) aTV3's on mixed iOS (1) iPad 3, (1) iPad mini 2 retina, (4) iPhone 4s, all jailbroken on 8.1.1 all running latest official Plex for iOS & PlexConnect for iOS. Airbubble.apk (265 initial buffer frames) for android devices or airfloat for iOS devices to airplay aTV audio to Sol Republic Tracks HD V10.

  • acdownacdown Posts: 15Members ✭✭

    launchd     1           root   26u  IPv6 0x319ba2b4ae834c47      0t0    TCP localhost:631 (LISTEN)

    launchd     1           root   27u  IPv4 0x319ba2b4ae835c4f      0t0    TCP localhost:631 (LISTEN)

    launchctl   2           root   25u  IPv6 0x319ba2b4ae834c47      0t0    TCP localhost:631 (LISTEN)

    launchctl   2           root   26u  IPv4 0x319ba2b4ae835c4f      0t0    TCP localhost:631 (LISTEN)

    Python    167           root    4u  IPv4 0x319ba2b4b018b467      0t0    TCP 192.168.1.13:80 (LISTEN)

    Python    168           root    4u  IPv4 0x319ba2b4b0e3ac4f      0t0    TCP 192.168.1.13:443 (LISTEN)

    Dropbox   263     **********   28u  IPv4 0x319ba2b4b2eb3467      0t0    TCP *:17500 (LISTEN)

    Dropbox   263     **********   37u  IPv4 0x319ba2b4b2f6ac4f      0t0    TCP localhost:26164 (LISTEN)

    Plex\x20M 264     **********   61u  IPv4 0x319ba2b4b2d3ec4f      0t0    TCP *:32400 (LISTEN)

    Plex\x20M 264     **********   62u  IPv4 0x319ba2b4b2f48467      0t0    TCP *:32443 (LISTEN)

    Plex\x20S 271     **********    8u  IPv4 0x319ba2b4b2d92c4f      0t0    TCP *:49312 (LISTEN)

    Plex\x20D 279     **********   20u  IPv4 0x319ba2b4b37e8c4f      0t0    TCP *:1108 (LISTEN)

    Plex\x20D 279     **********   29u  IPv4 0x319ba2b4b37e8467      0t0    TCP *:32469 (LISTEN)

    Plex\x20S 284     **********    4u  IPv4 0x319ba2b4b3e40467      0t0    TCP *:49376 (LISTEN)

  • wahlman.jwahlman.j Posts: 2,564Members, Plex Pass Plex Pass
    edited June 2014
    Ok something is loading plexconnect at boot it looks like. Install teamviewer and send me a pm with your temporary user/pw and I can try to debug for you.

    OSX apps : OpenPlex // UAS installer OpenPlex by Wahlman.j (Source Code), CyberGhost84 (GUI) & Flipman6 (Obj-C)

    iOS Firmware links: Firmware // Firmware Limits OpenPlex app or assistance. Donations appreciated US-$ // EUR

    Click my username and message me if you need Teamviewergif <----Install this for assistance.

    (1) Locally owned PMS Mac 10.9.5 i7-4770k haswell 32gb 1866 ddr3 with e-sata rocket raid 2302 Raid-5 set of (4) 5TB HD (15TB usable) in a 10-bay DAGE1040BL (2) Jailbroken aTV2's on iOS 5.3 (6.1.4) (portable PlexConnect host's) (9) aTV3's on mixed iOS (1) iPad 3, (1) iPad mini 2 retina, (4) iPhone 4s, all jailbroken on 8.1.1 all running latest official Plex for iOS & PlexConnect for iOS. Airbubble.apk (265 initial buffer frames) for android devices or airfloat for iOS devices to airplay aTV audio to Sol Republic Tracks HD V10.

  • acdownacdown Posts: 15Members ✭✭

    So after 2 years of working fine, I can't get plexconnect to work again.

    This is what I get when trying to run it in terminal:

    22:25:58 PlexConnect: ***
    22:25:58 PlexConnect: PlexConnect
    22:25:58 PlexConnect: Press CTRL-C to shut down.
    22:25:58 PlexConnect: ***
    22:25:58 PlexConnect: started: 22:25:58
    22:25:58 PlexConnect: Version: 0.3.1+
    22:25:58 PlexConnect: Python: 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
    [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
    22:25:58 PlexConnect: Host OS: darwin
    22:25:58 PlexConnect: IP_self: 192.168.1.66
    22:25:58 DNSServer: started: 22:25:58
    22:25:58 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use
    22:25:58 PlexConnect: DNSServer not alive. Shutting down.
    22:25:58 PlexConnect: Shutting down.
    22:25:58 PlexConnect: shutdown
    22:25:58 PlexConnect: shutdown

  • acdownacdown Posts: 15Members ✭✭

    Ok, so I noticed that PlexConnect is now using a different IP address for some reason. I entered that address as the DNS on my aTV and was able to finally access Plex on my aTV but my library was not available. I then entered that address as one that does not require authorization and I was able to see my library, but now none of my movies have thumbnails and I can't play anything from my library...

  • acdownacdown Posts: 15Members ✭✭

    I got my thumbnails and everything to work by using a net mask when entering addresses that do not require authorization. Now I just can't get launchctl daemon to work...

Sign In or Register to comment.