Net.WebService GetData() problem after Raspberry Pi update

Started by soxfan1966, May 30, 2020, 07:35:58 AM

Previous topic - Next topic

soxfan1966

I believe I am running the latest version of HG - I updated recently when Gene had posted his last update.

petera

Quote from: soxfan1966 on May 31, 2020, 09:09:30 AM
I believe I am running the latest version of HG - I updated recently when Gene had posted his last update.

Ok. You mentioned in the issue you were running 1.1 r527 https://github.com/genielabs/HomeGenie/issues/403

petera

While you’re waiting on a fix to your problem you might want to try change the time and date on the Pi to pre 30th May as an experiment and try making calls to the OW server via HG. It should confirm the expiry certs issue for you if you receive back valid data in HG.

Tuicemen

When you post a issue HG github fills in  HG version  as 1.1-stable 527 many users over look this and don't change it.
Please Read Topic:
General Forum Etiquette
Before you post!

petera

It’s a game changer as far a security issues are concerned. There are still users on v527 particularly those who have a long time stable setup and don’t want to tempt fate by upgrading it. Totally understandable.

I don’t see the OW issue being resolved any time soon. I don’t think it’s as straightforward as Gene makes it out to be. Previous security cert issues with HG in the past related to Mono but I think issue relates to Java. I maybe wrong. I can’t see a service like OW letting their certs lapse like that without having previously attended to them.

Tuicemen

Quote from: petera on May 31, 2020, 03:24:30 PM
I don’t see the OW issue being resolved any time soon. I don’t think it’s as straightforward as Gene makes it out to be. Previous security cert issues with HG in the past related to Mono but I think issue relates to Java. I maybe wrong. I can’t see a service like OW letting their certs lapse like that without having previously attended to them.
I hope your wrong, however since the jkutils  openweathermap works( at least for me) there is an alternative to get OW data. I usually  like to have 2 weather pull options available so I may have to look into other sources. Mayby code so if one source fails HG switches to the other for data.
Please Read Topic:
General Forum Etiquette
Before you post!

soxfan1966

Can you share the JK utils weather program with me - I'd like to try that for now

petera

Quote from: soxfan1966 on May 31, 2020, 04:59:07 PM
Can you share the JK utils weather program with me - I'd like to try that for now

Did you see the workaround I posted on the GitHub. Try it and let me know if it works.

soxfan1966


petera

Quote from: soxfan1966 on May 31, 2020, 05:47:06 PM
Yes, I was actually going to try it right now.

Just make sure you’ve taken an image of your SD card before you try it. The workaround should tie you over until a permanent solution is found. It’s always better to try resolve the issue than look for an alternative. I’m surprised the author Gene didn’t attempt to resolve the issue instead of confirming what we already knew.

Tuicemen

Quote from: soxfan1966 on May 31, 2020, 04:59:07 PM
Can you share the JK utils weather program with me - I'd like to try that for now
you can get it from inside HG using the package manager.
Please Read Topic:
General Forum Etiquette
Before you post!

soxfan1966

OK, I can confirm that the work around (which is what it is right, not a fix - that will hopefully come from OpenWeatherMap when they do something to update their certificate) posted on GitHub here will allow the weather program and widget to work again:

https://github.com/genielabs/HomeGenie/issues/403#issuecomment-636527604

Thank you :)

Tuicemen - I will take a look at the jk utils version, I'm curious why that one still worked and it may be possible to work in a backup using that into the OpenWeatherMap Program.

petera

Quote from: soxfan1966 on May 31, 2020, 06:05:24 PM
OK, I can confirm that the work around (which is what it is right, not a fix - that will hopefully come from OpenWeatherMap when they do something to update their certificate) posted on GitHub here will allow the weather program and widget to work again:

https://github.com/genielabs/HomeGenie/issues/403#issuecomment-636527604

Thank you :)

Tuicemen - I will take a look at the jk utils version, I'm curious why that one still worked and it may be possible to work in a backup using that into the OpenWeatherMap Program.

Could you update your post to reflect this solution on HomeGenie.Club and GitHub. I don’t use OW but there’s nothing more annoying than looking at a program that doesn’t work.

soxfan1966


petera

Quote from: soxfan1966 on May 31, 2020, 06:14:16 PM
Yup, I did.  Thanks

Not a bad turnaround with a solution. I imagine you’d have been waiting a while otherwise  rofl

SMF spam blocked by CleanTalk