# One Box 在亚马逊链接上无法工作，其他网站正常。是亚马逊屏蔽了 Digital Ocean 服务器吗？

**URL:** <https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076>\
**Category:** Support\
**Created:** [2020年一月19日 06:31 UTC](https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076 "2020-01-19T06:31:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Papa\_Sasa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/papa_sasa/32/166939_2.png) [@Papa\_Sasa](https://meta.discourse.org/u/Papa_Sasa)\
**Post date:** [2020年一月19日 06:31 UTC](https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076/1 "2020-01-19T06:31:44Z")

</div>

我刚刚在 Digital Ocean 的一个 droplet 上安装了最新版的 Discourse（版本：2.4.0.beta9）。但 Onebox 功能无法正常工作。其他网站则没有问题。是 Amazon 屏蔽了 Digital Ocean 的服务器吗？

示例：

[https://onlinefreeproduct.com/t/bedrooms-office-floor-lamps-daylight/17](https://onlinefreeproduct.com/t/bedrooms-office-floor-lamps-daylight/17)

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

这个 Amazon 链接在我的网站上无法正常工作，但在此论坛中可以正常显示。

[https://amzn.to/2QFd1kh](https://amzn.to/2QFd1kh)

---

<div class="post-metadata">

**Author:** ![Papa\_Sasa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/papa_sasa/32/166939_2.png) [@Papa\_Sasa](https://meta.discourse.org/u/Papa_Sasa)\
**Post date:** [2020年一月19日 07:05 UTC](https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076/2 "2020-01-19T07:05:11Z")

</div>

示例：亚马逊链接 ‘[Rustic Industrial Chandeliers Modern 3-Light Glass Shades Pendant Lighting Vintage Farmhouse Adjustable Ceiling Lights Hanging Lamp for Dining Rooms Bedrooms Living Room Kitchen Island Brush Nickel - Amazon.com](https://amzn.to/3a8egQG)’

> **[Rustic Industrial Chandeliers Modern 3-Light Glass Shades Pendant Lighting...](https://www.amazon.com/Industrial-Chandeliers-Lighting-Farmhouse-Adjustable/dp/B081CF27X3)**
>
> Rustic Industrial Chandeliers Modern 3-Light Glass Shades Pendant Lighting Vintage Farmhouse Adjustable Ceiling Lights Hanging Lamp for Dining Rooms Bedrooms Living Room Kitchen Island Brush Nickel - Amazon.com

在我的 Digital Ocean 服务器上出现了 503 错误：HTTP 请求已发送，正在等待响应… 503 服务不可用，请参见下方截图：

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/a/faec79782a35478445033b0cf4da9b2c09f63397.png)

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2020年一月19日 07:05 UTC](https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076/3 "2020-01-19T07:05:12Z")

</div>

如果您使用过搜索功能，就会发现将亚马逊链接嵌入为单框（onebox）是存在问题的，并可能导致封禁：

> [@Unable to onebox Amazon.co.uk (but amazon.com works)](https://meta.discourse.org/t/unable-to-onebox-amazon-co-uk-but-amazon-com-works/131728):
>
> Hi everyone, Running Discourse v2.4.0.beta6+119 We are unable to onebox links to products on amazon.co.uk eg (this works here btw): [https://www.amazon.co.uk/BG-Electrical-NBS22G-Brushed-Switched/dp/B004TRJYE8](https://www.amazon.co.uk/BG-Electrical-NBS22G-Brushed-Switched/dp/B004TRJYE8) We can onebox links on [amazon.com](http://amazon.com) (and other Amazon TLDs) with no issues. The browser console shows a 404 Not Found error: I tried [the vimeo IP blocklist test](https://meta.discourse.org/t/vimeo-embed-not-working-on-my-site-due-to-vimeo-server-ip-blacklisting/126479/19) in case Amazon have also blacklisted a bunch of Digital Ocean IP addresses, but strangely I can wget the link just…

---

<div class="post-metadata">

**Author:** ![Papa\_Sasa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/papa_sasa/32/166939_2.png) [@Papa\_Sasa](https://meta.discourse.org/u/Papa_Sasa)\
**Post date:** [2020年一月19日 08:12 UTC](https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076/4 "2020-01-19T08:12:49Z")

</div>

谢谢你，Stephen。

是的，我猜亚马逊封禁了 Digital Ocean 用于 One Box。我仍在寻找最佳解决方案。如果你知道亚马逊在 One Box 上的解决方案，请告诉我。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2022年十二月14日 15:38 UTC](https://meta.discourse.org/t/one-box-is-not-working-on-amazon-links-others-websites-are-fine-is-the-amazon-block-the-digital-ocean-server/139076/5 "2022-12-14T15:38:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
