k-donn / plasmoid-wunderground

A Plasma 5/6 widget for showing data from Wunderground PWS
https://store.kde.org/p/2135799
GNU General Public License v2.0
39 stars 15 forks source link

Wunderground API call fails with provided API key #37

Closed jimtuttle closed 1 year ago

jimtuttle commented 1 year ago

Describe the bug Any call to Wunderground API fails with error "Request failed: Access Denied Access Denied You don't have permission to access "httpapiweathercomv2pwsobservationscurrent" on this server."

To Reproduce I've tried several stations over the past 2 days with no change. Also, I'm not able to generate a personal API key as Wunderground in API KEYS section of my profile says "No API key. You must own a Personal Weather Station in order to generate an API key."

Screenshots https://imgur.com/a/o5XOV7x

Desktop (output of plasmashell --version && kf5-config --version): plasmashell 5.25.5 Qt: 5.15.4 KDE Frameworks: 5.98.0 kf5-config: 1.0

jimtuttle commented 1 year ago

I see another Wundeground plugin is experiencing the same issue so it seems likely that this is change in policy at Wunderground. See https://store.kde.org/p/1756638.

k-donn commented 1 year ago

Something has changed with what IBM/Wunderground is giving out with the API. I'm looking into seeing how to get this working again.

Thanks for using my widget!

bay-systems commented 1 year ago

Same here, using Wunderground 2.4.0 "Error: Request failed: Access Denied Access Denied [sic] You don't have permission to access apiweathercomv2pwobservation... on this server..."

vmisev commented 1 year ago

same error here: ""Error: Request failed: Access Denied ... " ; Wunderground 2.4.0, plasmashell 5.24.6 Qt: 5.15.5 KDE Frameworks: 5.99.0 FreeBSD 13.1-STABLE

lucknaumann commented 1 year ago

Yup.

gldickens3 commented 1 year ago

I am seeing the same problem.

urbanmoon commented 1 year ago

Same problem for about a week. Love this widget and being able to just glance up to see the gorgeous weather I'm missing as I'm stuck here on the computer. lol. I do love it, really. And miss it.

Wunderground 2.4.0 OS: Arch 6.0.6-arch1-1 plasmashell 5.26.2 Qt: 5.15.7 KDE Frameworks: 5.99.0 kf5-config: 1.0

kslivings commented 1 year ago

Hopefully you can get the API key updated and get this resolved. I really like this widget.

k-donn commented 1 year ago

New API key pushed out here and on KDE pling. Let me know how it's doing. Version 2.5.0 A url like this should work with the new API key

kslivings commented 1 year ago

I just got this updated and it seems to be working as before. Thank you and keep up the good work!

gldickens3 commented 1 year ago

2.5.0 works great! Thanks!... Gordon.

urbanmoon commented 1 year ago

2.5.0 is working great for me, too! Thank you so much!

vmisev commented 1 year ago

2.5.0 is working great, thanks!

lucknaumann commented 1 year ago

Oddly, version 2.5.0 isn't working for me. I uninstalled the prior version and reinstalled with the new version. I'm getting the same error.

Wunderground: 2.5.0 OS: KDE neon User 5.26 KDE Plasma Version: 5.26.0 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 kf5-config: 1.0

urbanmoon commented 1 year ago

@lucknaumann I did the same as you and found 2.5.0 to not make a difference. I shut down for the night and was going to deal with it in the morning but lo and behold, when I restarted in the morning, I glanced up and it was working! So didn't need to sort anything out. For whatever reason, the restart solved whatever lingering problem I had.

Oddly, version 2.5.0 isn't working for me. I uninstalled the prior version and reinstalled with the new version. I'm getting the same error.

Wunderground: 2.5.0 OS: KDE neon User 5.26 KDE Plasma Version: 5.26.0 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 kf5-config: 1.0

lucknaumann commented 1 year ago

@urbanmoon I was just thinking that maybe a reboot is what's needed. I'll go ahead and try that, thanks.

Edit: Yup, it's now working.

rqkeating commented 1 year ago

If anyone else stumbles on that issue, I used kquitapp5 plasmashell && kstart5 plasmashell` to restart Plasma and that got it working without a reboot. (Kubuntu 22.10, Plasma 5.26.2 (via backports))

k-donn commented 1 year ago

Ok, It does seem Plasma is caching something part of the widget that doesn't let the update work. But it does seem the update itself works.

I'll update some instructions on the widget page then mark this closed after a little bit!

Scrithy commented 1 year ago

Thanks alot, this worked great. And I appreciate the tip on restarting plasmashell.

jimtuttle commented 1 year ago

Tested and working. Awesome! I very much appreciate your time and enjoy the widget. I was just getting ready to ask you if you wanted help porting it to openweathermap but I'm glad that's not necessary and hyper-local weather is great.

Be well and thanks!