datasets / publicbodies

A database of public bodies such as government departments, ministries etc.
http://publicbodies.org
MIT License
63 stars 26 forks source link

Fix infinite redirect and get site back online #151

Closed augusto-herrmann closed 2 years ago

augusto-herrmann commented 2 years ago

Right now when accessing the site the user gets infinite redirects, which make it inaccessible.

publicbodies-org-error

We should fix the site deployment ASAP.

Judging by the headers it could be some kind of problem with CloudFlare.

augusto-herrmann commented 2 years ago

@todrobbins do you think this is a configuration problem in Heroku?

todrobbins commented 2 years ago

Could be... Do you have Heroku access now? Also, could be a DNS issue maybe?

augusto-herrmann commented 2 years ago

No, Heroku has changed its terms of use recently and I've decided to delete my account because of that.

I have already started working on converting the site to a statically generated Jekyll site (issue #154 on branch jekyll-site) so we can host it on Github Pages instead.

Once it is done we will still need to change the DNS to point it to Github Pages.

todrobbins commented 2 years ago

Sounds good! I'll take a look at the new branch. DNS changes will need to come from @okfn/devops @okfn/staff

amercader commented 2 years ago

I can't find any rule or setting in Heroku or Cloudflare that might cause the redirects. Maybe it's a SSL issue? In any case happy to change the DNS to point to Github pages when that's ready

augusto-herrmann commented 2 years ago

Hi @amercader!

With PR #158 we're ready to move on to Github Pages. I think we should change the DNS already, the site on Heroku has been offline for a few months anyway.

augusto-herrmann commented 2 years ago

In addition to the DNS change, to make Github Pages work someone would need to configure it in the "Settings" tab of this repository, which I do not have access to. Do you, @todrobbins?

amercader commented 2 years ago

@augusto-herrmann you should be an admin for this repo now I've updated the DNS to point to Github pages

augusto-herrmann commented 2 years ago

Thanks, @amercader!

I'm in a hurry right now but should work in getting the site back online as soon as I can.