GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

たかし (tak4@social.076.moe)'s status on Saturday, 19-Aug-2023 00:17:04 JST

  1. Embed this notice
    たかし (tak4@social.076.moe)'s status on Saturday, 19-Aug-2023 00:17:04 JST たかし たかし
    GNU social -> GNU social で返信などを「された」時に投稿が増える現象を修正できた。

    [原因?]
    ・GNU socialの投稿のuriは「ローカル向け」「AP向け」の2つの體系を持ち、兩者を適切に區別できてゐない。
    ※この呼び方は正式な物では無い。

    ・投稿時、
      自サーバーのDBには、「ローカル向け」のuriで保存される。
      他サーバーのDBには、「AP向け」のuriで保存される。
    ・返信時、「する側」は、「AP向け」のuriに向けて返信をする。
    ・その時點では返信を「される側」のDBには、「ローカル向け」のuriしか無い。
    ・ここで返信を「される側」は、「AP向け」のuriを持つ投稿を「新しく作成」してしまふ。

    ↓増殖したDBのイメージ
    https://social.076.moe/notice/788640

    [對策]
    ・「uriを元にローカルのDBから投稿を探す」處理を修正。

    ・リモートから返信「された」時、「AP向け」のuriの投稿を探し、存在しなかつた場合に、次の處理を追加。
    『「AP向け」のuriを元に「ローカル向け」uriの投稿を探す。』
    →これで「ローカル向け」投稿がみつかれば、それが返信と結び附く。

    [今後]
    ・返信を「する側」にも対策を入れられないか調べる。
    ・GNU social以外のサーバーとの通信に惡影響がないか調べる。 https://social.076.moe/url/645864
    In conversation Saturday, 19-Aug-2023 00:17:04 JST from social.076.moe permalink

    Attachments


    1. https://social.076.moe/attachment/26e3e12fcf3e9e709f0e0c1a9ab5726a988047e2ca1afb0f2e25916deb140050/view
    2. Domain not in remote thumbnail source whitelist: social.076.moe
      たかし (tak4@social.076.moe)'s status on Friday, 18-Aug-2023 21:24:36 JST - 076萌SNS
      GNU social 増殖した投稿を観察。34が元で、35が増殖。uri列・url列が怪しく見える。 https://social.076.moe/url/645050

Feeds

  • Activity Streams
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.