# Clicks don't work after rebake amazon onebox topic

**URL:** https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557
**Category:** Bug
**Created:** [1월 29, 2017, 9:07오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557 "2017-01-29T21:07:42Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![alonle](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@alonle](https://meta.discourse.org/u/alonle)
#### Post date: [1월 29, 2017, 9:07오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/1 "2017-01-29T21:07:42Z")

</div>

[https://www.amazon.com/Bluetooth-Headphones-HONGGE-Waterproof-Microphone/dp/B01MSZXZRF?SubscriptionId=AKIAIMGI5SMP5YH5DADA&tag=movmix-20&linkCode=sp1&camp=2025&creative=165953&creativeASIN=B01MSZXZRF](https://www.amazon.com/Bluetooth-Headphones-HONGGE-Waterproof-Microphone/dp/B01MSZXZRF?SubscriptionId=AKIAIMGI5SMP5YH5DADA&tag=movmix-20&linkCode=sp1&camp=2025&creative=165953&creativeASIN=B01MSZXZRF)

---

<div class="post-metadata">

### Author: ![alonle](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@alonle](https://meta.discourse.org/u/alonle)
#### Post date: [1월 29, 2017, 9:10오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/2 "2017-01-29T21:10:46Z")

</div>

1. Please “rebuild html” (rebake) the topic/first post with the onebox
2. Click on the link
3. In my installation you will stop at clicks/track?url= page and not redirect to amazon

Thanks  
Alon

---

<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: [1월 29, 2017, 10:46오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/3 "2017-01-29T22:46:25Z")

</div>

Reload the page in your web browser. This is likely an issue local to your browser after issuing rebuild HTML.

---

<div class="post-metadata">

### Author: ![alonle](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@alonle](https://meta.discourse.org/u/alonle)
#### Post date: [1월 29, 2017, 10:52오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/4 "2017-01-29T22:52:43Z")

</div>

Thanks, But it didn’t work on my server  
Did you rebuild html here the first post on this topic?  
Is it working here?

---

<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: [1월 29, 2017, 11:21오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/5 "2017-01-29T23:21:03Z")

</div>

Do you mean the Robot Check issue? We are getting this more and more @tgxworld we may need to vary our referrer and other request params here.

---

<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: [1월 29, 2017, 11:23오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/6 "2017-01-29T23:23:39Z")

</div>

Ok I rebaked the first post without getting a robot check after multiple attempts. Do clicks on it work for you?

---

<div class="post-metadata">

### Author: ![alonle](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@alonle](https://meta.discourse.org/u/alonle)
#### Post date: [1월 29, 2017, 11:25오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/7 "2017-01-29T23:25:34Z")

</div>

No, it is not working, I’m stuck at  
“[https://meta.discourse.org/clicks/track?url=](https://meta.discourse.org/clicks/track?url=)…”  
Is it working for you?

---

<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: [1월 29, 2017, 11:26오후 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/8 "2017-01-29T23:26:22Z")

</div>

May be a valid bug then. @techAPJ can you check into this?

---

<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: [1월 30, 2017, 1:45오전 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/9 "2017-01-30T01:45:34Z")

</div>

I can confirm it’s not working for me.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [1월 30, 2017, 9:47오전 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/10 "2017-01-30T09:47:06Z")

</div>

Yes, it’s a valid bug and a very confusing one to debug.. I have a PR ready, ~~running specs locally~~.

[https://github.com/discourse/discourse/pull/4679](https://github.com/discourse/discourse/pull/4679)

---

<div class="post-metadata">

### Author: ![alonle](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@alonle](https://meta.discourse.org/u/alonle)
#### Post date: [1월 30, 2017, 10:16오전 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/11 "2017-01-30T10:16:13Z")

</div>

I will be very happy if you will fix the “Robot Check” issue too 😀

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [1월 31, 2017, 4:13오전 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/12 "2017-01-31T04:13:30Z")

</div>

I can not repro “Robot Check” issue when rebaking posts with Amazon onebox locally. In my experience it happens when posts with Amazon link in it are batch rebaked without any delay.

Closing this topic for now as the original issue is fixed. Feel free to flag this topic if you are still facing this issue.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [1월 31, 2017, 4:13오전 UTC](https://meta.discourse.org/t/clicks-dont-work-after-rebake-amazon-onebox-topic/56557/13 "2017-01-31T04:13:34Z")

</div>


