Giter VIP home page Giter VIP logo

Comments (10)

FL550 avatar FL550 commented on July 27, 2024 1

Sorry for the inconvenience. But I forgot HSTS totally. I will undo the changes. So unfortunately we all have to wait.

from simple_dwd_weatherforecast.

GerdRuetten avatar GerdRuetten commented on July 27, 2024

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

Don't switch to an unsafe http-URL because the DWD-Side use HSTS!

Wait for DWD to fix the error

from simple_dwd_weatherforecast.

SpiGAndromeda avatar SpiGAndromeda commented on July 27, 2024

@FL550 could you wait a bit until we ware sure about that?

@GerdRuetten are you sure about that? I collected the traffic outgoing from my HA installation and opened the dump with Wireshark. The HTTP response seems ok. Before I created the PR for switching from HTTPS to HTTP, I checked if everything is usable with HTTP by performing the requests via Postman.

Or is Python discarding HTTP responses that are not performed vie HTTPS but have an STS header?

Screenshot from 2022-05-09 06-58-41

from simple_dwd_weatherforecast.

GerdRuetten avatar GerdRuetten commented on July 27, 2024

Yes, i'm sure :-)

image

from simple_dwd_weatherforecast.

SpiGAndromeda avatar SpiGAndromeda commented on July 27, 2024

@GerdRuetten working just fine in Firefox, Edge and Chrome is opening
http://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_L/single_stations/10677/kml/MOSMIX_L_LATEST_10677.kmz
and not
https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_L/single_stations/10677/kml/MOSMIX_L_LATEST_10677.kmz.

And thats what the package does. There is also no 301 or 302 response redirecting to HTTPS

from simple_dwd_weatherforecast.

cs42 avatar cs42 commented on July 27, 2024

The certificate for opendata.dwd.de expired. They need to renew it.

from simple_dwd_weatherforecast.

SpiGAndromeda avatar SpiGAndromeda commented on July 27, 2024

I wrote DWD an email and got a reply. They are working on a "solution" (most likely getting a new certificate ... DFN certificates often take some days to be issued).

@FL550 do you have a working test environment and check if HSTS really is the problem and if allowing unsecure connections solve the problem? I still think going for HTTP instead of HTTPS is the way to go if it's working. (just to avoid future certificate problems).

from simple_dwd_weatherforecast.

LuckyTriple7 avatar LuckyTriple7 commented on July 27, 2024

The certificate is now valid again. Problem solved with that.

from simple_dwd_weatherforecast.

GerdRuetten avatar GerdRuetten commented on July 27, 2024

The certificate is now valid again. Problem solved with that.

Yes i confirm!

The DWD-side is use a new SSL-Cert.

But the new version from this packages use the non-secure http-URL.

Pls re-fix to the secure https-URL.

from simple_dwd_weatherforecast.

FL550 avatar FL550 commented on July 27, 2024

I've reverted the change, so the integration is using SSL again.

from simple_dwd_weatherforecast.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.