blackadderkate / weather-widget-2

Updated version of Weather Widget by Kotelnik
GNU General Public License v2.0
102 stars 22 forks source link

MetNo sources no longer loading #149

Closed blackadderkate closed 1 year ago

blackadderkate commented 1 year ago

MetNo sources are no longer working for me on Kubuntu 22.04LTS Framework 5.98

blackadderkate commented 1 year ago

It seems something is being proxied - the Timezone API now returns HTTP status code 203 Non-Authoritative Information. Possibly using Varnish now.

Change code to accept http status 203 as a successful query.

blackadderkate commented 1 year ago

Fixed in commit 45bad80.

martin-ms commented 1 year ago

Discovered the same problem since yesterday morning, that the connection to MetNo was broken. I can confirm that it works now again for me after update to ver 2.3.5beta

solbu commented 1 year ago

Confirmed here also. After applying the patch to the latest packaged release v2.3.4 it works again in Mageia too.

May I suggest a proper release in the comming days, so the distros will start picking up the new version.

Good job Kate. :-)

pstrejajo commented 1 year ago

I stumbled upon the same issue last Thursday. I searched a bit and it turns out that Sunrise 2.0 API (https://api.met.no/weatherapi/sunrise/2.0/documentation) is deprecated now (https://lists.met.no/pipermail/api-users/2023-May.txt), hence the status 203 according to ToS (https://api.met.no/doc/TermsOfService).

Fortunately migration to Sunrise 3.0 (https://api.met.no/weatherapi/sunrise/3.0/documentation) seems quiet straightforward.