pmusaraj
(Penar Musaraj)
25 Febbraio 2025, 4:20pm
1
Getting this error in logs recently (past 4-5 days):
Message (18 copies reported)
Job exception: stack level too deep
Backtrace
activesupport-7.2.2.1/lib/active_support/core_ext/object/blank.rb:166:in `present?'
/var/www/discourse/plugins/discourse-activity-pub/lib/discourse_activity_pub/json_ld.rb:57:in `base_object_id'
/var/www/discourse/plugins/discourse-activity-pub/lib/discourse_activity_pub/json_ld.rb:58:in `base_object_id'
/var/www/discourse/plugins/discourse-activity-pub/lib/discourse_activity_pub/json_ld.rb:58:in `base_object_id'
/var/www/discourse/plugins/discourse-activity-pub/lib/discourse_activity_pub/json_ld.rb:58:in `base_object_id'
Env doesnât have much info around the object:
|queue|default|
|---|---|
|class|Jobs::DiscourseActivityPubProcess|
|args|[object Object], []|
1 Mi Piace
Jagster
(Jakke Lehtonen)
25 Febbraio 2025, 4:31pm
2
I have 970 incidents of that under some timeperiod. Everyday few, anyway. I canât see any real visible issues, though.
(And now Iâve started get some strange deadlock things, but that would be worth of own topic)
1 Mi Piace
Jagster
(Jakke Lehtonen)
14 Marzo 2025, 5:01pm
3
I still get this, but I canât tell how do I get it.
I know this much. Or little.
One log incident repeats this line really many times. I donât know how many, because scrolling started hurt my wrist.
/var/www/discourse/plugins/discourse-activity-pub/lib/discourse_activity_pub/json_ld.rb:58:in `base_object_id'
I donât like that tick becore base_object_id
It show a link icon and it is leading to GitHub 404.
https://github.com/discourse/discourse/blob/3165992a90c481e5aa6fb1b18854cf7d9c3ed791/plugins/discourse-activity-pub/lib/discourse_activity_pub/json_ld.rb#L58
That doesnât mean anything, right? In that branch isnât acitivity-pub directory, but why it shows that? Iâm just curious.
angus
(Angus McLeod)
24 Marzo 2025, 8:59am
4
I missed this somehow! Apologies, this should address it.
main
â angusmcleod:base_object_id_updates
opened 09:01AM - 24 Mar 25 UTC
@pmusaraj This should address this issue
https://meta.discourse.org/t/activit⊠ypub-plugin-stack-level-too-deep/354445
1 Mi Piace
zogstrip
(Régis Hanol)
24 Marzo 2025, 10:41am
5
Thanks @angus Itâs been merged.
2 Mi Piace
Jagster
(Jakke Lehtonen)
24 Marzo 2025, 11:39am
6
Thanks.
Very 101-question, because Iâm curious. I couldnât see anything suspicious anywhere, and all it did was just annoying error in logs. Did that error something⊠real?
angus
(Angus McLeod)
24 Marzo 2025, 5:25pm
7
It was used in code that protected against duplicate activities being sent in quick succession, which some other platforms do from time to time. So if you didnât notice anything, youâre not federating with a server that does that.
2 Mi Piace