Plexconnect stop working after "El Capitan" update

Hi guys
I have a problem with plexconnect, i can’t play any video on my AppleTV 3 after i update my mac to el capitan ( OSX 10.11 final release from the apple store)
Plex works just fine, even with my other mac running PHT and El Capitan, both direct play and streaming works i try to play movies of 1080p and more than 12 GB of size with no problem.
But when i try to play a SD video of 200 MB on the AppleTV the video don’t even start to play, i try to setup with the transcode option and direct play.
I even try with Wi-fi and with a ethernet cable, same result.

With the plexconnect i do this
Stop the daemon
Remove the daemon
Download a fresh copy of plexconnect from github
unpack install
Install the daemon
nothing, same problem.

OS info
PMS version 0.9.12.13.1464-4ccd2ca
OS X: 10.11
PlexConnect: Version: 0.5-dev-020615
User-Agent: AppleTV/7.2 iOS/8.3 AppleTV/7.2 model/AppleTV3,1 build/12F69 (3; dt:12)

This is the setting.cfg

[PlexConnect]
enable_plexgdm = False
ip_pms = 192.168.1.100
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.1.100
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = High
logpath = .

This is the ATVSettings.cfg

[DEFAULT]
sharedlibrariesview = List
showsynopsis = Hide
movies_navbar_decades = checked
showplayerclock = True
tv_navbar_unwatched = checked
movies_navbar_directors = checked
movies_navbar_ondeck = checked
subtitlesize = 100
transcoderaction = Auto
homevideos_navbar_byfolder = checked
tv_navbar_genres = checked
durationformat = Hours/Minutes
homevideoview = Grid
music_navbar_more = checked
homevideos_navbar_genres = checked
phototranscoderaction = Auto
libraryview = Grid
fanart = Show
movies_navbar_more = checked
tv_navbar_more = checked
subtitlerenderer = Auto
music_navbar_decade = checked
overscanadjust = 0
showview = List
movieview = Grid
movies_navbar_unwatched = checked
playlistsview = List
movies_navbar_byfolder = checked
movies_navbar_actors = checked
showendtime = True
channelview = List
flattenseason = False
tv_navbar_ondeck = checked
moviepreplay_bottomshelf = Extras
homevideos_navbar_ondeck = checked
plexhome_user =
movies_navbar_collections = checked
transcodequality = 1080p 40.0Mbps
plexhome_auth =
seasonview = List
myplex_auth =
plexhome_enable = False
showunwatched = True
music_navbar_year = checked
clockposition = Center
myplex_user =
music_navbar_recentlyadded = checked
remotebitrate = 720p 3.0Mbps
homevideos_navbar_collections = checked
music_navbar_genre = checked
globalsearch = Show
fanart_blur = 0
audioboost = 100
timeformat = 24 Hour
homevideos_navbar_unwatched = checked
actorview = Movies
postertitles = Highlighted Only
movies_navbar_genres = checked
tvshowfanart = Hide
showtitles_homevideos = Highlighted Only
showtitles_tvshows = Highlighted Only
showtitles_channels = Highlighted Only
showtitles_movies = Highlighted Only
moviefanart = Hide
showsharedlibraries = True
showplaylists = True
showsharedlibrarys = True
plex_seasonview = List
plex_sectionicons = Fanart
sectionicons = Apple
plex_showview = Grid
plex_tabletitlecolor = Plex Orange
plex_fanartblur = 0
plex_movieview = Grid
library_recentlyadded = checked
plex_library_channels = checked
library_search = Show
plex_subtitlecolor = Plex Orange
library_ondeck = checked
plex_paradelisttint = Off
plex_library_search = Hide
plex_library_ondeck = checked
imageheader = Show
plex_menubackground = Grey
sectionsposition = Top
plex_episodeview = List
starttab = Library
plex_metadatacolor = Grey
template = default
plex_movielayers = Show
plex_movieposters = Show
plex_episodeposters = Show
plex_fanarttint = On
plex_showplayinfos = True
plex_menuhint = Off
plex_libraryview_remote = Top Grid
plex_libraryview = Grid
plex_library_recentlyadded = checked
plex_playlistview = Grid
plex_extraview = Grid
showplayinfos = True
plex_channelview = Grid
plex_sectionicons_shared = Fanart
library_channels = unchecked
plex_titlecolor = Grey
plex_showsharedlibrarys = True
showtitles_library = Highlighted Only
plex_showtitles_library = Show All
plex_gridtint = Off
plex_homevideoview = Grid
plex_showplaylists = True
plex_sectionsposition = Top
plex_listtint = On
plex_mainmenulabel = T
plex_episodelayers = Show

