Angry Plex errors in logs after redoing my plex server

Any ideas? I validated the correct token is in use in the plex.conf

2019-01-17 13:55:41 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback None()
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/events.py”, line 126, in _run
self._callback(self._args)
File “/usr/lib/python3.5/asyncio/selector_events.py”, line 730, in _read_ready
self._protocol.data_received(data)
File “/usr/lib/python3.5/asyncio/sslproto.py”, line 502, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File “/usr/lib/python3.5/asyncio/sslproto.py”, line 201, in feed_ssldata
self._sslobj.do_handshake()
File “/usr/lib/python3.5/ssl.py”, line 646, in do_handshake
match_hostname(self.getpeercert(), self.server_hostname)
File “/srv/homeassistant/lib/python3.5/site-packages/idna_ssl.py”, line 16, in patched_match_hostname
return real_match_hostname(cert, hostname)
File “/usr/lib/python3.5/ssl.py”, line 309, in match_hostname
% (hostname, dnsnames[0]))
ssl.CertificateError: hostname ‘192.168.1.12’ doesn’t match '
.843781a9007d421babebc4cee725015c.plex.direct’
2019-01-17 13:55:41 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1973563280] Error handling message: {‘type’: ‘media_player_thumbnail’, ‘entity_id’: ‘media_player.fry_2’, ‘id’: 121}
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 902, in _wrap_create_connection
await self._loop.create_connection(*args, **kwargs))
File “/usr/lib/python3.5/asyncio/base_events.py”, line 801, in create_connection
sock, protocol_factory, ssl, server_hostname)
File “/usr/lib/python3.5/asyncio/base_events.py”, line 827, in _create_connection_transport
yield from waiter
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/events.py”, line 126, in _run
self._callback(self._args)
File “/usr/lib/python3.5/asyncio/selector_events.py”, line 730, in _read_ready
self._protocol.data_received(data)
File “/usr/lib/python3.5/asyncio/sslproto.py”, line 502, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File “/usr/lib/python3.5/asyncio/sslproto.py”, line 201, in feed_ssldata
self._sslobj.do_handshake()
File “/usr/lib/python3.5/ssl.py”, line 646, in do_handshake
match_hostname(self.getpeercert(), self.server_hostname)
File “/srv/homeassistant/lib/python3.5/site-packages/idna_ssl.py”, line 16, in patched_match_hostname
return real_match_hostname(cert, hostname)
File “/usr/lib/python3.5/ssl.py”, line 309, in match_hostname
% (hostname, dnsnames[0]))
ssl.CertificateError: hostname ‘192.168.1.12’ doesn’t match '
.843781a9007d421babebc4cee725015c.plex.direct’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api/decorators.py”, line 17, in _handle_async_response
await func(hass, connection, msg)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 881, in websocket_handle_thumbnail
data, content_type = await player.async_get_media_image()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 388, in async_get_media_image
return await _async_fetch_image(self.hass, url)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 815, in _async_fetch_image
response = await websession.get(url)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/client.py”, line 403, in _request
timeout=real_timeout
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 500, in connect
proto = await self._create_connection(req, traces, timeout)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 832, in _create_connection
req, traces, timeout)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 970, in _create_direct_connection
raise last_exc
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 952, in _create_direct_connection
req=req, client_error=client_error)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 905, in _wrap_create_connection
req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host 192.168.1.12:32400 ssl:True [CertificateError: (“hostname ‘192.168.1.12’ doesn’t match ‘*.843781a9007d421babebc4cee725015c.plex.direct’”,)]

Hi,
I have the same problem for a week or two :

Error handling message: {‘type’: ‘media_player_thumbnail’, ‘id’: 39, ‘entity_id’: ‘media_player.tv_qe55q6fna’}

Traceback (most recent call last): File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 902, in _wrap_create_connection await self._loop.create_connection(args, **kwargs)) File “/usr/lib/python3.5/asyncio/base_events.py”, line 801, in create_connection sock, protocol_factory, ssl, server_hostname) File “/usr/lib/python3.5/asyncio/base_events.py”, line 827, in _create_connection_transport yield from waiter File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter yield self # This tells Task to wait for completion. File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup future.result() File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result raise self._exception File “/usr/lib/python3.5/asyncio/events.py”, line 126, in _run self._callback(self._args) File “/usr/lib/python3.5/asyncio/selector_events.py”, line 730, in _read_ready self._protocol.data_received(data) File “/usr/lib/python3.5/asyncio/sslproto.py”, line 502, in data_received ssldata, appdata = self._sslpipe.feed_ssldata(data) File “/usr/lib/python3.5/asyncio/sslproto.py”, line 201, in feed_ssldata self._sslobj.do_handshake() File “/usr/lib/python3.5/ssl.py”, line 646, in do_handshake match_hostname(self.getpeercert(), self.server_hostname) File “/srv/homeassistant/lib/python3.5/site-packages/idna_ssl.py”, line 19, in patched_match_hostname return real_match_hostname(cert, hostname) File “/usr/lib/python3.5/ssl.py”, line 309, in match_hostname % (hostname, dnsnames[0])) ssl.CertificateError: hostname ‘192.168.1.14’ doesn’t match '.6147f37e2e704abc9d6c35d1b6669f60.plex.direct’ The above exception was the direct cause of the following exception: Traceback (most recent call last): File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api/decorators.py”, line 17, in _handle_async_response await func(hass, connection, msg) File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 881, in websocket_handle_thumbnail data, content_type = await player.async_get_media_image() File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 388, in async_get_media_image return await _async_fetch_image(self.hass, url) File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/init.py”, line 815, in _async_fetch_image response = await websession.get(url) File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/client.py”, line 403, in _request timeout=real_timeout File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 500, in connect proto = await self._create_connection(req, traces, timeout) File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 832, in _create_connection req, traces, timeout) File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 970, in _create_direct_connection raise last_exc File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 952, in _create_direct_connection req=req, client_error=client_error) File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/connector.py”, line 905, in _wrap_create_connection req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host 192.168.1.14:32400 ssl:True [CertificateError: ("hostname ‘192.168.1.14’ doesn’t match '.6147f37e2e704abc9d6c35d1b6669f60.plex.direct’",)]

And this one two :
Thu Jan 17 2019 21:18:24 GMT+0100 (heure normale d’Europe centrale)

Error doing job: Exception in callback None()
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/events.py”, line 126, in _run
self._callback(self._args)
File “/usr/lib/python3.5/asyncio/selector_events.py”, line 730, in _read_ready
self._protocol.data_received(data)
File “/usr/lib/python3.5/asyncio/sslproto.py”, line 502, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File “/usr/lib/python3.5/asyncio/sslproto.py”, line 201, in feed_ssldata
self._sslobj.do_handshake()
File “/usr/lib/python3.5/ssl.py”, line 646, in do_handshake
match_hostname(self.getpeercert(), self.server_hostname)
File “/srv/homeassistant/lib/python3.5/site-packages/idna_ssl.py”, line 19, in patched_match_hostname
return real_match_hostname(cert, hostname)
File “/usr/lib/python3.5/ssl.py”, line 309, in match_hostname
% (hostname, dnsnames[0]))
ssl.CertificateError: hostname ‘192.168.1.14’ doesn’t match '
.6147f37e2e704abc9d6c35d1b6669f60.plex.direct’