Skip to content

Pending: turn server don't exist. failed to process callback function ejabberd_stun:udp_init

18.0.-2 ubuntu development version and today he find it comment. He call me and comment:

18:26:24.795 [info] Start accepting UDP connections at 0.0.0.0:8443 for ejabberd_stun

18:26:24.809 [critical] failed to start application 'stun': {error, {"no such file or directory","stun.app"}} 18:26:24.809 [error] failed to process callback function ejabberd_stun:udp_init(#Port<0.10150>, [inet,{auth_type,user},{dhfile,<<"/etc/ejabberd/dh2048.pem">>},{turn_max_port,40000},{turn_min_port,30000},{turn_max_allocations,10},{turn_ip,{5,23,56,333}},{use_turn,true},{certfile,<<"/etc/ejabberd/ejabberd.pem">>},{tls,true},{ip,{0,0,0,0}}]): {'EXIT',{application_start_failed,[{ejabberd,exit_or_halt,2,[{file,"src/ejabberd.erl"},{line,137}]},{ejabberd_stun,udp_init,2,[{file,"src/ejabberd_stun.erl"},{line,60}]},{ejabberd_listener,init_udp,6,[{file,"src/ejabberd_listener.erl"},{line,120}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}}

You have to install erland-p1-stun

apt-get install erlang-p1-stun

https://packages.ubuntu.com/artful/erlang-p1-stun