[C1MJC1EXDRHN]
transcodequality = 720p 3.0Mbps
audioboost = 300
subtitlerenderer = Auto
transcoderaction = DirectPlay
showsynopsis = Show
tvshowfanart = Show
moviefanart = Show
showtitles_movies = Show All
actorview = Portrait
movies_navbar_directors = unchecked
movies_navbar_actors = unchecked
movies_navbar_decades = unchecked
movies_navbar_byfolder = unchecked
showview = Grid
fanart_blur = 0
myplex_user = IMacosiris
myplex_auth = CJ5DxYSsL4Tp4PQ13YpW
plexhome_enable = True
plexhome_user = Adultos
plexhome_auth = Bqvifpdh8xw7u7Z6xybQ
playlistsview = List
sharedlibrariesview = Grid
tv_navbar_genres = checked
seasonview = List
flattenseason = True
showtitles_tvshows = Highlighted Only
showunwatched = True
fanart = Show
phototranscoderaction = Auto

This is the log file
The heather
21:39:29 PlexConnect: started: 21:39:29
21:39:29 PlexConnect: Version: 0.5-dev-020615
21:39:29 PlexConnect: Python: 2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)]
21:39:29 PlexConnect: Host OS: darwin
21:39:29 PlexConnect: PILBackgrounds: Is PIL installed? True
21:39:29 Settings: getsetting enable_plexconnect_autodetect=False
21:39:29 Settings: getsetting ip_plexconnect=192.168.1.100
21:39:29 PlexConnect: IP_self (from settings): 192.168.1.100
21:39:29 Settings: getsetting hosttointercept=trailers.apple.com
21:39:29 ATVSettings: init class CATVSettings
21:39:29 ATVSettings: load settings
21:39:29 Settings: getsetting enable_dnsserver=True
21:39:29 DNSServer: started: 21:39:29
21:39:29 Settings: getsetting port_dnsserver=53
21:39:29 Settings: getsetting ip_dnsmaster=8.8.8.8
21:39:29 Settings: getsetting prevent_atv_update=True
21:39:29 DNSServer: ***
21:39:29 DNSServer: DNSServer: Serving DNS on 192.168.1.100 port 53.
21:39:29 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.100
21:39:29 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld.apple.com.edgesuite.net’] => 127.0.0.1
21:39:29 DNSServer: forward other to higher level DNS: 8.8.8.8
21:39:29 DNSServer: ***
21:39:29 WebServer: started: 21:39:29
21:39:29 Settings: getsetting port_webserver=80
21:39:29 WebServer: ***
21:39:29 WebServer: WebServer: Serving HTTP on 192.168.1.100 port 80.
21:39:29 WebServer: ***
21:39:30 Settings: getsetting enable_webserver_ssl=True
21:39:30 WebServer: started: 21:39:30
21:39:30 Settings: getsetting port_ssl=443
21:39:30 Settings: getsetting certfile=./assets/certificates/trailers.pem
21:39:30 Settings: getsetting certfile=./assets/certificates/trailers.pem
21:39:30 WebServer: ***
21:39:30 WebServer: WebServer: Serving HTTPS on 192.168.1.100 port 443.
21:39:30 WebServer: ***
21:39:57 DNSServer: DNS request received!
21:39:57 DNSServer: Source: (‘192.168.1.30’, 53566)
21:39:57 DNSServer: Domain: trailers.apple.com
21:39:57 DNSServer: ***intercept request
21:39:57 DNSServer: -> DNS response: 192.168.1.100
21:39:57 WebServer: http request header:
Host: trailers.apple.com

X-Apple-Store-Front: 143505-2,19

Accept: /

Accept-Encoding: gzip, deflate

Accept-Language: en;q=0.9

Cookie: ns-mzf-inst=36-65-443-109-36-8270-32370–st11; s_vi=[CS]v1|2AD1DB8C05013406-6000010BC003B5A3[CE]

Connection: keep-alive

X-Apple-TV-Resolution: 1080

X-Apple-TV-Version: 7.2

User-Agent: AppleTV/7.2 iOS/8.3 AppleTV/7.2 model/AppleTV3,1 build/12F69 (3; dt:12)

21:39:57 WebServer: http request path:
/&PlexConnectATVLogLevel=1&PlexConnectLog=Player%20state%3A%20Playing%20at%20this%20time%3A%2028.160812728
21:39:57 Localize: aTVLanguage: en
21:39:57 WebServer: pms address:

