Some categories are broken: "Load cannot follow more than 20 redirections"

After we upgraded to 2.7.0beta2, navigating to some categories is broken. When we try to access a category we get the following errors in the console:

You can try for yourself using the following links:ρεμπέτικο-γλωσσάρι/77

Interestingly urls for some different categories work:

Επικαιρότητα - Ρεμπέτικο Φόρουμ
Ανακοινώσεις - Ρεμπέτικο Φόρουμ
Μουσική Θεωρία - Ρεμπέτικο Φόρουμ

Our forum is served behind cloudflare and we have setted an origin url ( for message bus.

We disabled Cloudlfare proxying, but unfortunately the problem persists. For now, Cloudflare proxying is still disabled.

Thanks a lot in advance :slight_smile: The work that you do here is wonderful.

We recently merged a change to fix case sensitive slugs in order to fix a different bug. That also had to deal with categories with duplicate slugs and it may have triggered this :thinking:.

If you open the category 77 and set the slug as nil does it fix it ?

You mean like that?

No it doesn’t work :confused:

Sorry for bumping this - but is there a possible workaround for this? Those categories are still inaccessible…

Thanks again :slight_smile:

I’d try to (temporarily) change the slug:

It might also be a plugin in use in these categories and not in the ones that are working :thinking:


The only non-standard code that runs on some of these categories is the discourse-category-sidebars theme component.

This is the plugin list:

The only non-standard plugin (except for whos-online) is the SealabsOnebox which just produces onebox previews for a website that doesn’t support oEmbed - I can’t think that it can interfere with category loading (especially specific category loading).

Thanks for the tip, I will to try update the slugs and I will update this topic with the results. :slight_smile:


Yes, that the exact thing I meant with setting the slugs to nil @chrispanag :thinking:

c = Category.find_by(id: 77)
c.update(slug: nil)

Check if the auto slug generation will fix it.