Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharedInboxが無いActorに紐づくリモートユーザーを照会できない #13735

Open
1 task
sevenc-nanashi opened this issue Apr 19, 2024 · 1 comment · May be fixed by #14080
Open
1 task

sharedInboxが無いActorに紐づくリモートユーザーを照会できない #13735

sevenc-nanashi opened this issue Apr 19, 2024 · 1 comment · May be fixed by #14080
Labels
🧩API Interface between server and client 🐛Bug Unexpected behavior packages/backend Server side specific issue/PR

Comments

@sevenc-nanashi
Copy link

💡 Summary

タイトル通りです。

Actorの例
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1"
  ],
  "id": "https://kw.sevenc7c.eu.org/ap/kiiteitte",
  "url": "https://kw.sevenc7c.eu.org",
  "name": "Kiiteitte",
  "type": "Service",
  "tag": [],
  "discoverable": true,
  "preferredUsername": "kiiteitte",
  "summary": "<p><a href=\"https://cafe.kiite.jp\" target=\"_blank\">Kiite Cafe</a> の曲を通知するBot。<br><br>開発:<a href=\"https://voskey.icalo.net/@sevenc_nanashi\" target=\"_blank\">@[email protected]</a></p>",
  "_misskey_summary": "[Kiite Cafe] の曲を通知するBot。\n\n開発:@[email protected]",
  "inbox": "https://kw.sevenc7c.eu.org/ap/inbox",
  "outbox": "https://kw.sevenc7c.eu.org/ap/outbox",
  "followers": "https://kw.sevenc7c.eu.org/ap/followers",
  "following": "https://kw.sevenc7c.eu.org/ap/following",
  "featured": "https://kw.sevenc7c.eu.org/ap/featured",
  "icon": {
    "type": "Image",
    "mediaType": "image/png",
    "url": "https://kw.sevenc7c.eu.org/static/icon.png"
  },
  "image": {
    "type": "Image",
    "mediaType": "image/png",
    "url": "https://kw.sevenc7c.eu.org/static/bg.png"
  },
  "publicKey": {
    "id": "https://kw.sevenc7c.eu.org/ap/kiiteitte#main-key",
    "owner": "https://kw.sevenc7c.eu.org/ap/kiiteitte",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqUpDLi7g84IcPPT3JFWx\n7XJcn4G5VRMiE2j0/IrNEQjfRDuFKFBIEb04Be+8eAh+5doCi9n43k/Aday2oF1h\nXugkxlhwHkDSTOw1uvTuGe41OF3WMsZ+k3FzMGOQZdALmBDp97C108DQkNQPd1o6\nuNErrnuJ0pyEM246a8ObwHN24x7FOSn8fKxeFDMIDPGHkMO9OzuojcdhjZH+d2E9\n/NL1triHGqy4ebMPchjPC9MMJgvxnc6UC6h5FoNJbluYJvcdSN5xsct/uj7IQOZx\nhO14KttqCKPFGEZ8s4079gon7pqbvi91WP2gph0BzD290Gp9fMOVGse6B47oyzML\nQwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "startTime": "2024-04-19T09:33:02.213Z",
  "manuallyApprovesFollowers": false,
  "attachment": [
    {
      "type": "PropertyValue",
      "name": "ソースコード",
      "url": "https://github.com/sevenc-nanashi/kiiteitte-web"
    }
  ]
}

🥰 Expected Behavior

更新できる

🤬 Actual Behavior

更新できない:

Endpoint: federation/update-remote-user
Info: {"e":{"message":"Cannot perform update query because update values are not defined. Call \"qb.set(...)\" method to specify updated values.","code":"UpdateValuesMissingError","id":"256edfa5-5e4d-4802-94af-008ba78623a0"}}
Date: 2024-04-19T11:46:33.033Z

📝 Steps to Reproduce

  1. ActivityPub互換のサーバーを作る(Webfingerとユーザーのエンドポイントが必要)
  2. 照会する

💻 Frontend Environment

* Model and OS of the device(s): Windows 10
* Browser: Chrome Canary
* Server URL: (Local hosted)
* Misskey: cd7f7271ca5595cae95f6fb0280fac9dee77d751

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: Docker Compose
* Misskey: cd7f7271ca5595cae95f6fb0280fac9dee77d751
* Node: v20.12.2
* PostgreSQL: PostgreSQL 15.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 64-bit
* Redis: Redis version=7.0.8, bits=64, commit=00000000, modified=0, pid=1, just started
* OS and Architecture: Windows, Docker Desktop

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@sevenc-nanashi sevenc-nanashi added the ⚠️bug? This might be a bug label Apr 19, 2024
@nennneko5787
Copy link

こちらでも再現できました。
該当ユーザー: @[email protected]

Endpoint: federation/update-remote-user
Info: {"e":{"message":"Cannot perform update query because update values are not defined. Call \"qb.set(...)\" method to specify updated values.","code":"UpdateValuesMissingError","id":"5ba22fe8-c88d-4ad3-96b0-53c7c1370ee6"}}
Date: 2024-05-05T08:31:48.931Z

@KisaragiEffective KisaragiEffective added 🐛Bug Unexpected behavior 🧩API Interface between server and client packages/backend Server side specific issue/PR and removed ⚠️bug? This might be a bug labels Jun 23, 2024
@KisaragiEffective KisaragiEffective changed the title sharedInboxが無いActorをfederation/update-remote-userできない sharedInboxが無いActorに紐づくリモートユーザーを照会できない Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧩API Interface between server and client 🐛Bug Unexpected behavior packages/backend Server side specific issue/PR
Projects
Status: Triage
Development

Successfully merging a pull request may close this issue.

3 participants