21:39:57 WebServer: cleaned path:
/
21:39:57 WebServer: PlexConnect options:
{‘aTVAddress’: ‘192.168.1.30’, ‘aTVScreenResolution’: ‘1080’, ‘PlexConnectATVLogLevel’: ‘1’, ‘PlexConnectLog’: ‘Player state: Playing at this time: 28.160812728’, ‘aTVFirmwareVersion’: ‘7.2’, ‘aTVLanguage’: ‘en’}
21:39:57 WebServer: additional arguments:

21:39:57 ATVLogger: Player state: Playing at this time: 28.160812728
21:40:07 WebServer: http request header:
Host: trailers.apple.com

X-Apple-Store-Front: 143505-2,19

Accept: /

Accept-Encoding: gzip, deflate

Accept-Language: en;q=0.9

Cookie: ns-mzf-inst=36-65-443-109-36-8270-32370–st11; s_vi=[CS]v1|2AD1DB8C05013406-6000010BC003B5A3[CE]

Connection: keep-alive

X-Apple-TV-Resolution: 1080

X-Apple-TV-Version: 7.2

User-Agent: AppleTV/7.2 iOS/8.3 AppleTV/7.2 model/AppleTV3,1 build/12F69 (3; dt:12)

21:40:07 WebServer: http request path:
/&PlexConnectATVLogLevel=1&PlexConnectLog=Player%20state%3A%20Stopped%20at%20this%20time%3A%200
21:40:07 Localize: aTVLanguage: en
21:40:07 WebServer: pms address:

21:40:07 WebServer: cleaned path:
/
21:40:07 WebServer: PlexConnect options:
{‘aTVAddress’: ‘192.168.1.30’, ‘aTVScreenResolution’: ‘1080’, ‘PlexConnectATVLogLevel’: ‘1’, ‘PlexConnectLog’: ‘Player state: Stopped at this time: 0’, ‘aTVFirmwareVersion’: ‘7.2’, ‘aTVLanguage’: ‘en’}
21:40:07 WebServer: additional arguments:

21:40:07 ATVLogger: Player state: Stopped at this time: 0
21:40:07 WebServer: http request header:
Host: trailers.apple.com

X-Apple-Store-Front: 143505-2,19

Accept: /

Accept-Encoding: gzip, deflate

Accept-Language: en;q=0.9

Cookie: ns-mzf-inst=36-65-443-109-36-8270-32370–st11; s_vi=[CS]v1|2AD1DB8C05013406-6000010BC003B5A3[CE]

Connection: keep-alive

X-Apple-TV-Resolution: 1080

X-Apple-TV-Version: 7.2

User-Agent: AppleTV/7.2 iOS/8.3 AppleTV/7.2 model/AppleTV3,1 build/12F69 (3; dt:12)

21:40:07 WebServer: http request path:
/&PlexConnectATVLogLevel=1&PlexConnectLog=atv.onGenerateRequest%20done%3A%20http%3A%2F%2Ftrailers.apple.com%2FPMS(192.168.1.100%3A32400)%2Flibrary%2Fsections%2F2%3FPlexConnect%3DPlex_Series_Scanner%26PlexConnectUDID%3DC1MJC1EXDRHN%26PlexConnectATVName%3DApple%2520TV
21:40:07 WebServer: http request header:
Host: trailers.apple.com

Accept-Encoding: gzip, deflate

Accept: /

Accept-Language: en

Cookie: ns-mzf-inst=36-65-443-109-36-8270-32370–st11; s_vi=[CS]v1|2AD1DB8C05013406-6000010BC003B5A3[CE]

Connection: keep-alive

X-Apple-TV-Resolution: 1080

X-Apple-TV-Version: 7.2

User-Agent: AppleTV/7.2 iOS/8.3 AppleTV/7.2 model/AppleTV3,1 build/12F69 (3; dt:12)

21:40:08 WebServer: http request path:
/PMS(192.168.1.100:32400)/library/sections/2?PlexConnect=Plex_Series_Scanner&PlexConnectUDID=C1MJC1EXDRHN&PlexConnectATVName=Apple%20TV
21:40:08 Localize: aTVLanguage: en
21:40:08 WebServer: pms address:
192.168.1.100:32400
21:40:08 WebServer: cleaned path:
/library/sections/2
21:40:08 WebServer: PlexConnect options:
{‘aTVAddress’: ‘192.168.1.30’, ‘aTVLanguage’: ‘en’, ‘PlexConnectUDID’: ‘C1MJC1EXDRHN’, ‘aTVScreenResolution’: ‘1080’, ‘aTVFirmwareVersion’: ‘7.2’, ‘PlexConnectATVName’: ‘Apple TV’, ‘PlexConnect’: ‘Plex_Series_Scanner’}
21:40:08 WebServer: additional arguments:

