# DiscourseがOpenGraphデータを取得できないのはなぜですか？

**URL:** https://meta.discourse.org/t/why-cant-discourse-retrieve-opengraph-data/398149
**Category:** Support
**Tags:** onebox
**Created:** [2026 年 3 月 11 日午前 11:14 UTC](https://meta.discourse.org/t/why-cant-discourse-retrieve-opengraph-data/398149 "2026-03-11T11:14:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [2026 年 3 月 11 日午前 11:14 UTC](https://meta.discourse.org/t/why-cant-discourse-retrieve-opengraph-data/398149/1 "2026-03-11T11:14:16Z")

</div>

Discourseサイトでトピックを作成する際に、リンクを貼り付けてもOpenGraph（OneBox）情報を取得できないことがあります。スクリーンショットにもあるように、以下のようなエラーが表示されます。

\>申し訳ありませんが、次のoEmbed / OpenGraphタグが見つからなかったため、このウェブページのプレビューを生成できませんでした：image、title

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

しかし、問題のリンクはopengraph.xyzサイトで確認できるように、これらの情報を提供しています：[https://www.opengraph.xyz/url/https%3A%2F%2Fwww.tmssoftware.com%2Fsite%2Fblog.asp%3Fpost%3D1069](https://www.opengraph.xyz/url/https%3A%2F%2Fwww.tmssoftware.com%2Fsite%2Fblog.asp%3Fpost%3D1069)

実際、ここMeta Discourseでは機能し、リンクはこちらで正しく表示されます。

> **[Offline maps in TMS FNC Maps for Delphi](https://www.tmssoftware.com/site/blog.asp?post=1069)**
>
> In cases where an internet connection is not available it can be useful to still have a mapping application at hand.This feature is available now for TTMSFNCOpenLayers in TMS FNC Maps.T...

これが起こる理由と、このURLを呼び出したときにDiscourseがサーバーから実際に何を受け取っているかを確認するためのログを見る方法はありますか？

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2026 年 3 月 11 日午後 1:08 UTC](https://meta.discourse.org/t/why-cant-discourse-retrieve-opengraph-data/398149/2 "2026-03-11T13:08:42Z")

</div>

> [@wlandgraf](#):
>
> Discourseサイトのトピックに書き込む際、いくつかのリンクを貼り付けると、DiscourseがOpenGraph（OneBox）情報を取得できません。スクリーンショットのようにエラーが発生します（スクリーンショットも参照してください）。

こんにちは。投稿された特定のリンクをテストしたところ、期待どおりにOneBox化されました。これは明らかにあなたのフォーラム固有の問題のようです。そもそもOneBoxは機能していますか？もし機能しているなら、OneBox化できるものとできないものの間に何か違いを示す手がかりはありますか？

また、Discourseインスタンスが最新であることを確認し、OneBoxの設定を確認し、こちらのトピックを確認してみてください。

> [@Configuring and troubleshooting oneboxes](https://meta.discourse.org/t/configuring-and-troubleshooting-oneboxes/239715):
>
> bookmark This guide explains how to configure and troubleshoot oneboxes in Discourse. It covers admin settings, how oneboxes work, and steps to resolve common issues. person_raising_hand Required user level: Administrator Oneboxes are rich link previews that users can create in their posts. While users can easily generate these previews, site administrators have additional controls and may need to troubleshoot when links don’t preview as expected. Admin configuration To manage onebox s…

---

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [2026 年 3 月 11 日午後 1:36 UTC](https://meta.discourse.org/t/why-cant-discourse-retrieve-opengraph-data/398149/3 "2026-03-11T13:36:51Z")

</div>

@Lilly ご返信ありがとうございます。

1. バージョンは `2026.01.0-latest` です。もちろん `2026.2.0` にアップデートすることは可能ですが、私のバージョンはそれほど古くはありません。
2. はい、他のすべてのワンボックスはフォーラムで機能しています。機能しないのはこれらだけです。
3. ワンボックスの設定については、すべてデフォルトです。「上書きされたもののみ表示」をクリックしても何も表示されません。

> [@Lilly](#):
>
> もしそうなら、機能するワンボックスと機能しないワンボックスを区別する手がかりはありますか？

それが私の質問の1つでした。Discourseがサーバーからデータをどのように受信しているかを（ログで）正確に確認する方法はありますか？これはブラウザではなくサーバー側で行われるとどこかで読みましたが、Discourseがページの情報をどのように読み取っているかを確認する方法はありますか？

---

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [2026 年 3 月 11 日午後 2:27 UTC](https://meta.discourse.org/t/why-cant-discourse-retrieve-opengraph-data/398149/4 "2026-03-11T14:27:02Z")

</div>

わかりました、問題を見つけました。Discourseサーバーに、サーバーが使用している最新の証明書チェーンがないようです。
