# Onebox 오류 코드 403

**URL:** https://meta.discourse.org/t/onebox-error-code-of-403/189000
**Category:** Support
**Created:** [5월 3, 2021, 2:00오후 UTC](https://meta.discourse.org/t/onebox-error-code-of-403/189000 "2021-05-03T14:00:25Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![SkyLin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/skylin/32/206593_2.png) [@SkyLin](https://meta.discourse.org/u/SkyLin)
#### Post date: [5월 7, 2021, 10:46오전 UTC](https://meta.discourse.org/t/onebox-error-code-of-403/189000/5 "2021-05-07T10:46:12Z")

</div>

추가 테스트를 해보았지만, 어느 것도 이 버그를 해결하지 못했습니다.

**테스트 1**. 버그가 발생하기 전의 백업\*을 복원합니다. 시스템 재부팅 후 502 오류가 발생했습니다.  
참고: 4/27에 생성한 VPS 디스크 이미지 백업이며, discourse 백업 zip 파일이 아닙니다.

새로운 백업 파일은 문제없이 복원 및 재부팅이 되지만, 오직 오래된 백업만 실패합니다. 이상합니다. 이론적으로 다른 백업과 마찬가지로 오래된 백업도 정상적으로 작동해야 합니다.

 ![502](https://global.discourse-cdn.com/meta/original/3X/3/f/3f42c39da280ce08401e03f24a80110ee9ac2ec0.jpeg)

**테스트 2**. VPS 디스크 이미지 백업을 새 VPS로 클론하고, 아래 단계를 따라 새 도메인을 설정했습니다. 새 사이트는 정상적으로 작동하지만, 이 버그는 여전히 존재합니다. 재구축(rebuild) 시 동일한 최신 discourse 이미지가 로드되기 때문일 것입니다.

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/16098):
>
> bookmark This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name. warning This guide is for self-hosted Discourse instances that were installed using our [installation guide on GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). If you are [hosted by Discourse](https://www.discourse.org/pricing), please see [Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827) for specific …

**테스트 3**. 아래 웹페이지의 단계를 따라 403 오류의 원인을 확인해 보았습니다.

> [@Amazon onebox fails on my site, but works here](https://meta.discourse.org/t/amazon-onebox-fails-on-my-site-but-works-here/41609/9):
>
> Just tried a couple things: From the DO box itself I can curl this URL fine: http://www.amazon.com/The-Advantage-Organizational-Everything-Business/dp/1491510803 If I curl from within the docker container, though, I get a 503: \* 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 …

아래 이미지는 meta(위)와 제 사이트(아래)의 onebox 차이를 보여줍니다.

 ![Clipboard01](https://global.discourse-cdn.com/meta/original/3X/f/7/f74a6dd626ee936cf0856ab136958ee6e6f1b3ab.jpeg)

udemy와 amazon을 위한 테스트 URL입니다. 하나는 403이고, 다른 하나는 503으로 보입니다.  
[https://www.udemy.com/course/power-bi-2021-proyectos-reales-para-volverte-un-master/](https://www.udemy.com/course/power-bi-2021-proyectos-reales-para-volverte-un-master/)

> **[Deep Learning with Python: Chollet, Francois: 9781617294433: Amazon.com: Books](https://www.amazon.com/Deep-Learning-Python-Francois-Chollet/dp/1617294438)**
>
> Deep Learning with Python \[Chollet, Francois\] on Amazon.com. \*FREE\* shipping on qualifying offers. Deep Learning with Python

```plaintext
< HTTP/2 403
< date: Fri, 07 May 2021 10:18:28 GMT
< content-type: text/plain; charset=UTF-8
< content-length: 16
< x-frame-options: SAMEORIGIN
< cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< expires: Thu, 01 Jan 1970 00:00:01 GMT
< set-cookie: __cfduid=dbbbf721820c12aac03e8116c362147d51620382708; expires=Sun, 06-Jun-21 10:18:28 GMT; path=/; domain=.udemy.com; HttpOnly; SameSite=Lax
< cf-request-id: 09e7ef0b3c00000b939211d000000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< set-cookie: __cf_bm=f83cbaa075085ed2ae624e9bcfa5badf394f7ddd-1620382708-1800-Af1qbDD41LzYLWJX0XR39JAeFnjBdEmvhZO/0YloMwnBR8urb60m7+bcte18X+L59RfHKhzWeGPELN02cuiV9RA=; path=/; expires=Fri, 07-May-21 10:48:28 GMT; domain=.udemy.com; HttpOnly; Secure; SameSite=None
< x-content-type-options: nosniff
< server: cloudflare
< cf-ray: 64b9b4585d9b0b93-NRT
<
{ [16 bytes data]
100 16 100 16 0 0 290 0 --:--:-- --:--:-- --:--:-- 296
* Connection #0 to host www.udemy.com left intact

```

```plaintext
< HTTP/2 503
< server: Server
< date: Fri, 07 May 2021 10:25:04 GMT
< content-type: text/html
< strict-transport-security: max-age=47474747; includeSubDomains; preload
< x-amz-rid: P43ZS4CBG7V92Z7W4VSC
< vary: Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent
< last-modified: Wed, 30 Sep 2020 23:54:00 GMT
< etag: "a6f-5b0909d09d600"
< accept-ranges: bytes
< content-length: 2671
<
{ [1139 bytes data]
100 2671 100 2671 0 0 11871 0 --:--:-- --:--:-- --:--:-- 11871
* Connection #0 to host www.amazon.com left intact

```

---

_[View the full topic](https://meta.discourse.org/t/onebox-error-code-of-403/189000)._
