Giter VIP home page Giter VIP logo

Comments (6)

weirdcrap avatar weirdcrap commented on May 19, 2024 1

I've also just discovered my previously working Kitana instance is now broken with a certificate mismatch like OP. v0.3.2

[16/Dec/2020:05:38:29] ENGINE Bus STARTING
[16/Dec/2020:05:38:29] ENGINE Starting SassCompilerPlugin
[16/Dec/2020:05:38:29] ENGINE Serving on http://0.0.0.0:31337
[16/Dec/2020:05:38:29] ENGINE Bus STARTED
[16/Dec/2020:05:38:29] Starting Sass Compile
[16/Dec/2020:05:38:29] SassCompilerPlugin: Compiling /app/static/sass to /app/static/css
[16/Dec/2020:05:38:30] ENGINE Listening for SIGUSR1.
[16/Dec/2020:05:38:30] ENGINE Listening for SIGTERM.
[16/Dec/2020:05:38:30] ENGINE Listening for SIGHUP.
[16/Dec/2020:05:38:33] 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-1-254.388f496654da4c98b24ba6110f313f6b.plex.direct' doesn't match '*.dc1eef91ed0941c88512cfe90afdc635.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-1-254.388f496654da4c98b24ba6110f313f6b.plex.direct', port=32400): Max retries exceeded with url: /video/trakt (Caused by SSLError(CertificateError("hostname '192-168-1-254.388f496654da4c98b24ba6110f313f6b.plex.direct' doesn't match '*.dc1eef91ed0941c88512cfe90afdc635.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-1-254.388f496654da4c98b24ba6110f313f6b.plex.direct', port=32400): Max retries exceeded with url: /video/trakt (Caused by SSLError(CertificateError("hostname '192-168-1-254.388f496654da4c98b24ba6110f313f6b.plex.direct' doesn't match '*.dc1eef91ed0941c88512cfe90afdc635.plex.direct'",),))

@trox88 did you scrub the config as well or just repull the docker image? Simply removing and re-adding the docker did not fix this for me.

EDIT: I had to completely remove Kitana's data folder and start over from scratch to get it working again.

from kitana.

trox88 avatar trox88 commented on May 19, 2024 1

@weirdcrap For me it was enough just to repull from image.
Your option would be my second option if the first not success.

from kitana.

trox88 avatar trox88 commented on May 19, 2024

Same here with synology -> docker
Delete from container and reinstall from images (v0.3.2 version) solved my problame, just need to login again. But I don't really know what was the problame, maybe a new release of plex media server. idk.

from kitana.

BobOkisama avatar BobOkisama commented on May 19, 2024

So I also just deleted the container volume, then pulled latest. Had to set back up from scratch, which was no issue thanks to how easy they made this. Thanks guys, this worked for me. Will leave ticket open for now in case author wishes to find out WHY this has occurred, but we do have a work around.

from kitana.

pannal avatar pannal commented on May 19, 2024

Interesting. Not sure why this happens.

Rebuilding the container fixes the issue for everyone?

from kitana.

weirdcrap avatar weirdcrap commented on May 19, 2024

Yeah clearing the config directory and pulling the latest image fixed it for me. Hasn't re-broken yet.

from kitana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.