souramoo / commentoplusplus

Commento with out of the box patches and updates to add useful features and fixes. Also with one-click deploy to Heroku so you can get up and running fast.
MIT License
391 stars 63 forks source link

remove version check #90

Closed Wonderfall closed 2 years ago

Wonderfall commented 2 years ago

Since a few days, logs are polluted with these errors:

2022/04/03 23:26:54 [ERROR] version.go:36 func1(): error checking version: Post "https://version.commento.io/api/check": x509: certificate has expired or is not yet valid: current time 2022-04-03T23:26:54Z is after 2022-04-02T07:21:07Z

Yup, the certificate for version.commento.io just expired. This also affects installs of the original Commento, and in the case of a fork like Commento++, I guess the code for version checking doesn't make much sense in the first place.

For now we can remove all the code for version checking, that will get rid of the errors, and a better version of it could be reimplemented in the future if deemed necessary.