oban-bg/oban

Config for Oban.Met? Not seen this before from AppSignal

Closed this issue · 5 comments

Exception: RuntimeError - Untriaged

Occurred in Oban.Web.DashboardLive#mount on resi_switch (prod) in live_view
on April 03, 2024 at 21:11 (UTC)

MESSAGE

** (RuntimeError) no config registered for [Oban, Oban.Met] instance

SUMMARY

File: | lib/oban/web/dashboard_live.ex:171 in Oban.Web.DashboardLive.await_init/3 -- | -- d89169dae4d4d8  

I must have missed these two plugins when I first set Oban Web up https://getoban.pro/docs/web/2.9.6/installation.html#configuration

Actually, I was reading old docs. My config is correct as per:

https://getoban.pro/docs/web/2.10.3/installation.html#configuration

Will see if this was a one-off and keep this closed until then.

There have been intermittent reports of this issue, which seems to be a race condition in Oban Met's auto-start mechanism. It's possible to add Oban.Met as an Oban plugin and disable auto_start to work around it (which is documented in the next Met release):

config :oban_met, auto_start: false