Mastodon: "Fatal chain event" on post
Author: pbekCreated Oct 11, 2021Updated Apr 12, 2024
Hi @muesli, I got this in my beehive Docker container (latest). I don't know if this helps... My Mastodon bee usually works, it just stopped working, so I restarted the container after getting below message (I don't know yet if it works again).
INFO[428040] [social.qownnotes.org]: Attempting to post "New release of QOwnNotes: v21.10.4 https://www.qownnotes.org/changelog.html#_21-10-4" to Mastodon
INFO[428040] Fatal chain event: runtime error: invalid memory address or nil pointer dereference goroutine 67436 [running]:
runtime/debug.Stack(0xc0005bef28, 0xf3fb40, 0x1b4aae0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9f
github.com/muesli/beehive/bees.handleEvents.func1.1()
/go/beehive/bees/events.go:65 +0x5b
panic(0xf3fb40, 0x1b4aae0)
/usr/local/go/src/runtime/panic.go:965 +0x1b9
github.com/mattn/go-mastodon.(*Client).doAPI(0x0, 0x1255308, 0xc000036080, 0x10c6c34, 0x4, 0x10db804, 0x10, 0xff2da0, 0xc0005bf5d0, 0xea3760, ...)
/go/pkg/mod/github.com/mattn/[email protected]/mastodon.go:38 +0x86
github.com/mattn/go-mastodon.(*Client).PostStatus(0x0, 0x1255308, 0xc000036080, 0xc0005bf9c8, 0x1, 0x1, 0xc0004a00c0)
/go/pkg/mod/github.com/mattn/[email protected]/status.go:243 +0x34e
github.com/muesli/beehive/bees/mastodonbee.(*MastodonBee).Action(0xc00048aa50, 0x0, 0x0, 0xc000034b88, 0x14, 0xc0004c40f8, 0x4, 0xc000132a50, 0x1, 0x1, ...)
/go/beehive/bees/mastodonbee/mastodonbee.go:61 +0x293
github.com/muesli/beehive/bees.execAction(0xc00003b770, 0x24, 0xc000034b88, 0x14, 0xc0004c40f8, 0x4, 0xc000189800, 0x1, 0x4, 0xc000132660, ...)
/go/beehive/bees/actions.go:109 +0x7f9
github.com/muesli/beehive/bees.execChains(0xc0002a5e80)
/go/beehive/bees/chains.go:120 +0x465
github.com/muesli/beehive/bees.handleEvents.func1(0xc0002a5e80)
/go/beehive/bees/events.go:69 +0x4d
created by github.com/muesli/beehive/bees.handleEvents
/go/beehive/bees/events.go:62 +0x1f6 Source: muesli/beehive