# Clicking links is stuck in click tracking, shows ERR\_FAILED

**URL:** https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638
**Category:** Support
**Tags:** subfolder
**Created:** [22 ביולי,‏ 2017,‏ 4:27pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638 "2017-07-22T16:27:07Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![nilan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nilan/32/119976_2.png) [@nilan](https://meta.discourse.org/u/nilan)
#### Post date: [22 ביולי,‏ 2017,‏ 4:27pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/1 "2017-07-22T16:27:07Z")

</div>

In our [Community Forum](https://www.graph.cool/forum/), clicking any link in a post will lead to a site that looks somewhat like this:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/b/5bd46923515617bbb7e2c4208bfc0ebcb8768380.png)

A bit more context:

- This started to happen out of the blue sometime today with no configuration change whatsover.
- We’ve been on **1.9.0.beta2** for quite a long time and this problem prompted us to upgrade to **1.9.0.beta4**. The problem still persists.
- CMD+Click works as expected, the site is correctly loaded.
- This does not happen to links to the forum itself.

Example: Go to [this post](https://www.graph.cool/forum/t/how-do-i-add-an-array-of-objects-to-a-mutation-in-apollo-react/365) and click the link to StackOverflow in the OP.

Any ideas what we can do to fix this?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [22 ביולי,‏ 2017,‏ 4:35pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/2 "2017-07-22T16:35:52Z")

</div>

It does work for me

[![CloudApp](https://global.discourse-cdn.com/meta/original/4X/e/5/8/e58b929db573b9223245785241e6ee827ad5c82d.gif "click-link") ](https://cl.ly/Z4ue2RA6)

Did I miss something in the procedure?

---

<div class="post-metadata">

### Author: ![nilan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nilan/32/119976_2.png) [@nilan](https://meta.discourse.org/u/nilan)
#### Post date: [22 ביולי,‏ 2017,‏ 4:42pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/3 "2017-07-22T16:42:15Z")

</div>

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.

Might this be a cache thing? Browser extension?

---

<div class="post-metadata">

### Author: ![nilan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nilan/32/119976_2.png) [@nilan](https://meta.discourse.org/u/nilan)
#### Post date: [22 ביולי,‏ 2017,‏ 4:51pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/4 "2017-07-22T16:51:12Z")

</div>

I boiled it down to the following:

Visiting the URL [https://www.graph.cool/forum/clicks/track?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F45253671%2Fadd-an-array-of-objects-to-a-mutation-in-apollo-react&post\_id=758&topic\_id=365](https://www.graph.cool/forum/clicks/track?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F45253671%2Fadd-an-array-of-objects-to-a-mutation-in-apollo-react&post_id=758&topic_id=365) in a normal tab doesn’t work for me.

Visiting it in an incognito tab works.

---

<div class="post-metadata">

### Author: ![nilan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nilan/32/119976_2.png) [@nilan](https://meta.discourse.org/u/nilan)
#### Post date: [22 ביולי,‏ 2017,‏ 5:04pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/5 "2017-07-22T17:04:46Z")

</div>

It works for me again, after using the “Clear site data” in the Chrome DevTools:

 ![](https://global.discourse-cdn.com/meta/original/3X/e/c/ecb420217f60541d8621e71c890fd260e6975297.png)

As this problem has been reported by many other users of the forum, I wonder what the root cause of the issue is.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [22 ביולי,‏ 2017,‏ 7:28pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/6 "2017-07-22T19:28:49Z")

</div>

Try in a different web browser, one you do not normally use. This rules out a number of things.

---

<div class="post-metadata">

### Author: ![nilan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nilan/32/119976_2.png) [@nilan](https://meta.discourse.org/u/nilan)
#### Post date: [24 ביולי,‏ 2017,‏ 3:14pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/7 "2017-07-24T15:14:21Z")

</div>

> [@codinghorror](#):
>
> Try in a different web browser, one you do not normally use. This rules out a number of things.

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.

---

<div class="post-metadata">

### Author: ![schickling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schickling/32/76001_2.png) [@schickling](https://meta.discourse.org/u/schickling)
#### Post date: [28 ביולי,‏ 2017,‏ 9:41am UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/8 "2017-07-28T09:41:30Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![nilan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nilan/32/119976_2.png) [@nilan](https://meta.discourse.org/u/nilan)
#### Post date: [15 באוגוסט,‏ 2017,‏ 6:58pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/9 "2017-08-15T18:58:05Z")

</div>

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:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/1/315a35d7b573ad8680e604509e6c3de32f1e67bd.png)

I already removed the code from `ga universal tracking code`, but clicking on a link still forwards to `/clicks/track?url=<url>`.

How can I disabled click tracking entirely?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [15 באוגוסט,‏ 2017,‏ 8:29pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/10 "2017-08-15T20:29:24Z")

</div>

I wonder if this is some how related to your proxy and subfolder setup

---

<div class="post-metadata">

### Author: ![schickling](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schickling/32/76001_2.png) [@schickling](https://meta.discourse.org/u/schickling)
#### Post date: [16 באוגוסט,‏ 2017,‏ 9:11am UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/11 "2017-08-16T09:11:19Z")

</div>

Thanks a lot for the hint, @sam!

I wasn’t related to the proxy setup but to the fact that we’re using service workers on the root domain. We’ve disabled service workers for now.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [25 באוגוסט,‏ 2017,‏ 1:01am UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/12 "2017-08-25T01:01:26Z")

</div>

> [@schickling](#):
>
> service workers

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.

---

<div class="post-metadata">

### Author: ![annesodub](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@annesodub](https://meta.discourse.org/u/annesodub)
#### Post date: [30 במרץ,‏ 2018,‏ 10:13am UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/13 "2018-03-30T10:13:58Z")

</div>

Thanks @schickling, could you please give us more information about how you solved this issue?

We are facing the same error message on any link of our forum (we are new in forum admin). In addition, we found out that https links work whereas http won’t (for instance the latest link of the latest post of this topic : [http://clubstat.lpl-aix.fr/t/complements-suite-a-la-formation-modeles-mixtes-anastats/105](http://clubstat.lpl-aix.fr/t/complements-suite-a-la-formation-modeles-mixtes-anastats/105)).

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!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2 באפריל,‏ 2018,‏ 11:43pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/14 "2018-04-02T23:43:05Z")

</div>

Well step 0 here is enabling HTTPS, it is free and easy to enable `https://clubstat.lpl-aix.fr` should work.

@tgxworld can you think of any internal bug where we ship service worker to non https domains?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2 באפריל,‏ 2018,‏ 11:56pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/15 "2018-04-02T23:56:41Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![annesodub](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@annesodub](https://meta.discourse.org/u/annesodub)
#### Post date: [3 באפריל,‏ 2018,‏ 10:46am UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/16 "2018-04-03T10:46:26Z")

</div>

Thank you so much.  
We followed the instructions from @tgxworld : [Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709)  
in order to enable https and it does now work just fine!!  
Cheers!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [6 באפריל,‏ 2018,‏ 10:10pm UTC](https://meta.discourse.org/t/clicking-links-is-stuck-in-click-tracking-shows-err-failed/66638/17 "2018-04-06T22:10:30Z")

</div>

This topic was automatically closed after 45 hours. New replies are no longer allowed.
