192.168.49.1 and Plex

Does anyone know how I could rectify the issue? My primary network subnet is 192.168.0.x and I don’t know how Home Assistant got the 192.168.49.1 IP address.

16-07-28 07:37:52 plexapi: http://192.168.49.1:32400: HTTPConnectionPool(host='192.168.49.1', port=32400): Max retries exceeded with url: /?X-Plex-Token=k2U6pY9HjZ97qnzNySw4 (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7f91645417f0>, 'Connection to 192.168.49.1 timed out. (connect timeout=5)')) 16-07-28 07:37:52 plexapi: https://192-168-49-1.0fc029debf204c1ab565b6f84b049d3e.plex.direct:32400: HTTPSConnectionPool(host='192-168-49-1.0fc029debf204c1ab565b6f84b049d3e.plex.direct', port=32400): Max retries exceeded with url: /?X-Plex-Token=k2U6pY9HjZ97qnzNySw4 (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9164541e48>, 'Connection to 192-168-49-1.0fc029debf204c1ab565b6f84b049d3e.plex.direct timed out. (connect timeout=5)'))

My nVidia Shield Android TV is not assigned to that particular address, so how could I prevent Home Assistant from trying to even connect to the non-existent IP address?

I’d check your plex.conf file. Create an entry for your plex server or delete the bad entry.

I only have 192.168.0.17 in plex.conf and that’s about it. Should I delete the plex.conf file and have Home Assistant rediscover Plex? I already have a token in there.

Might be worth a try. Don’t know what else I could suggest.

Do you have an android plex device on the network? The android client also defaults to acting as a plex server as well and it may be detecting this.

I never thought that Plex in Android smartphone has a built-in PMS, as that is kind of strange to me… I opened up Plex clients in both of my Nexus 6P smartphone and Nexus 7 tablet and:

  • In Nexus 7, I saw:
    • My Nexus 7
    • My Shield Android TV
  • In Nexus 6P:
    • My Nexus 6P
    • My Shield Android TV

And that’s about it.

I’ve renamed plex.conf to plex.conf.bak and no change:

homeassistant@home-server:~$ cat .homeassistant/home-assistant.log | grep plex
16-08-03 14:50:07 plexapi: http://192.168.49.1:32400: HTTPConnectionPool(host='192.168.49.1', port=32400): Max retries exceeded with url: /?X-Plex-Token=k2U6pY9HjZ97qnzNySw4 (Caused by ConnectTimeoutError(, 'Connection to 192.168.49.1 timed out. (connect timeout=5)'))
16-08-03 14:50:07 plexapi: https://192-168-49-1.0fc029debf204c1ab565b6f84b049d3e.plex.direct:32400: HTTPSConnectionPool(host='192-168-49-1.0fc029debf204c1ab565b6f84b049d3e.plex.direct', port=32400): Max retries exceeded with url: /?X-Plex-Token=k2U6pY9HjZ97qnzNySw4 (Caused by ConnectTimeoutError(, 'Connection to 192-168-49-1.0fc029debf204c1ab565b6f84b049d3e.plex.direct timed out. (connect timeout=5)'))

I’ve got the same issue. HA is trying to get to plex on a device that doesn’t run plex.