Repository navigation
Conversation
…ias tag
Since OTP 24, gen:call/3 tags requests with [alias | Ref] instead of a
plain reference, so handle_net_kernel_msg failed to decode the tag and never
replied. net_adm:ping/1 (and Elixir's Node.ping/1) toward FreeSWITCH then
blocked forever. Decode both tag shapes and echo the tag unchanged in the
{Tag, yes} reply.
paridin
force-pushed
the
mod_erlang_event-alias-is-auth
branch
from
October 21, 2026 15:17
1edef9c to
12b379a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since OTP 24,
gen:call/3tags requests with[alias | Ref]instead of a plain reference:{'$gen_call', {Pid, [alias | Ref]}, {is_auth, Node}}handle_net_kernel_msgonly decoded a plain reference, so it dropped the request and never replied.net_adm:ping/1(and Elixir'sNode.ping/1) toward the FreeSWITCH node then blocked forever, even though the connection and cookie were fine.This change decodes both tag shapes and echoes the tag unchanged in the
{Tag, yes}reply, which is whatgenexpects.Tested on v1.11.3 (the module is unchanged on master) built against OTP 28.3.1:
net_adm:ping('freeswitch@10.77.0.20')from an OTP 28 node hangs.pongfrom anerl -nameprobe on the same host, andNode.ping/1returns:pongfrom an Elixir 1.19.5 / OTP 28 node on another host.erlangdialplan app andsendmsgstill work: a call handed to the remote node was answered and echoed.