royneary / mod_push

Other
68 stars 19 forks source link

Mod_push with latest ejabberd #23

Open hasil86 opened 7 years ago

hasil86 commented 7 years ago

is mod_push will work with https://github.com/processone/ejabberd or i have to download https://github.com/royneary/ejabberd

When i configure mod_pubsub for mod_push for internal appserver nodetree="virtual" my pubsub for avatar dosent work.it give bad auth error.

Then i try to use oshiya with mod_push to keep avatar publish working but i got error of this

2016-11-10 13:37:18 =CRASH REPORT==== crasher: initial call: gen:init_it/6 pid: <0.1085.0> registered_name: [] exception exit: {{function_clause,[{proplists,get_value,[password,<<>>,<<"f23e123f7ced9467084a8921191d4e622030eb7e">>],[{file,"proplists.erl"},{line,226}]},{ejabberd_service,'-init/1-fun-2-',2,[{file,"src/ejabberd_service.erl"},{line,136}]},{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},{ejabberd_service,init,1,[{file,"src/ejabberd_service.erl"},{line,134}]},{p1_fsm,init_it,6,[{file,"src/p1_fsm.erl"},{line,377}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},[{p1_fsm,init_it,6,[{file,"src/p1_fsm.erl"},{line,392}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]} ancestors: [ejabberd_service_sup,ejabberd_sup,<0.601.0>] messages: [] links: [<0.929.0>] dictionary: [] trap_exit: false status: running heap_size: 987 stack_size: 27 reductions: 622 neighbours: 2016-11-10 13:37:18 =SUPERVISOR REPORT==== Supervisor: {local,ejabberd_service_sup} Context: child_terminated Reason: {function_clause,[{proplists,get_value,[password,<<>>,<<"f23e123f7ced9467084a8921191d4e622030eb7e">>],[{file,"proplists.erl"},{line,226}]},{ejabberd_service,'-init/1-fun-2-',2,[{file,"src/ejabberd_service.erl"},{line,136}]},{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},{ejabberd_service,init,1,[{file,"src/ejabberd_service.erl"},{line,134}]},{p1_fsm,init_it,6,[{file,"src/p1_fsm.erl"},{line,377}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]} Offender: [{pid,<0.1085.0>},{id,undefined},{mfargs,{ejabberd_service,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]

2016-11-10 13:44:25 =CRASH REPORT==== crasher: initial call: gen:init_it/6 pid: <0.1664.0> registered_name: [] exception exit: {{function_clause,[{proplists,get_value,[password,<<>>,<<"f1946ad1de97c5ef7a767763ad782e69d227bfe8">>],[{file,"proplists.erl"},{line,226}]},{ejabberd_service,'-init/1-fun-2-',2,[{file,"src/ejabberd_service.erl"},{line,136}]},{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},{ejabberd_service,init,1,[{file,"src/ejabberd_service.erl"},{line,134}]},{p1_fsm,init_it,6,[{file,"src/p1_fsm.erl"},{line,377}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]},[{p1_fsm,init_it,6,[{file,"src/p1_fsm.erl"},{line,392}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]} 1,1 Top

mod_push and oshiya both not working for me.

plz reply me soon.

BesatZardosht commented 7 years ago

Does it work with latest ejabberd? (17.04)

weiss commented 7 years ago

Does it work with latest ejabberd? (17.04)

It doesn't, as stated in the README file:

for now an ejabberd branch with mod_push-specific modifications is needed