pannal / kitana Goto Github PK
View Code? Open in Web Editor NEWA responsive Plex plugin web frontend
License: Other
A responsive Plex plugin web frontend
License: Other
Reinstalled and the issue is persisting
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
cnx.do_handshake()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1808, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1541, in _raise_ssl_error
raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/connection.py", line 360, in connect
ssl_context=context,
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
raise ssl.SSLError("bad handshake: %r" % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/agneev/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/agneev/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='172-104-180-126.10a8fffc0ff04329a0715e0e3e3ca62e.plex.direct', port=8443): Max retries exceeded with url: /servers (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/agneev/.local/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 638, in respond
self._do_respond(path_info)
File "/home/agneev/.local/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
response.body = self.handler()
File "/home/agneev/.local/lib/python3.6/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/home/agneev/.local/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "kitana.py", line 489, in servers
servers = self.discover_pms(server_name=server_name, server_addr=server_addr)
File "kitana.py", line 453, in discover_pms
self.session.get(self.server_addr + "servers", headers=self.full_headers, **self.req_defaults)
File "/home/agneev/.local/lib/python3.6/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/home/agneev/.local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/home/agneev/.local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/agneev/.local/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='172-104-180-126.10a8fffc0ff04329a0715e0e3e3ca62e.plex.direct', port=8443): Max retries exceeded with url: /servers (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),))
Powered by CherryPy 18.5.0
Tried adding Kitana to my docker compose file but seems to be not working correctly (probably my fault).
Docker Compose file:
# Kitana
kitana:
container_name: kitana
hostname: kitana
restart: always
image: pannal/kitana:latest
volumes:
- ${USERDIR}/docker/kitana_data:/app/data
- ${USERDIR}/docker/shared:/shared
ports:
- "31337:31337"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
Error message when browsing to 31337
File "/usr/local/lib/python3.5/site-packages/zc/lockfile/__init__.py", line 79, in __init__
fp = open(path, 'r+')
FileNotFoundError: [Errno 2] No such file or directory: '/app/data/sessions/session-37a46083e836526c036c9602f112785459e11e93.lock'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 628, in respond
self._do_respond(path_info)
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 678, in _do_respond
self.hooks.run('before_request_body')
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 114, in run
raise exc
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 104, in run
hook()
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 63, in __call__
return self.callback(**self.kwargs)
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cptools.py", line 280, in _lock_session
cherrypy.serving.session.acquire_lock()
File "/usr/local/lib/python3.5/site-packages/cherrypy/lib/sessions.py", line 557, in acquire_lock
self.lock = zc.lockfile.LockFile(path)
File "/usr/local/lib/python3.5/site-packages/zc/lockfile/__init__.py", line 85, in __init__
fp = open(path, 'a+')
FileNotFoundError: [Errno 2] No such file or directory: '/app/data/sessions/session-37a46083e836526c036c9602f112785459e11e93.lock'
Hi,
I'm trying to install Kitana on FreeBSD 12.0, but I'm getting the following error when trying to start Kitana:
root@download:/usr/local/kitana # python3.6 kitana.py [10/Oct/2019:22:04:39] ENGINE Bus STARTING [10/Oct/2019:22:04:39] ENGINE Starting SassCompilerPlugin [10/Oct/2019:22:04:39] ENGINE Serving on http://0.0.0.0:31337 [10/Oct/2019:22:04:39] ENGINE Bus STARTED [10/Oct/2019:22:04:39] Starting Sass Compile [10/Oct/2019:22:04:39] SassCompilerPlugin: Compiling /usr/local/kitana/static/sass to /usr/local/kitana/static/css Segmentation fault
When removing the cherrypy.engine.publish('compile_sass')
line in kitana.py, I'm able to start kitana, but without any CSS (which is logical). So I'm guessing that there is an error somewhere in the SASS?
I've read about a bug in libsass:
your segmentation fault is due to an unhandled error. So yes, the extra tab is the problem,
but a bug is causing libsass to segfault instead of returning an error,
@k00d1 please upgrade to the latest release.
After upgrading:
[17/May/2020:21:41:17] ENGINE Bus STARTING
[17/May/2020:21:41:17] ENGINE Starting SassCompilerPlugin
[17/May/2020:21:41:17] ENGINE Serving on http://0.0.0.0:31337
[17/May/2020:21:41:17] ENGINE Bus STARTED
[17/May/2020:21:41:17] Starting Sass Compile
[17/May/2020:21:41:17] SassCompilerPlugin: Compiling /app/static/sass to /app/static/css
[17/May/2020:21:41:18] ENGINE Listening for SIGHUP.
[17/May/2020:21:41:18] ENGINE Listening for SIGTERM.
[17/May/2020:21:41:18] ENGINE Listening for SIGUSR1.
[17/May/2020:21:41:36] ENGINE Started monitor thread 'Session cleanup'.
172.17.0.1 - - [17/May/2020:21:41:36] "GET /favicon.ico HTTP/1.1" 200 1150 "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0"
Something went wrong. Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.5/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.5/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 300, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d9a8f3c8>: Failed to establish a new connection: [Errno 111] Connection refused
File "/usr/local/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.5/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='XX-XXX-XXX-XXX.9a116bbdf410476ebe36d790c89f94fa.plex.direct', port=32400): Max retries exceeded with url: /video/subzero (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d9a8f3c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
File "kitana.py", line 632, in default
return self.render_plugin(path)
File "kitana.py", line 174, in render_plugin
content = self.plex_dispatch(path)
File "kitana.py", line 159, in plex_dispatch
r = self._dispatch(path)
File "kitana.py", line 154, in _dispatch
r = self.session.get(self.server_addr + path, headers=headers, params=data, **self.req_defaults)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='XX-XXX-XXX-XXX.9a116bbdf410476ebe36d790c89f94fa.plex.direct', port=32400): Max retries exceeded with url: /video/subzero (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d9a8f3c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
172.17.0.1 - - [17/May/2020:21:41:40] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0"
Originally posted by @k00d1 in #35 (comment)
Here is my start command:
/usr/bin/python3 /opt/Kitana/kitana.py --prefix /kitana --behind-proxy True --proxy-base https://plexbox.us
Here is my nginx config:
location ^~ /kitana/pms_asset {
expires 1M;
access_log off;
add_header Cache-Control "public";
proxy_pass http://127.0.0.1:31337;
#include proxy.conf;
add_header Transport 'dynamic';
}
location ^~ /kitana/static/ {
root /opt/;
# versioned static rewrite
rewrite "^(\/kitana\/static\/(css|js|img)\/)(\w+)\.\w{7}\.(\w{2,4})$" $1$3.$4 last;
}
location /kitana/ {
proxy_pass http://127.0.0.1:31337;
add_header Transport 'dynamic';
#include proxy.conf;
}
When you look at the source, it doesn't look like Kitana is acknowledging the proxy=true setting. It works on the local machine (because the machine is hosting the server), but obviously it doesn't work remotely. Notice the static content is trying to come from 127.0.0.1.
I'm probably doing something stupid. It has to be something wrong with the start command?
Hi,
i dont know why but since today kitana stopped working, i get this error in logs:
`[21/Mar/2020:22:52:36] ENGINE Bus STARTING
[21/Mar/2020:22:52:36] ENGINE Starting SassCompilerPlugin
[21/Mar/2020:22:52:36] ENGINE Serving on http://0.0.0.0:31337
[21/Mar/2020:22:52:36] ENGINE Bus STARTED
[21/Mar/2020:22:52:36] Starting Sass Compile
[21/Mar/2020:22:52:36] SassCompilerPlugin: Compiling /app/static/sass to /app/static/css
[21/Mar/2020:22:52:37] ENGINE Listening for SIGHUP.
[21/Mar/2020:22:52:37] ENGINE Listening for SIGUSR1.
[21/Mar/2020:22:52:37] ENGINE Listening for SIGTERM.
[21/Mar/2020:22:52:42] ENGINE Started monitor thread 'Session cleanup'.
Something went wrong. Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.5/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.5/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 300, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7febab82d6d8>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.5/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='172-17-0-9.169fc7620e074c7681d011c86f0f315e.plex.direct', port=32400): Max retries exceeded with url: /video/subzero (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7febab82d6d8>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "kitana.py", line 632, in default
return self.render_plugin(path)
File "kitana.py", line 174, in render_plugin
content = self.plex_dispatch(path)
File "kitana.py", line 159, in plex_dispatch
r = self._dispatch(path)
File "kitana.py", line 154, in _dispatch
r = self.session.get(self.server_addr + path, headers=headers, params=data, **self.req_defaults)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='172-17-0-9.169fc7620e074c7681d011c86f0f315e.plex.direct', port=32400): Max retries exceeded with url: /video/subzero (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7febab82d6d8>: Failed to establish a new connection: [Errno 111] Connection refused',))`
Is there anything i can do to fix this?
thanks in advance
I have such problem after install on qnap aarch64 device
File "kitana.py", line 678
versioned_asset.replace("/", os.sep))}, )
^
SyntaxError: invalid syntax
any help? what logs needed to debug?
Python3 3.6.3.1.1 from Qnap
[~] # pip -V
pip 19.2.2 from /opt/lib/python3.7/site-packages/pip (python 3.7)
not sure if it's intended or if there's a setting I missed. I enabled this using windows docker. One of my friends said he could go into plugins and see my youtube. Meaning my subscriptions and history. Same for subzero, he can go in and change settings.
Is that intended? I was kind of hoping people would use the plugins and enable YouTubeTV.bundle for themselves;
Also, is there a way to hideplugins? I rather not have the outside world be able to change SZ or WebTools plugins.
thanks,
I've been using my server without a Plex account for privacy reasons. I'd like to install some plugins, but since the channels tab was removed, they don't work.
I found Kitana, but it seems to require the use of a Plex account tied to the server. It doesn't seem likely to me, but I figure it's worth asking:
Can Kitana be used without a Plex account? (or if not, can I use it with an account that's not tied to the server?)
`root@roman-server:/opt/Kitana# python kitana.py
File "kitana.py", line 685
versioned_asset.replace("/", os.sep))}, )
^
SyntaxError: invalid syntax`
OS: Ubuntu 16.04-3 LTS Server
Installed pip requirements but cannot launch server
hey,
i need some help regarding KITANA DOCKER.
i am running Kitana over nginx proxy server with a specific subdomain, but when i load the page i get an error in google_chrome.
UNSAFE SCRIPTS
does somebody know how i can fix this?
My Nginx Config looks like this:
`#Upstream to kitana
upstream kitana {
server ip_to_server:65535;
keepalive 32;
}
server {
listen 443 http2 ssl;
server_name kitana.mystreamnet.club;
include snippets/ssl-params.conf;
send_timeout 100m;
ssl_certificate /etc/letsencrypt/live/kitana.mystreamnet.club/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/kitana.mystreamnet.club/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/kitana.mystreamnet.club/fullchain.pem;
gzip on;
gzip_vary on;
gzip_min_length 1000;
gzip_proxied any;
gzip_types text/plain text/css text/xml application/xml text/javascript application/x-javascript image/svg+xml;
gzip_disable "MSIE [1-6]\.";
client_max_body_size 100M;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;
proxy_buffering off;
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location / {
proxy_pass http://kitana;
}
}
server {
listen 80;
listen [::]:80;
server_name kitana.mystreamnet.club;
return 301 https://$server_name$request_uri;
}`
Thanks in advance..
Fails to pull up the webpage. this was previously working. Below is logs, ubuntu 18.0.4
[24/Nov/2020:19:01:12] ENGINE Bus STARTING
[24/Nov/2020:19:01:12] ENGINE Starting SassCompilerPlugin
[24/Nov/2020:19:01:12] ENGINE Serving on http://0.0.0.0:31337
[24/Nov/2020:19:01:12] ENGINE Bus STARTED
[24/Nov/2020:19:01:12] Starting Sass Compile
[24/Nov/2020:19:01:12] SassCompilerPlugin: Compiling /app/static/sass to /app/static/css
[24/Nov/2020:19:01:13] ENGINE Listening for SIGTERM.
[24/Nov/2020:19:01:13] ENGINE Listening for SIGUSR1.
[24/Nov/2020:19:01:13] ENGINE Listening for SIGHUP.
[24/Nov/2020:19:01:23] ENGINE Started monitor thread 'Session cleanup'.
Something went wrong. Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 386, in connect
_match_hostname(cert, self.assert_hostname or server_hostname)
File "/usr/local/lib/python3.5/site-packages/urllib3/connection.py", line 396, in _match_hostname
match_hostname(cert, asserted_hostname)
File "/usr/local/lib/python3.5/ssl.py", line 309, in match_hostname
% (hostname, dnsnames[0]))
ssl.CertificateError: hostname '192-168-0-161.6ff0b6079e1f40788613448d7a183ef6.plex.direct' doesn't match '*.e4f9bc1a42b340da887801b258cb8d32.plex.direct'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.5/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192-168-0-161.6ff0b6079e1f40788613448d7a183ef6.plex.direct', port=32400): Max retries exceeded with url: /video/subzero (Caused by SSLError(CertificateError("hostname '192-168-0-161.6ff0b6079e1f40788613448d7a183ef6.plex.direct' doesn't match '*.e4f9bc1a42b340da887801b258cb8d32.plex.direct'",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "kitana.py", line 632, in default
return self.render_plugin(path)
File "kitana.py", line 174, in render_plugin
content = self.plex_dispatch(path)
File "kitana.py", line 159, in plex_dispatch
r = self._dispatch(path)
File "kitana.py", line 154, in _dispatch
r = self.session.get(self.server_addr + path, headers=headers, params=data, **self.req_defaults)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.5/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='192-168-0-161.6ff0b6079e1f40788613448d7a183ef6.plex.direct', port=32400): Max retries exceeded with url: /video/subzero (Caused by SSLError(CertificateError("hostname '192-168-0-161.6ff0b6079e1f40788613448d7a183ef6.plex.direct' doesn't match '*.e4f9bc1a42b340da887801b258cb8d32.plex.direct'",),))
192.168.0.118 - - [24/Nov/2020:19:01:23] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
issue links for ease #33, #34, #35
Tried with version 0.3.1-3 & 0.3.2 via Docker and standalone (and clone of master standalone) - persists across each. All various connection attempts fail (including relay after re-enabling) fail.
Workaround: explicitly disabling secure connections in the Plex server's Settings->Network (previously set to Preferred
for me) allows a successful connection.
Hi, after 0.2.0 update when I click on Get my Logs I am getting this message
192.168.1.88 - - [11/Nov/2019:10:33:45] "GET /video/subzero/advanced HTTP/1.1" 200 22432 "http://192.168.1.52:31337/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
Something went wrong. Traceback (most recent call last):
File "kitana.py", line 572, in default
return self.render_plugin(path)
File "kitana.py", line 175, in render_plugin
is_current_pms = filter(lambda c: c["address"] == f.host or f.host in c["url"], self.connections)
TypeError: 'NoneType' object is not iterable
Thank you
I keep having this error. It happens for some entries. That means it loads Kitana, but some entries don't work, some do. No matter what, either installed on a VM or via docker.
Local IP doesn't work at all. Internet IP works, but errors on some entries. Relay IP is slow, works, but errors on some entries.
I am at a loss what to do.
This is the local IP error
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 850, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 284, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fc3246530b8>: Failed to establish a new connection: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192-168-10-3.62045059492a46b3af67b97bfc547e0e.plex.direct', port=32400): Max retries exceeded with url: /servers (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc3246530b8>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cprequest.py", line 638, in respond
self._do_respond(path_info)
File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cprequest.py", line 697, in _do_respond
response.body = self.handler()
File "/usr/local/lib/python3.7/dist-packages/cherrypy/lib/encoding.py", line 219, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/Kitana/kitana.py", line 489, in servers
servers = self.discover_pms(server_name=server_name, server_addr=server_addr)
File "/opt/Kitana/kitana.py", line 453, in discover_pms
self.session.get(self.server_addr + "servers", headers=self.full_headers, **self.req_defaults)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192-168-10-3.62045059492a46b3af67b97bfc547e0e.plex.direct', port=32400): Max retries exceeded with url: /servers (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc3246530b8>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))
Powered by CherryPy 18.5.0
This is the public IP
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/opt/Kitana/kitana.py", line 632, in default
return self.render_plugin(path)
File "/opt/Kitana/kitana.py", line 174, in render_plugin
content = self.plex_dispatch(path)
File "/opt/Kitana/kitana.py", line 159, in plex_dispatch
r = self._dispatch(path)
File "/opt/Kitana/kitana.py", line 155, in _dispatch
r.raise_for_status()
File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://64-44-140-202.62045059492a46b3af67b97bfc547e0e.plex.direct:32400/video/subzero/item/20807/actions?item_title=Law%20&%20Order:%20Special%20Victims%20Unit%20S06E09,%20Weak&title=Items%20On%20Deck%20%3E%20Law%20&%20Order:%20Special%20Victims%20Unit%20S06E09,%20Weak
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 850, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 284, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fc324619080>: Failed to establish a new connection: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192-168-10-3.62045059492a46b3af67b97bfc547e0e.plex.direct', port=32400): Max retries exceeded with url: /servers (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc324619080>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cprequest.py", line 638, in respond
self._do_respond(path_info)
File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cprequest.py", line 697, in _do_respond
response.body = self.handler()
File "/usr/local/lib/python3.7/dist-packages/cherrypy/lib/encoding.py", line 219, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/Kitana/kitana.py", line 652, in default
return self.discover_pms(self.server_name)
File "/opt/Kitana/kitana.py", line 453, in discover_pms
self.session.get(self.server_addr + "servers", headers=self.full_headers, **self.req_defaults)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192-168-10-3.62045059492a46b3af67b97bfc547e0e.plex.direct', port=32400): Max retries exceeded with url: /servers (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc324619080>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))
Powered by CherryPy 18.5.0
To make it easier for people to help development SZ and install the latest SZ DEV, I would like to ask if it is possible to implement an option for that in Kitana > Advanced menu?
Maybe also an option to rollback, if there is a problem with the latest SZ DEV.
I've been using https://kitana.bas.sh/ for ages to use Kitana but for the last 4-5 days it's just been timing out.
So, I decided to try and try and get it up and running in Docker.
I created a Stack in Portainer and used the Docker-compose from the Kitana GitHub, my first issue was Portainer gave me an error saying Service kitana has a link service plex which is undefined.
I removed the links section and the container was created.
However, when I try to go to ip:31337 the page doesn't load.
Does anyone have any ideas on how to get Kitana running?
When running the docker container for the first time the /app/data/sessions/ folder doesn't actually get created, throwing an error.
Hi,
I encountered an issue when attempting to build an image myself through docker compose. I'm building the image myself as my architecture is armhf.
During the build, I encounter the following error:
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./libsass/include -I/usr/local/include/python3.5m -c libsass/src/ast.cpp -o build/temp.linux-armv7l-3.5/libsass/src/ast.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.4"
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for libsass
I believe that the issue is that the Dockerfile specifies a base image of python:3.5-slim, but gcc is not available in that image. I noticed this mentioned here:
Should gcc be added to the prereq's file, or maybe the base image changed?
Here's my docker-compose yaml, if it helps:
kitana:
container_name: kitana
build:
context: https://github.com/pannal/Kitana.git
restart: unless-stopped
volumes:
- /media/storage/config/kitana:/app/data
environment:
- TZ=America/New_York
- PUID=1000
- PGID=1000
ports:
- 31337:31337
I've installed via the docker container and I can't seem to access it on the external network. I've port forwarded the 31337 port and also edited the sample config files with the domain name I'd be accessing it from. I still can only access it on the local network.
Is this normal or am I doing something wrong? Thanks in advance for the help!
Running in Docker with the following docker-compose file:
version: '2'
services:
plugins:
container_name: plugins
image: pannal/kitana:latest
command: -P -PH X-Forwarded-Host
volumes:
- /etc/docker/kitana:/app/data
- /etc/localtime:/etc/localtime:ro
environment:
- PGID=1000
- PUID=1000
network_mode: host
depends_on:
- plex
restart: unless-stopped
The docker container is running behind Traefik, which is forwarding the host "https://plugins.xxx.yyy" to the container correctly.
The server briefly looks to work, but then comes up with a gorgeous 500 error:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 628, in respond
self._do_respond(path_info)
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond
response.body = self.handler()
File "/usr/local/lib/python3.5/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "kitana.py", line 458, in get_plex_token
r.raise_for_status()
File "/usr/local/lib/python3.5/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://plex.tv/users/sign_in.json
I upgraded to latest Plex on WIN7 and lost the UI for Sub-Zero. I use Sonarr and CouchPotato and occasionally download TV shows/Movies manually. I also plan to migrate to Radarr.
Would you recommend using Sub-Zero+Kitana or Bazarr?
(Sorry to post here but the reddit threads were closed)
Hi Everyone,
how do I upgrade to new version? I run Kitana in Windows 10 PC.
Download the new version and overwrite the old one in Kitana folder?
As a newbie; (to Linux), regarding the installation of requirements.txt, you wrote on the web to use pip install -r requirements.txt
should it not be pip3 install -r requirements.txt
since it requires python 3.5+ ?
For us noobies you might want to add some documentation of what to do once you have Kitana installed.
Once I started up Kitana all I saw was:
No viable plugins found; please choose a different server
I finally figured out that I have to place the plugin bundles in the Plug-Ins
directory of my Plex server. But that was not obvious. (Yes I know that is part of the old Plex installation routine, but I thought Kitana would handle that for me.)
Thanks
Hi there,
Kitana itself works, and you can browse through all the available content, however, if you click on certain channels shows, you get this:
Error on Plexy (see log): 500 Server Error: Internal Server Error for url: https://192-168-10-60.ab702f58bd984d18abd3648e3cb7a6af.plex.direct:32400/video/lifetime/seasons?title=24%20To%20Life&url=http://www.mylifetime.com/shows/24-to-life
If you follow the URL in the error, you get a 401 Unauthorized error.
I've also verified that this same problem exists locally, if you append the uri to the server, although I'm not sure that even SHOULD work? (http://ip:port/video/lifetime/seasons?title=24%20To%20Life&url=http://www.mylifetime.com/shows/24-to-life)
Some of the shows that open outside of the app in their own window are working fine. i.e - The CW, or HGTV Canada shows.
Any help is appreciated.
Here's the contents of my docker-compose.yml file but it is not working when I do a docker-compose up -d
kitana:
image: pannal/kitana:latest
container_name: kitana
volumes:
- home/kevin/appdata/kitana:/app/data
ports:
- "31337:31337"
dns:
- 192.168.20.100
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=Asia/Manila
ERROR: Named volume "home/kevin/appdata/kitana:/app/data:rw" is used in service "kitana" but no declaration was found in the volumes section.
I have several docker containers with the same structure in the same docker-compose.yml running without issues. What could cause this?
Could you be interested in doing a Kitana docker container for Unraid?
That will probably give you more users because it will be available in the 'Community Applications' and easier to install :-)
Regards
Michael
I'm wondering whether there is a proper way to trigger some actions using curl (in my case inside a cronjob).
When plugins were available in standard plex app I was using a cronjob for subtitles refresh (because I spin down my HDD when it's not in use and standard SZ Scheduler without an option to set exact time wasn't cutting it for me). This was my command to do it:
http://192.168.11.10:32400/video/subzero/missing/refresh
I didn't need X-Plex-Token
because I configured plex to trust connections from same machine.
I was hoping to achieve something similar with Kitana, and eventually, I did by injecting kitana_docker_session_id
cookie into my curl request but I have my doubts about the long term viability of such solution (mainly because I suspect that it will expire after some time).
Am I missing something? Maybe you have some recommendations for a better solution? If not can you share for how long that cookie will work before being logged out?
This glyph looks like it indicates refresh of the plugin page, but it actually restarts the plugin.
Please change it so it indicates that it restarts the plugin.
After authenticating through plex the following error is shown:
`The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/etc/miniconda3/envs/kitana/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 628, in respond
self._do_respond(path_info)
File "/etc/miniconda3/envs/kitana/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond
response.body = self.handler()
File "/etc/miniconda3/envs/kitana/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in call
self.body = self.oldhandler(*args, **kwargs)
File "/etc/miniconda3/envs/kitana/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in call
return self.callable(*self.args, **self.kwargs)
File "kitana.py", line 412, in servers
servers = self.discover_pms(server_name=server_name, server_addr=server_addr)
File "kitana.py", line 335, in discover_pms
if device["provides"] != "server" or not bool(device["presence"]):
TypeError: string indices must be integers`
Hi, can I use this docker with raspberry pi? Thank you
I went over to Patreon to support your efforts, but found that the current backer options on Patreon do not match what your README suggests.
Is it possible to implement an option that makes Kitana store Plex tokens for local access only?
I don't understand nothing about programming.
But here is the error when I try to use Kitana.
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 638, in respond
self._do_respond(path_info)
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
response.body = self.handler()
File "/usr/local/lib/python3.5/site-packages/cherrypy/lib/encoding.py", line 219, in call
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/cherrypy/_cpdispatch.py", line 54, in call
return self.callable(*self.args, **self.kwargs)
File "kitana.py", line 489, in servers
servers = self.discover_pms(server_name=server_name, server_addr=server_addr)
File "kitana.py", line 406, in discover_pms
https_required = device["httpsRequired"] == "1"
KeyError: 'httpsRequired'
On reddit I saw your comment " I'd suggest running the standalone release though, not the docker one". Where can I find the Windows Installer?
Thank you,
My Plex server is installed in a data-center at the University of Copenhagen.
My Plex server IP-address is: 10.60.154.11
The University has different external addresses in the range 130.225. and 130.226.
I remote connect to the server with VPN.
Kitana are running in a Docker container on my Plex server.
When I start the Kitana docker container I see errors:
When I in Kitana try to 'Get my logs', Kitana open a page
https://130.225.98.253:32400/video/subzero/logs?X-Plex-Token=RSrG_fDgvDdxMQVLytmm
I get the error:
This site can’t be reached130.225.98.253 unexpectedly closed the connection.
It seems like the 'redirecting' confusing Kitana.
I have attached the Kitana docker log.
Maybe you can see what the problem is :-)
great work. thanks for that.
but settings are still only available through plex itself. would be great to have all in one place.
thanks
Hi,
I receive the message "No viable plugins found; please choose a different server".
I am running kitana standalone on Ubuntu and I have placed plug-ins at:
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/
but Kitana can't recognize them. Does the location of kitana-master matter? What am I missing?
In the "Advanced > Get my logs" it says:
copy the appearing link and open it in your browser, please
I click on it and a new tab opens with the link:
http://<my.ip>:31337/video/subzero/get_logs_link
The site is empty and no log is downloaded.
What am I doing wrong?
Regards
Michael
[/share/Public/Kitana] # python3.8 kitana.py
Traceback (most recent call last):
File "kitana.py", line 26, in <module>
from plugins.SassCompilerPlugin import SassCompilerPlugin
File "/share/CE_CACHEDEV1_DATA/Public/Kitana/plugins/SassCompilerPlugin.py", line 4, in <module>
import sass
File "/opt/lib/python3.8/site-packages/sass.py", line 26, in <module>
import _sass
ModuleNotFoundError: No module named '_sass'
Hi there, I've been having some trouble acccesing Kitana from outside. The Plex server is installed in a remote machine. Just cloned this repository and after selecting the source from the list (nat or relay) it enters in a endless loop that when I stop the browser says.
Successfully connected to PlexServer
Timeout on PlexServer
Error on PlexServer (see log): HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=32400): Read timed out. (read timeout=15)
I was hoping if there be any workaround for this, because Subzero has been timeouting as well and not able to download any subs :/
Thanks!
systemd is available almost everywhere. as an example, see below:
/etc/systemd/system/kitana.service:
[Unit]
Description=Plex Kitana Web
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/Kitana
Environment=PYTHONPATH=/opt/Kitana
ExecStart=/opt/Kitana/.venv/bin/python kitana.py
Restart=on-failure
[Install]
WantedBy=multi-user.target
in CLI: pip install -r requirements.txt
I get
Collecting cherrypy==18.0.1 (from -r requirements.txt (line 1))
Could not find a version that satisfies the requirement cherrypy==18.0.1 (from -r requirements.txt (line 1)) (from versions: 0.10, 2.0.0, 2.1.1, 2.2.0b0, 2.2.0, 2.2.1, 2.3.0, 3.0.0, 3.0.4, 3.1.0, 3.1.2, 3.2.0, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.3.0, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.8.1, 3.8.2, 4.0.0, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.3.0, 5.4.0, 5.5.0, 5.6.0, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 7.0.0, 7.1.0, 8.0.0, 8.0.1, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.2.0, 8.3.0, 8.3.1, 8.4.0a2, 8.4.0, 8.5.0, 8.6.0, 8.7.0, 8.8.0, 8.9.0, 8.9.1, 9.0.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.2.1, 10.2.2, 11.0.0, 11.1.0, 11.2.0, 12.0.0, 12.0.1, 12.0.2, 13.0.0, 13.0.1, 13.1.0, 14.0.0, 14.0.1, 14.1.0, 14.2.0, 15.0.0, 16.0.0, 16.0.2, 16.0.3, 17.0.0, 17.1.0, 17.2.0, 17.2.0.post0, 17.3.0, 17.4.0, 17.4.1)
No matching distribution found for cherrypy==18.0.1 (from -r requirements.txt (line 1))
Hi,
This is a really useful tool, however when trying to install the Trakt plugin to allow multiple users to sync their libraries with Plex & Trakt, but when a non owned user logs in they get no servers to select.
As per your readme, it does say non-owned servers may not work - can you elaborate on the "may not" part, is there a way to allow my users to configure their Trakt accounts?
note:
The last time i used the Trakt plugin was before Plex decided to pull them as a supported feature, and it had the functionality that it would allow multiple plex servers to share the same watched information, i assume this is still the case for it.
I wrote a simple batch file to run my katana instance at startup and noticed recently it wasn't running. When manually running from cmd I see the following info. This is the kitana.py file that comes right from the zip here on Github
"C:\kitana>python kitana.py
File "kitana.py", line 422
return template.render(plex_headers_json=json.dumps(self.plex_headers), **self.default_context, servers=servers)
^
SyntaxError: invalid syntax"
This is the first I'm seeing this, any thoughts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.