Open ColinRobbins opened 8 months ago
I'm guessing temporary as looks to be returning data now
https://web-api-pepper.horizon.tv/oesp/api/GB/eng/web/channels
Still getting these errors.
Tried various get
requests via curl, and the issue seems to be with the listings
endpoint not with the channels
endpoint, with the latter still working OK.
The get request for listings
is returning Service unavailable
- i.e not JSON - so the code is looping through the get_guide_listings
routine, and continuing to do so even after the Tivo is tuned off, reporting multiple errors in the log every few seconds.
Might this be a permanent change on the API to withdraw the listings service?
Still getting these errors.
I am also getting these errors in HA, but can get results by clicking on the link in @bertbert72's post above..
As I said in my comment, the link posted by bertbert72 is to the channels
endpoint, which is still working. The integration still loads successfully from this at start up, so no errors appear in the log at that stage.
But it is failing to get listings
for the channel you are actually watching, which is when the errors start appearing in the logs, and will keep appearing until you restart HA.
The link for listings as per the current code would be:
https://web-api-pepper.horizon.tv/oesp/api/GB/eng/web/listings
with a constantly updated query appended to the url for the specific channel and time you are watching e.g. ?byStationID=<STATION_ID>&byEndTime=<TIMESTAMP_NOW>~<TIMESTAMP_FUTURE>&sort=startTime"
. This is the link that has stopped working.
Just to say I am getting the same problem...
For now I've disabled the listings functionality to prevent the error. Quick and dirty... If it comes back, I'll reinstate it and maybe add a config item to allow toggling it in future or detect when the listings aren't available and just throw the error once.
@bertbert72 Just to clarify, is this the reason I'm not getting any Programme details?
@bertbert72 Just to clarify, is this the reason I'm not getting any Programme details?
Yes, that's correct
I get the following error showing in my logs.
Looking at the code, it would seem
web-api-pepper.horizon.tv
is not available.(
http://horizon.tv
andhttp://web-api-pepper.horizon.tv
both return errors)It is not clear if this is a temporary or permanent issue.