Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Destination error for Extensions #262

Open
coop opened this issue Jan 1, 2025 · 0 comments
Open

Invalid Destination error for Extensions #262

coop opened this issue Jan 1, 2025 · 0 comments

Comments

@coop
Copy link

coop commented Jan 1, 2025

I upgraded nerves_hub_link and started seeing the following:

22:40:39.364 [error] GenServer NervesHubLink.Extensions terminating
** (ArgumentError) errors were found at the given arguments:

  * 1st argument: invalid destination

    :erlang.send(NervesHubLink.Extensions.Health, {:__extension_event__, "check", %{}})
    (nerves_hub_link 2.6.0) lib/nerves_hub_link/extensions/extensions.ex:189: NervesHubLink.Extensions.handle_cast/2
    (stdlib 5.1.1) gen_server.erl:1103: :gen_server.try_handle_cast/3
    (stdlib 5.1.1) gen_server.erl:1165: :gen_server.handle_msg/6
    (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_cast", {:handle_event, "health:check", %{}}}

22:40:39.374 [warn] Event dropped due to being a duplicate of a previously-captured event.

22:40:39.369 [error] Process NervesHubLink.Extensions (#PID<0.2999.0>) terminating
** (ArgumentError) errors were found at the given arguments:

  * 1st argument: invalid destination

    :erlang.send(NervesHubLink.Extensions.Health, {:__extension_event__, "check", %{}})
    (nerves_hub_link 2.6.0) lib/nerves_hub_link/extensions/extensions.ex:189: NervesHubLink.Extensions.handle_cast/2
    (stdlib 5.1.1) gen_server.erl:1103: :gen_server.try_handle_cast/3
    (stdlib 5.1.1) gen_server.erl:1165: :gen_server.handle_msg/6
    (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Initial Call: NervesHubLink.Extensions.init/1
Ancestors: [NervesHubLink.Supervisor, #PID<0.2994.0>]

22:40:39.375 [error] Child NervesHubLink.Extensions of Supervisor NervesHubLink.Supervisor terminated
** (exit) an exception was raised:
    ** (ArgumentError) errors were found at the given arguments:

  * 1st argument: invalid destination

        :erlang.send(NervesHubLink.Extensions.Health, {:__extension_event__, "check", %{}})
        (nerves_hub_link 2.6.0) lib/nerves_hub_link/extensions/extensions.ex:189: NervesHubLink.Extensions.handle_cast/2
        (stdlib 5.1.1) gen_server.erl:1103: :gen_server.try_handle_cast/3
        (stdlib 5.1.1) gen_server.erl:1165: :gen_server.handle_msg/6
        (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Pid: #PID<0.2999.0>
Start Call: NervesHubLink.Extensions.start_link([])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant