tgorgdotcom / locast2plex

A very simple script to connect locast to Plex's live tv/dvr feature.
MIT License
234 stars 43 forks source link

Startup Fails at Checking FCC facilities database for updates #249

Open dyl421421 opened 3 years ago

dyl421421 commented 3 years ago

I tried to start up locast2plex for the first time today and am successful up to Checking FCC facilities database for updates, and then I get a TracebackError, which ultimately leads to a urlopen error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because the connected host has failed to respond.

It seems to be related to performing the HEAD request on this file: 'https://transition.fcc.gov/Bureaus/MB/Databases/cdbs/facility.zip'. I tried opening that link myself and cannot seem to access it. Is it possible the link changed for this database, or is it down?

bunjicat commented 3 years ago

Same issue.

zdale59 commented 3 years ago

Same

RaaZeR2169 commented 3 years ago

ditto

dyl421421 commented 3 years ago

I ended up trying again later and it worked without issue, looks like it came back online.

zdale59 commented 3 years ago

It’s back up for me too!

scotte commented 3 years ago

This issue started up again about 3 hours ago again for me.

Recommend two things:

  1. Make this a non-fatal issue if the request fails but the cache file is available. Keep retrying, don't fail.
  2. Make the facility.zip URL a configuration item, rather than a hardcoded string, so that when the location changes it can easily be updated.
michaelblong commented 3 years ago

Just got this as well

tazhatewater commented 3 years ago

it looks like the ssl request is being rejected:

File "/usr/lib/python3.8/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer

I'll try and dig a bit more

tazhatewater commented 3 years ago

seems to be cleared up. obviously an issue on the .gov side.