thegreenwebfoundation / greencheck-api

The green web foundation API
https://www.thegreenwebfoundation.org/
Apache License 2.0
9 stars 3 forks source link

The greencheck API seems to respond randomly with BrinkmanIT for any domain #77

Closed KuSh closed 1 month ago

KuSh commented 1 month ago

See for example a request I did on your API doc :

date: Tue,22 Oct 2024 14:22:55 GMT

{
  "url": "scalingo.io",
  "hosted_by": "BrinkmanIT",
  "hosted_by_website": "https://www.brinkhost.nl/",
  "partner": null,
  "green": true,
  "hosted_by_id": 1251,
  "modified": "2024-10-22T14:22:50",
  "supporting_documents": []
}

image

And another I did directly in my brother at the same time :

date: Tue, 22 Oct 2024 14:22:49 GMT

{"green":false,"url":"scalingo.io","data":false}

image image

I have the same response for many other urls :

It seems to be linked with their hosting solution (Platform.sh or Scalingo) as I also get that result when I call greencheck directly on scalingo.io or platform.sh :

{
  "url": "scalingo.io",
  "hosted_by": "BrinkmanIT",
  "hosted_by_website": "https://www.brinkhost.nl/",
  "partner": null,
  "green": true,
  "hosted_by_id": 1251,
  "modified": "2024-10-22T14:22:50",
  "supporting_documents": []
}
{
  "url": "Platform.sh",
  "hosted_by": "BrinkmanIT",
  "hosted_by_website": "https://www.brinkhost.nl/",
  "partner": null,
  "green": true,
  "hosted_by_id": 1251,
  "modified": "2024-10-16T18:45:52",
  "supporting_documents": []
}

Looking at BrinkmanIT website I don't find any evidence of a link between them and platform.sh or Scalingo. No evidence neither when searching on internet.

Could that be a bug in some of greencheck api backends ?

fershad commented 1 month ago

Thanks @KuSh. ​There is an abnormally large IP range in attached the Brinkman IT listing that I have could be causing this. I have deactivated that range while I follow up with them.

mrchrisadams commented 1 month ago

I think we've resolved this now, and made changes in the admin to catch this in future. There may be a piece of work to add this to the form wizard when we revisit that work later in Q1 2025