qconrad / intellistar-emulator

A web application that displays weather information in the same visual presentation as the cable headend unit Intellistar.
https://qconrad.github.io/intellistar-emulator/
MIT License
89 stars 66 forks source link

Status Code 401; apiKey possibly expired? #29

Closed Selanda closed 2 years ago

Selanda commented 2 years ago

Earlier in the week it was working properly however this morning I'm not able to click the Start button on the interface, it doesn't respond to being clicked. Upon further investigation, it appears there's a 401 being retrurned for https://api.weather.com/v3/location/point?postalKey=18603:US&language=en-US&format=json&apiKey=d522aa97197fd864d36b418f39ebb323 when the button is clicked. I assume due to an invalid/expired apiKey?

qconrad commented 2 years ago

Thanks for the report. I'll see if I can get a new API key.

relative commented 2 years ago

It looks like d522aa97197fd864d36b418f39ebb323 is still valid, however weather.com is using 21d8a80b3d6b444998a80b3d6b1449d3 now

qconrad commented 2 years ago

Hmm. When I tried it earlier, I was able to replicate the error you were referring to but it seems to be working now. Would you able to confirm if it's fixed?

Selanda commented 2 years ago

I just tested both API keys and they are both working. I wonder if Weather.com had a hiccup over the weekend which caused d522aa97197fd864d36b418f39ebb323 to return 401 temporarily?

relative commented 2 years ago

I just tested both API keys and they are both working. I wonder if Weather.com had a hiccup over the weekend which caused d522aa97197fd864d36b418f39ebb323 to return 401 temporarily?

They may be looking to deactivate the key but might have a legacy application that still uses it, it wouldn't be a bad idea to change to the new key

qconrad commented 2 years ago

Seems plausible. I switched it over to the new key. I left the old key as a comment just in case this one breaks for whatever reason. I'm going to close this issue for now but feel free to comment if this error pops up again.