Closed dshkol closed 2 years ago
That's a CensusMapper problem. Fixed now. The certificates get renewed automatically, but the web server does not get reloaded automatically. And sometimes I forget to do that manually. I really need to set this up to be fully automated.
should we still do something on the package side for it "fail gracefully" as requested?
Maybe at some point? Not sure what “gracefully” means here, it should throw an error and stop execution when it can’t get the data. I think I just need to make sure the certificate on the server is fully automated.
Seems errors are still there on the check page.
https://cran.r-project.org/web/checks/check_results_cancensus.html
I'm not sure if the tests have been re-run since your fix or not.
Pretty sure it just hasn't been re-run.
One way to fix this long term is to also exclude that vignette from compilation. Also, we could add a nightly GitHub action to run checks, that way we get notified early if there are any issues coming up.
The error checks have come up clean now as predicted. I don't think this needs any changes, but let's get an update up to CRAN before the 31st with other changes.
This is coming up again. I don't want to be at the mercy of BDR and Statscan's servers periodically. Let's consider either prebuilding the data discovery vignette or removing it from compilation (leaving it on the site).
https://cran.r-project.org/web/checks/check_results_cancensus.html https://mountainmath.github.io/cancensus/articles/data_discovery.html
I say we remove it from compilation.
Also, this is a CensusMapper problem, not statcan. My nginx setup is slightly messed up, the systemctrl start/stop commands don't work. so the web server does not get automatically restarted after certificate renewal, which happens every 3 months or so. If I forget to restart it manually it will give a certificate error when accessing it. Sometimes I forget and someone pings me about it and I restart the web server manually. I should fix this anyway, but let's also remove the vignette from compilation.
Seems once again CRAN maintainers are unhappy with errors due to examples failing due to SSL errors on Statistics Canada content.