cherrypick
cherrypick copied to clipboard
Relay stopped working; `ReferenceError: targetUri is not defined` error with AP Announce activity into inbox
π‘ Summary
AP Inbox λ‘ λ€μ΄μ€λ Announce
activityκ° ReferenceError: targetUri is not defined
μ€λ₯μ ν¨κ» μ²λ¦¬λμ§ μλ λ¬Έμ κ° λ°μνκ³ μμ΅λλ€.
릴λ μ΄κ° κ²μλ¬Όμ μ νμ announce μ‘ν°λΉν°λ₯Ό μ¬μ©νλ λ§νΌ, 릴λ μ΄λ‘λΆν° μ€λ μ°ν©μ λ°μ§ λͺ»νκ³ inbox νκ° μμ΄κ³ μμ΅λλ€.
π₯° Expected Behavior
Announce
activity is accepted without problem
π€¬ Actual Behavior
ReferenceError: targetUri is not defined
at ApInboxService.announceNote (file:///cherrypick/packages/backend/built/core/activitypub/ApInboxService.js:308:74)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ApInboxService.announce (file:///cherrypick/packages/backend/built/core/activitypub/ApInboxService.js:292:36)
at async ApInboxService.performOneActivity (file:///cherrypick/packages/backend/built/core/activitypub/ApInboxService.js:176:20)
at async ApInboxService.performActivity (file:///cherrypick/packages/backend/built/core/activitypub/ApInboxService.js:143:22)
at async InboxProcessorService.process (file:///cherrypick/packages/backend/built/queue/processors/InboxProcessorService.js:187:28)
at async Worker.processJob (/cherrypick/node_modules/.pnpm/[email protected]/node_modules/bullmq/dist/cjs/classes/worker.js:441:28)
at async Worker.retryIfFailed (/cherrypick/node_modules/.pnpm/[email protected]/node_modules/bullmq/dist/cjs/classes/worker.js:630:24)
π Steps to Reproduce
- Join some relay and write a post in another server with same relay
π» Frontend Environment
* Server URL:
* k.lapy.link (4.9.0)
* m.keepy.moe (4.9.0)
* mi.rerac.dev (4.10.0-beta.1)
π° Backend Environment (for server admin)
<!--
* Installation Method or Hosting Service: docker compose
* CherryPick: 4.9.0
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture: Oracle Linux wakaran
-->
Do you want to address this bug yourself?
- [ ] Yes, I will patch the bug myself and send a pull request