# Amazon onebox fails on my site, but works here

**URL:** https://meta.discourse.org/t/amazon-onebox-fails-on-my-site-but-works-here/41609
**Category:** Bug
**Created:** [27 maart 2016 om 02:25 UTC](https://meta.discourse.org/t/amazon-onebox-fails-on-my-site-but-works-here/41609 "2016-03-27T02:25:35Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [27 maart 2016 om 19:44 UTC](https://meta.discourse.org/t/amazon-onebox-fails-on-my-site-but-works-here/41609/9 "2016-03-27T19:44:59Z")

</div>

Just tried a couple things:

1. From the DO box itself I can curl this URL fine:  
`http://www.amazon.com/The-Advantage-Organizational-Everything-Business/dp/1491510803`

2. If I curl from within the docker container, though, I get a 503:

```plaintext
* Connection #0 to host www.google.com left intact
root@host:/# curl http://www.amazon.com/The-Advantage-Organizational-Everything-Business/dp/1491510803 -v -o deleteme
* Hostname was NOT found in DNS cache
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 54.239.17.6...
* Connected to www.amazon.com (54.239.17.6) port 80 (#0)
> GET /The-Advantage-Organizational-Everything-Business/dp/1491510803 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: www.amazon.com
> Accept: */*
>
< HTTP/1.1 503 Service Unavailable
< Date: Sun, 27 Mar 2016 19:41:45 GMT
* Server Server is not blacklisted
< Server: Server
< Vary: Cookie,Accept-Encoding,User-Agent
< Last-Modified: Thu, 05 Nov 2015 22:42:39 GMT
< ETag: "562-523d2d81655c0"
< Accept-Ranges: bytes
< Content-Length: 1378
< Cneonction: close
< Content-Type: text/html

```

response body contains this at the top:

```plaintext
<!--
        To discuss automated access to Amazon data please contact api-services-support@amazon.com.
        For information about migrating to our APIs refer to our Marketplace APIs at https://developer.amazonservices.com/ref=rm_5_sv, or our Product Advertising API at https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html/ref=rm_5_ac for advertising use cases.
-->

```

---

_[View the full topic](https://meta.discourse.org/t/amazon-onebox-fails-on-my-site-but-works-here/41609)._
