Closed VDRainer closed 2 years ago
I have the same issue.
The problem is, that the SSL-Certificat from DWD is expired, so the https-URL are invalid
NET::ERR_CERT_DATE_INVALID
Subject: opendata.dwd.de
Issuer: DFN-Verein Global Issuing CA
Expires on: 08.05.2022
Current date: 09.05.2022
V 1.2.19 crashed about this SSL-error on DWD-side and V 1.2.20 crashed with an unsafe http-URL because the DWD-Side use HSTS!
Wait for DWD to fix the error
I tried to delete and reinstall again the integration but I only get "unknown error" :(
Error for me also, deleted integration because I had the same error described at the top and on adding I get this now:
Traceback (most recent call last):
File "/config/custom_components/dwd_weather/config_flow.py", line 71, in async_step_user
info = await validate_input(self.hass, user_input)
File "/config/custom_components/dwd_weather/config_flow.py", line 49, in validate_input
await dwd_weather_data.async_update()
File "/config/custom_components/dwd_weather/connector.py", line 58, in async_update
return await self._hass.async_add_executor_job(self._update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/dwd_weather/connector.py", line 65, in _update
self.dwd_weather.update()
File "/usr/local/lib/python3.9/site-packages/simple_dwd_weatherforecast/dwdforecast.py", line 469, in update
self.parse_kml(kml)
File "/usr/local/lib/python3.9/site-packages/simple_dwd_weatherforecast/dwdforecast.py", line 496, in parse_kml
result = tree.xpath("//dwd:IssueTime", namespaces=self.namespaces)[0].text
IndexError: list index out of range
Hi, this is all related to the SSL error of the DWD site. My quick attempt to fix this wasn't successful, because I forgot about HSTS.
So please wait until DWD renews their certificate.
Hi, this is all related to the SSL error of the DWD site. My quick attempt to fix this wasn't successful, because I forgot about HSTS.
So please wait until DWD renews their certificate.
Release you a new version with the correct SSL-URL after DWD fixed his SSL-Cert?
DWD has fix the problem. The side is reach over a new SSL-Cert.
Yepp, DWD Weather is back. :smile:
sadly the same error still persists as i installed the update to 1.2.20 like in https://github.com/FL550/dwd_weather/issues/52#issue-1228991097 . core-2022.5.1 Python-Version | 3.9.6 Tried reboots and reinstalls. any tips for me?
Downgrade to 1.2.17 works for me.
Downgrade to 1.2.17 works for me.
π
sadly the same error still persists as i installed the update to 1.2.20 like in #52 (comment) . core-2022.5.1 Python-Version | 3.9.6 Tried reboots and reinstalls. any tips for me?
Change in the file
custom_components/dwd_weather/manifest.json
"requirements": ["simple_dwd_weatherforecast==1.1.3","markdownify==0.6.5"]
to
"requirements": ["simple_dwd_weatherforecast==1.1.4","markdownify==0.6.5"]
or downgrade to version 1.2.19
@FL550
I think, you must release a new version from the Add-on with this change
The new release is now live.
The new release is now live.
Works for me. π Thanks!
Fine for me :) Thanks so much!!!
Version of home_assistant
2022.5.3
Version of the custom_component
1.2.20
Describe the bug
My log fills with errors since 1.2.20. I installed HA 2022.5.3 and 1.2.20 at the same time.
Debug log