JaccoR/hass-entso-e

Max retries exceeded with url

Closed this issue · 17 comments

Error, Max retries exceeded with url.
Config: Sliding
Log copy paste:

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.entsoe.coordinator
Source: helpers/update_coordinator.py:168
Integration: ENTSO-e Transparency Platform (documentation, issues)
First occurred: 00:25:59 (1 occurrences)
Last logged: 00:25:59

Error fetching ENTSO-e coordinator data: Unexcpected error when fetching ENTSO-e prices: HTTPSConnectionPool(host='web-api.tp.entsoe.eu', port=443): Max retries exceeded with url: /api?documentType=A44&in_Domain=10YNL----------L&out_Domain=10YNL----------L&securityToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxdxd&periodStart=202212142300&periodEnd=202212192200 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cdfac0a30>: Failed to establish a new connection: [Errno -2] Name does not resolve'))

Screenshot_20221217_083129_Home Assistant

Screenshot_20221217_082821_Home Assistant

Screenshot_20221217_083143_Home Assistant

I think this due Entso E name server failing. It's nasty - killing all automations running based on price.

Have exactly the same.

Exactly same issue here

Same issue here and when checking their web site there is no data in their own tables. Operational error, we need to wait for them to fix it. As resident in Sweden I have backup data from Nordpool to manage automations.

How do you get the data from nordpool? Tommi la 17. jouluk. 2022 klo 12.02 ksvard @.> kirjoitti:

Same issue here and when checking their web site there is no data in their own tables. Operational error, we need to wait for them to fix it. As resident in Sweden I have backup data from Nordpool to manage automations. — Reply to this email directly, view it on GitHub <#94 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7BKHRXGU7MKUBK77B6Y3WNWFSRANCNFSM6AAAAAATBZ2FSU . You are receiving this because you commented.Message ID: @.
>

https://github.com/custom-components/nordpool

Same issue

I think a graceful way to handle these kinds of errors is preferred.

Yes, the error should not cause sensors to go down. Were working on a fix in #86 . Any help is welcome!

Maybe an option for fallback to the Nordpool integration would be an option? I'm using https://github.com/jpulakka/nordpool_diff for switching stuff and they provide the option to fallback to Nordpool prices which works really nice.

As an interim solution I switched to https://transparency.entsoe.eu/api which seems to work. Need to override it in entsoe-py package, so not really good.

3vdo commented

As an interim solution I switched to https://transparency.entsoe.eu/api which seems to work. Need to override it in entsoe-py package, so not really good.

Noticed this also. I tried to find where to put this new endpoint, but I couldn't find. Where to put this https://transparency.entsoe.eu/api ?

running this in the homeassistant core docker container causes the desired change:
sed -i "s/web-api.tp./transparency./g" /usr/local/lib/python3.10/site-packages/entsoe/entsoe.py
After which you restart and everything is working again.

@sfstar , any idea how I can access that file in homeassistant supervised?
I can find such a file (entsoe.py) but I can't access it and I don't like to run the command before I know what I'm doing.

user@raspberrypixxxx:/ $ sudo find / -name entsoe.py

/var/lib/docker/overlay2/b13662acb289143ee7fed6a80368e7721d06d59f2ad0a8333cb4bd1b5de0bdda/diff/usr/local/lib/python3.10/site-packages/entsoe/entsoe.py
/var/lib/docker/overlay2/b13662acb289143ee7fed6a80368e7721d06d59f2ad0a8333cb4bd1b5de0bdda/merged/usr/local/lib/python3.10/site-packages/entsoe/entsoe.py

web-api.tp.entsoe.eu seems to resolve again

@JaccoR #95 is tested and ready to be merged