What happened?
When the gateway listener uses an invalid address 0.0.0.1:6783, the API returns 500 Internal Server Error, and a crasher appears in the logs.
What did you expect to happen?
Gracefully handle this type of error and return 400.
How can we reproduce it (as minimally and precisely as possible)?
2026-09-17T02:54:18.924953+00:00 [error] crasher: initial call: esockd_udp:init/1, pid: <0.27517.0>, registered_name: [], exit: {eaddrnotavail,[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,2257}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,333}]}]}, ancestors: [esockd_sup,<0.4550.0>], message_queue_len: 0, messages: [], links: [<0.4551.0>], dictionary: [{incoming_peers,0}], trap_exit: true, status: running, heap_size: 610, stack_size: 29, reductions: 1047; neighbours: 2026-09-17T02:54:18.925247+00:00 [error] msg: gateway_update_failed, pid: <0.26854.0>, reason: {eaddrnotavail,#{listener_id => 'coap:udp:sfs',listen_on => {{0,0,0,1},6783},listener_opts => {esockd,
📅 Opened Sep 17, 2026💬 0 comments