OTP 25, elixir 1.14, macos montery - discover() gives {:error, :enobufs}
- Dominant language
- Erlang
- Stars
- 65
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
with the above configuration discover does not work for me.
```
Erlang/OTP 25 [erts-13.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Interactive Elixir (1.14.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> :nat.discover()
** (EXIT from #PID<0.409.0>) shell process exited with reason: an exception was raised:
** (MatchError) no match of right hand side value: {:error, :enobufs}
(nat 0.4.0) /Users/anko/code/elixir/upnp_test/deps/nat/src/natupnp_v2.erl:57: :natupnp_v2.discover1/3
(nat 0.4.0) /Users/anko/code/elixir/upnp_test/deps/nat/src/natupnp_v2.erl:47: :natupnp_v2.discover/0
(nat 0.4.0) /Users/anko/code/elixir/upnp_test/deps/nat/src/nat.erl:145: :nat.discover_worker/3
```
any ideas would be appreciated
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce :nat.discover() with Erlang/OTP 25, Elixir 1.14, and macOS Monterey. Start at natupnp_v2.erl lines 47 and 57, then inspect nat.erl line 145; done means discover no longer exits with {:error, :enobufs} under the reported configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, erlang, macos
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100