d8ahazard / Cast.bundle

A Plex Channel To Interact With Local Cast Devices, Via Plex Media Server
59 stars 11 forks source link

Plugin is not responding #24

Closed Cosmas47 closed 5 years ago

Cosmas47 commented 5 years ago

Getting this same issue as #16 but with a little twist.

2019-02-05 00:43:16,559 (1998) :  CRITICAL (core:574) - Exception (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-cc260c476\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
    result = f(**d)
  File "C:\Users\Cosmas\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Code\__init__.py", line 204, in Resources
    casts = fetch_devices()
  File "C:\Users\Cosmas\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Code\__init__.py", line 646, in fetch_devices
    req.load()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-cc260c476\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open
    response = self._open(req, data)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open
    '_open', req)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 1201, in do_open
    r = h.getresponse(buffering=True)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 1136, in getresponse
    response.begin()
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
error: [Errno 10054] An existing connection was forcibly closed by the remote host

2019-02-05 00:43:16,563 (1998) :  DEBUG (runtime:88) - Sending packed state data (105 bytes)
2019-02-05 00:43:16,565 (1998) :  DEBUG (runtime:924) - Response: [500] 2250 bytes
2019-02-05 00:43:18,013 (d2c) :  DEBUG (runtime:717) - Handling request GET /applications/Cast
2019-02-05 00:43:18,017 (d2c) :  DEBUG (runtime:814) - Found route matching /applications/Cast
2019-02-05 00:43:18,019 (d2c) :  DEBUG (logkit:13) - **********  Starting MainMenu  **********
2019-02-05 00:43:18,023 (d2c) :  DEBUG (base:117) - Checking if com.plexapp.plugins.Cast is broken
2019-02-05 00:43:18,026 (d2c) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjQKY29tLnBsZXhhcHAucGx1Z2lucy5DYXN0czEwCmlkZW50aWZpZXJyMAo_'
2019-02-05 00:43:18,061 (d2c) :  DEBUG (runtime:88) - Sending packed state data (105 bytes)
2019-02-05 00:43:18,062 (d2c) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 910 bytes

I'm in a VPN environment. I'm wondering if IP address fetching is still an issue.

Magn5405 commented 5 years ago

Im having the same issue

d8ahazard commented 5 years ago

Hey all...please check out https://github.com/FlexTV.bundle for the latest iteration of the plugin.

Also, there's an experimental stand-alone app for homes without a PMS server, but you want to control cast devices at https://github.com/d8ahazard/FlexConnect - and docker - https://github.com/d8ahazard/docker-FlexConnect

If you have issues, feel free to report them there!