Users are experiencing an issue where clicking links in the Community Forum redirects to a click tracking page with an ERR_FAILED error, instead of opening the intended link. The problem started suddenly and persists even after upgrading to Discourse 1.9.0.beta4. While the issue is resolved in incognito mode and after clearing site data, it reappears in normal browsing sessions. The root cause is identified as service workers interfering with the subfolder setup, particularly on non-HTTPS domains. Disabling service workers and enabling HTTPS via Let’s Encrypt resolves the issue nilan, schickling, sam, tgxworld. Users also note that HTTPS links work while HTTP links fail, reinforcing the need for secure connections.
Interesting. It also works for me in an incognito tab, both as a anonymous user and signed in. It still doesn’t work in a normal tab, even with AdBlocker turned off.
I will do so. Unfortunately, after two days of using the forum in Chrome, the problem reappeared. I’ll try using Safari instead and will report back once I know more.
Is there any update on this? This problem is occurring in Google Chrome which 90% of our community uses. We’ve already rebuilt the forum a couple of times. We’re running on v1.9.0.beta4 +196.
This is still an issue, with more and more people reporting it every day. So I decided to disable click tracking for now, but I can’t seem to find the option in the settings:
Service workers won’t do so hot with a subfolder setup. While service workers do have some path scope segmentation, it doesn’t work very well - you should just split the forums out into their own subdomain if you want to use service workers.
We are unsure about how to “disable service workers”. Should that be done on the server side? or on any client machine? Could anyone give us some more information about that?
Thank s lot in advance!
We have checks in place to not register the service worker if the site is non https. However, that is just to avoid doing extra work since the browser would disallow service worker registration if the site is non HTTPS.