21:40:08 WebServer: serving .xml: /library/sections/2
21:40:08 XMLConverter: ---------------------------------------------
21:40:08 XMLConverter: PMS, path: 192.168.1.100:32400 /library/sections/2
21:40:08 Localize: aTVLanguage: en
21:40:08 XMLConverter: Initial Command: Plex_Series_Scanner
21:40:08 WebServer: pms address:

21:40:08 XMLConverter: Found Scanner.
21:40:08 WebServer: cleaned path:
/
21:40:08 XMLConverter: Split Directory: TVShow Command: NavigationBar
21:40:08 WebServer: PlexConnect options:
{‘aTVAddress’: ‘192.168.1.30’, ‘aTVScreenResolution’: ‘1080’, ‘PlexConnectATVLogLevel’: ‘1’, ‘PlexConnectLog’: ‘atv.onGenerateRequest done: http://trailers.apple.com/PMS(192.168.1.100:32400)/library/sections/2?PlexConnect=Plex_Series_Scanner&PlexConnectUDID=C1MJC1EXDRHN&PlexConnectATVName=Apple%20TV’, ‘aTVFirmwareVersion’: ‘7.2’, ‘aTVLanguage’: ‘en’}
21:40:08 WebServer: additional arguments:

21:40:08 XMLConverter: XMLTemplate: TVShow/NavigationBar.xml
21:40:08 ATVLogger: atv.onGenerateRequest done: http://trailers.apple.com/PMS(192.168.1.100:32400)/library/sections/2?PlexConnect=Plex_Series_Scanner&PlexConnectUDID=C1MJC1EXDRHN&PlexConnectATVName=Apple%20TV
21:40:08 XMLConverter: ---------------------------------------------
21:40:08 PlexAPI: URL: /library/sections/2
21:40:08 PlexAPI: xargs: {‘X-Plex-Platform’: ‘iOS’, ‘X-Plex-Model’: ‘3,1’, ‘X-Plex-Client-Platform’: ‘iOS’, ‘X-Plex-Client-Identifier’: ‘C1MJC1EXDRHN’, ‘X-Plex-Device’: ‘AppleTV’, ‘X-Plex-Product’: ‘PlexConnect’, ‘X-Plex-Platform-Version’: ‘7.2’, ‘X-Plex-Device-Name’: ‘Apple TV’, ‘X-Plex-Version’: ‘0.5-dev-020615’}
21:40:08 WebServer: Internal Server Error:
Traceback (most recent call last):
File “/Applications/PlexConnect/WebServer.py”, line 229, in do_GET
XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + query, options)
File “/Applications/PlexConnect/XMLConverter.py”, line 376, in XML_PMS2aTV
PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, auth_token, enableGzip)
File “/Applications/PlexConnect/PlexAPI.py”, line 378, in getXMLFromPMS
response = urllib2.urlopen(request, timeout=20)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 423, in open
protocol = req.get_type()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 285, in get_type
raise ValueError, “unknown url type: %s” % self.__original
ValueError: unknown url type: /library/sections/2

21:40:08 WebServer: http request header:

And i found this errors

21:40:08 PlexAPI: URL: /library/sections/2
21:40:08 PlexAPI: xargs: {‘X-Plex-Platform’: ‘iOS’, ‘X-Plex-Model’: ‘3,1’, ‘X-Plex-Client-Platform’: ‘iOS’, ‘X-Plex-Client-Identifier’: ‘C1MJC1EXDRHN’, ‘X-Plex-Device’: ‘AppleTV’, ‘X-Plex-Product’: ‘PlexConnect’, ‘X-Plex-Platform-Version’: ‘7.2’, ‘X-Plex-Device-Name’: ‘Apple TV’, ‘X-Plex-Version’: ‘0.5-dev-020615’}
21:40:08 WebServer: Internal Server Error:
Traceback (most recent call last):
File “/Applications/PlexConnect/WebServer.py”, line 229, in do_GET
XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + query, options)
File “/Applications/PlexConnect/XMLConverter.py”, line 376, in XML_PMS2aTV
PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, auth_token, enableGzip)
File “/Applications/PlexConnect/PlexAPI.py”, line 378, in getXMLFromPMS
response = urllib2.urlopen(request, timeout=20)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 423, in open
protocol = req.get_type()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 285, in get_type
raise ValueError, “unknown url type: %s” % self.__original
ValueError: unknown url type: /library/sections/2

