# ActivityPub Plugin

**URL:** https://meta.discourse.org/t/activitypub-plugin/266794
**Category:** Plugin
**Tags:** experimental, activitypub
**Created:** [May 31, 2023, 5:21pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794 "2023-05-31T17:21:52Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [June 1, 2023, 1:52pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/3 "2023-06-01T13:52:02Z")

</div>

I’m happy to say that the [SocialHub](https://socialhub.activitypub.rocks/t/welcome-discourse-to-the-fediverse/3274) is already running it:

… tap, tap, tap…

It should have appeared on the Fediverse by now… Looking at the logs…

Oh, there are issues with the **first try at following an actor** :

- `Job exception: undefined method `model’ for #\<DiscourseActivityPubActivity id: 2, ap\_id: “[https://ps.s10y.eu/820e6bf2-ec02-49f8-ab5e-e3cefbb](https://ps.s10y.eu/820e6bf2-ec02-49f8-ab5e-e3cefbb)…”, ap\_key: nil, ap\_type: “Follow”, local: nil, actor\_id: 4, object\_id: “2”, object\_type: “DiscourseActivityPubActor”, summary: nil, published\_at: nil, created\_at: “2023-06-01 13:30:16.131136000 +0000”, updated\_at: “2023-06-01 13:30:16.131136000 +0000”\>`
- `Job exception: undefined method `model’ for #\<DiscourseActivityPubActivity id: 8, ap\_id: “[https://mastodon.social/ce62fd77-fe03-4060-a951-79](https://mastodon.social/ce62fd77-fe03-4060-a951-79)…”, ap\_key: nil, ap\_type: “Follow”, local: nil, actor\_id: 8, object\_id: “2”, object\_type: “DiscourseActivityPubActor”, summary: nil, published\_at: nil, created\_at: “2023-06-01 13:39:14.512966000 +0000”, updated\_at: “2023-06-01 13:39:14.512966000 +0000”\>`
- `Job exception: undefined method `model’ for #\<DiscourseActivityPubActivity id: 6, ap\_id: “[https://social.coop/4236c87a-0d22-402d-8546-e37a21](https://social.coop/4236c87a-0d22-402d-8546-e37a21)…”, ap\_key: nil, ap\_type: “Follow”, local: nil, actor\_id: 6, object\_id: “2”, object\_type: “DiscourseActivityPubActor”, summary: nil, published\_at: nil, created\_at: “2023-06-01 13:38:54.493118000 +0000”, updated\_at: “2023-06-01 13:38:54.493118000 +0000”\>`

> **Here is the backtrace for the last one**
>
> ```plaintext
> ctivemodel-7.0.4.3/lib/active_model/attribute_methods.rb:458:in `method_missing'
> 
> /var/www/discourse/plugins/discourse-activity-pub/app/models/discourse_activity_pub_activity.rb:79:in `after_deliver'
> 
> /var/www/discourse/plugins/discourse-activity-pub/app/jobs/discourse_activity_pub_deliver.rb:42:in `perform_request'
> 
> /var/www/discourse/plugins/discourse-activity-pub/app/jobs/discourse_activity_pub_deliver.rb:13:in `execute'
> 
> /var/www/discourse/app/jobs/base.rb:249:in `block (2 levels) in perform'
> 
> rails_multisite-5.0.0/lib/rails_multisite/connection_management.rb:82:in `with_connection'
> /var/www/discourse/app/jobs/base.rb:236:in `block in perform'
> 
> /var/www/discourse/app/jobs/base.rb:232:in `each'
> 
> /var/www/discourse/app/jobs/base.rb:232:in `perform'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:202:in `execute_job'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:170:in `block (2 levels) in process'
> 
> sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:177:in `block in invoke'
> 
> /var/www/discourse/lib/sidekiq/pausable.rb:134:in `call'
> 
> sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:179:in `block in invoke'
> 
> sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:182:in `invoke'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:169:in `block in process'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq/job_retry.rb:113:in `local'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq.rb:44:in `block in <module:Sidekiq>'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:263:in `stats'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq/job_logger.rb:13:in `call'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq/job_retry.rb:80:in `global'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:124:in `block in dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq/job_logger.rb:39:in `prepare'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:123:in `dispatch'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:168:in `process'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:78:in `process_one'
> 
> sidekiq-6.5.9/lib/sidekiq/processor.rb:68:in `run'
> 
> sidekiq-6.5.9/lib/sidekiq/component.rb:8:in `watchdog'
> 
> sidekiq-6.5.9/lib/sidekiq/component.rb:17:in `block in safe_thread'
> 
> ```

The Note does not seem to appear in my feed 😢

(feel free to move this message to a more appropriate place)

---

_[View the full topic](https://meta.discourse.org/t/activitypub-plugin/266794)._
