Continuing the discussion from Https://docs.discourse.org/ spinning:
I do not see anything captured in /logs or the Chrome console.
If there is a way I can provide more info to help debug this issue, please let me know.
k4rtik reported that a specific topic on their self-hosted Discourse instance spins indefinitely after upgrading to v77, despite working fine on v76. The issue appears isolated to one topic with many wiki edits, and no errors appear in logs or the Chrome console. jomaxro confirmed other topics load normally. k4rtik verified the topic loads in safe mode, ruling out theme components like DiscoTOC, but noted high CPU usage and lingering service workers. Testing revealed the issue persists even with unofficial plugins disabled, suggesting an official plugin may be responsible. jomaxro advised systematically disabling plugins via app.yml and rebuilding to isolate the culprit, noting potential downtime. Ultimately, k4rtik resolved the issue by upgrading Chrome to v77.0.3865.90, suspecting it was a browser bug in earlier v77 releases — a known issue also affecting WordPress crbug.com/1003556.
Continuing the discussion from Https://docs.discourse.org/ spinning:
I do not see anything captured in /logs or the Chrome console.
If there is a way I can provide more info to help debug this issue, please let me know.
Thanks for splitting this off. I take it other topics load without issue, and it’s just that spins, correct?
Out of the dozen or so topics I have tried opening since I first noticed the issue yesterday, this is the only one I am aware of that spins.
Does the topic load in safe mode? Using Safe Mode to troubleshoot issues with themes and plugins
Yes, thanks for introducing me to the safe-mode. It works in safe mode.
I suspected that the theme component DiscoTOC that I use on that topic might be the cause, but disabling that didn’t help. Only other useful piece of info is that the tab starts using 100% CPU so Chrome offers to kill it after a while (if I kill it can leave behind a service worker still consuming CPU, that needs to be manually killed too).
EDIT: I tried playing with options available in safe mode and it looks like one of the official plugins might be causing this. As I can reproduce with disabling unofficial plugins and theme options. But cannot reproduce (ie, loads correctly) after disabling all plugins.
Here’s the list of plugins I have:
Very strange, we run all the official plugins you have on various sites we host, and haven’t heard other reports. The next step would be to disable all plugins (comment them out in your app.yml) and rebuild your site. Confirm you can load the topic. Then, add back in one plugin and rebuild. Test again. Repeat this until the topic breaks. That should tell us which plugin is the suspect here.
Note that rebuilding your site will result in short downtime, so you may wish to do this outside of your forums busy time, and/or post a note on the site warning your users.
I just upgraded to Chrome 77.0.3865.90 from whatever minor version of v77 I was on when I upgraded from v76 and the problem seems to have gone away. It was probably a browser bug in the initial v77 release (it also broke WordPress).