22:36:42 WebServer: serving .xml: /
22:36:42 XMLConverter: ---------------------------------------------
22:36:42 XMLConverter: PMS, path: /
22:36:42 XMLConverter: Initial Command: Discover
22:36:42 ATVSettings: getsetting CJ5DxYSsL4Tp4PQ13YpW
22:36:42 ATVSettings: getsetting True
22:36:42 ATVSettings: getsetting Bqvifpdh8xw7u7Z6xybQ
22:36:42 Settings: getsetting enable_plexgdm=False
22:36:42 Settings: getsetting ip_pms=192.168.1.100
22:36:42 Settings: getsetting port_pms=32400
22:36:42 PlexAPI: URL: http://192.168.1.100:32400/servers
22:36:42 PlexAPI: xargs: {}
22:36:42 PlexAPI: No Response from Plex Media Server
22:36:42 PlexAPI: We failed to reach a server. Reason: Unauthorized
22:36:42 PlexAPI: Traceback:
Traceback (most recent call last):
File “/Applications/PlexConnect/PlexAPI.py”, line 378, in getXMLFromPMS
response = urllib2.urlopen(request, timeout=20)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 437, in open
response = meth(req, response)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 550, in http_response
‘http’, request, response, code, msg, hdrs)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 475, in error
return self._call_chain(*args)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

I wonder if i need to create the certificate again ?
Any idea guys ?
please

Best regards

Doesn’t look like certs - as aTV is still communicating with PlexConnect.
The Log indicates that you didn’t re-enter PlexConnect on your aTV after restarting it on your Mac - at that time it didn’t know about your PMS, so it kind of freaked out.
Back out of PlexConnect on aTV and enter again - that should work.

@baa said:
Doesn’t look like certs - as aTV is still communicating with PlexConnect.
The Log indicates that you didn’t re-enter PlexConnect on your aTV after restarting it on your Mac - at that time it didn’t know about your PMS, so it kind of freaked out.
Back out of PlexConnect on aTV and enter again - that should work.

Hi baa
Sorry , do you mean logout from my account on plexconnect in the apple tv ? o power cycle restart ?
Because i did a lot of restart of the AppleTv a lot :frowning:
Every time that i try something i did a restart on the apple tv
Thanks for your help !!!
:slight_smile:
Regards

No… go back to aTV’s main menu, then enter Trailers again. If I interpret your log correctly, you restarted PlexConnect on your host machine, while aTV still was inside PlexConnect. When aTV requested a new page, PlexConnect got confused.

I’ve been having similar issues except that I’m able to start using Plex and watch shows for say 30 mins or so then it will stop and I get a spinning wheel, and won’t restart but shows the warning unable to play content please try later. The log file shows that Plexconnect has shutdown. To get it to work again I have to restart Plexconnect and restart the ATV then all is good again. I’ve also had the same Python related errors in the log file as above. Also OSX firewall constantly pops up messages about allowing Python to accept incoming transmissions etc.

@baa said:
No… go back to aTV’s main menu, then enter Trailers again. If I interpret your log correctly, you restarted PlexConnect on your host machine, while aTV still was inside PlexConnect. When aTV requested a new page, PlexConnect got confused.

ok
I will try that, and come back to you

@finepiks said:
I’ve been having similar issues except that I’m able to start using Plex and watch shows for say 30 mins or so then it will stop and I get a spinning wheel, and won’t restart but shows the warning unable to play content please try later. The log file shows that Plexconnect has shutdown. To get it to work again I have to restart Plexconnect and restart the ATV then all is good again. I’ve also had the same Python related errors in the log file as above. Also OSX firewall constantly pops up messages about allowing Python to accept incoming transmissions etc.

https://forums.plex.tv/discussion/184717/python-app-blocked-in-mac-firewall

Also if you goto the settings tab in PlexConnect on your aTV and set the transcoder action to transcode it may fix it:

https://forums.plex.tv/discussion/145463/atv-enters-perpetual-buffering-during-video#latest

Also OSX firewall constantly pops up messages about allowing Python to accept incoming transmissions etc.
To work around that, you have to sign the python app. Don’t ask why, but unless this is done, the firewall rule won’t stick. Hints are in the WIKI or in other threads nearby.

@baa said:
No… go back to aTV’s main menu, then enter Trailers again. If I interpret your log correctly, you restarted PlexConnect on your host machine, while aTV still was inside PlexConnect. When aTV requested a new page, PlexConnect got confused.

Hi baa
I try this
Full update of PMS library , and optimise
restart the PMS mac
restart the Apple TV
try again same error
try with my user on plexconnect same error

i send to you my full log
Hope this help
If you need anything to try o data from my computer fell free to ask
Regards

@baa said:
To work around that, you have to sign the python app. Don’t ask why, but unless this is done, the firewall rule won’t stick. Hints are in the WIKI or in other threads nearby.

I don’t have the firewall enable , do you think that’s could help ?
Regards

In this post : https://forums.plex.tv/discussion/184717/python-app-blocked-in-mac-firewall
There is a solution to sign the python app
i try that, but i find there is no framework in this location

sudo codesign -f -s - /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app: No such file or directory

If i go tho the /Library/Frameworks i got this:
AEProfiling.framework (symbolic link)
AERegistration.framework (symbolic link)
AudioMixEngine.framework (symbolic link)
NyxAudioAnalysis.framework (symbolic link)
iTunesLibrary.framework
PluginManager.framework
SDL.framework

I Have the photon framework on System/Library/Frameworks
Should i sign this ? or should i create a symbolic link into /Library/Frameworks ???
Regards

You will need to find where the python app is located. It must be the python.app in some directory as far as I know that needs to be signed for the firewall to accept it. Look in these:

/Library/Framework
/System//Library/Framework

@wahlman.j said:
You will need to find where the python app is located. It must be the python.app in some directory as far as I know that needs to be signed for the firewall to accept it. Look in these:

/Library/Framework
/System//Library/Framework

I boot with the install disk
mount the Mac volume
run the command : csrutil disable
Get and OK ! ask for reboot
Reboot

Media-Server:~ $ sudo codesign -f -s - /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app
Password:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app: the codesign_allocate helper tool cannot be found or used
Media-Server:~ $

Any ideas ???
Regards

@IMacosiris said:
Regards

never mind
I install Xcode from terminal with xcode-select --install
That solve the problem
then i run the command and finish ok
Now i will test again Plex and come back to you

Well after the code sign i get the same result (or error if you like)
After do the sign, i did a reboot on the mac, and the on the apple TV
Try again, with direct play and transcode at 480p in low resolution, same result, no playback.
I send the last log, level high
Any ideas ???
Regards

So you can see PlexConnect on the aTV but its not working as in playing video’s? If you are in a Plex home make sure you sign into myplex in the settings tab of PlexConnect. There currently is a known bug:

https://forums.plex.tv/discussion/181956/plex-home-pms-myplex-bug-s#latest

If you cannot see PlexConnect on your aTV generate new certs and upload them to your aTV reboot your aTV and try it again.

Thanks for the replies on this. I haven’t had chance to try any of these solutions yet but I have installed a full version of Python (2.7.10) using Homebrew so hoping that might go some way to curing it for me. Will go through these solutions tomorrow and see what happens and post back the results. Thanks again for helping out, much appreciated.

Interesting that having installed Python using Homebrew rather than using the OSX built in Python I’m not getting the error messages in the log file anymore, and the trailers app connected with Plex a lot quicker than usual. I also realised I wasn’t signed in on the aTV so have done that and have selected the Transcode option in the settings. So far so good. Lets’s see how it goes. Just for interest I’m still using Plexify which works very well despite having been abandoned by the dev a long time ago now!!

@finepiks said:
Interesting that having installed Python using Homebrew rather than using the OSX built in Python I’m not getting the error messages in the log file anymore, and the trailers app connected with Plex a lot quicker than usual. I also realised I wasn’t signed in on the aTV so have done that and have selected the Transcode option in the settings. So far so good. Lets’s see how it goes. Just for interest I’m still using Plexify which works very well despite having been abandoned by the dev a long time ago now!!

Hi
could you please elaborate ? how and where do you download the python version ?
Long time ago i ask about that (when plex only works for macs, good times ) and the dev people say thats no really necessary with OSX, the built version should be fine

Built version should be fine of python otherwise you can update from the python website:

https://www.python.org/ftp/python/2.7.10/python-2.7.10-macosx10.6.pkg

The only OS X version that needs an update is typically 10.6.x since it ships with 2.5.x and won’t work with the PlexConnect daemon.

Be careful using brew conflicting python installations are no good typically.