ejabberd - Comments for "mod_http_offline not working"
https://www.ejabberd.im/node/16672
en> ./ejabberdctl
https://www.ejabberd.im/node/16672#comment-67349
<p>> ./ejabberdctl module_install mod_http_offline</p>
<p>It seems that downloads the module, but does not compile it, it probably is a bug in ejabberd.</p>
<p>Solution: you can compile the module following the manual method described in that module README, then copy the resulting beam file with your other ejabberd beam files, enable the module in the configuration, and finally restart ejabberd.</p>
Thu, 02 Mar 2017 18:23:12 +0000badlopcomment 67349 at https://www.ejabberd.imI use ejabberd 17, and
https://www.ejabberd.im/node/16672#comment-67343
<p>I use ejabberd 17, and installed the module with<br />
./ejabberdctl module_install mod_http_offline</p>
<p>When I add module to the yml file " mod_http_offline: {} "<br />
I get the same error </p>
<p>Problem starting the mofule mod_http_offline for host <<....etc >></p>
<p>Do I still need to compile this module somehow in order to get it to work?</p>
<p>I hope anyone can help me ..</p>
Tue, 28 Feb 2017 11:11:02 +0000Patrick Houtmancomment 67343 at https://www.ejabberd.im@Nikhil can you please give
https://www.ejabberd.im/node/16672#comment-66481
<p>@Nikhil can you please give some more detail as i am stuck with same bit</p>
Tue, 29 Dec 2015 04:41:24 +0000Hiren makwanacomment 66481 at https://www.ejabberd.imTry mod_post_log just need
https://www.ejabberd.im/node/16672#comment-66480
<p>Try mod_post_log just need to modify a bit and it also post messages , you just need to change the user_send hook to offline_message hook.</p>
Mon, 28 Dec 2015 11:42:25 +0000Nikhilcomment 66480 at https://www.ejabberd.imFacing same issue please give
https://www.ejabberd.im/node/16672#comment-66472
<p>Facing same issue please give us some more details we really stuck here ...</p>
<p>i am working on offline notification. i have tried this code <noindex><a href="http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/" title="http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/" rel="nofollow" >http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/</a></noindex></p>
<p>i am using mod_http_offline module. when user send offline message i got below error in ejabberd 15.11 </p>
<p>running hook: {offline_message_hook,[{jid,<<"1112121212">>,<br />
<<"xyz.com.com">>,<<"26112267011450933160669531">>,<br />
<<"11121212">>,<<"xyz.com">>,<br />
<<"26112267011450933160669531">>},{jid,<<"12121212">>,<br />
<<"xyz.com">>,<<"10640377501450932768366216">>,<br />
<<"918787878787">>,<<"xyz.com">>,<br />
<<"10640377501450932768366216">>},{xmlel,<<"message">>,[{<<"from">>,<<"121212121@xyz.com">>},{<<"to">>,<<"11111111@xyz.com/10640377501450932768366216">>},<br />
{<<"id">>,<<"AqLgKTeu">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:event">>}],[{xmlel,<<"delivevered">>,[],[]},{xmlel,<<"id">>,[],[{xmlcdata,<<"EYx1Bhh0">>}]}]}]}]}</p>
<p>[error] <0.3631.0>@ejabberd_hooks:run1:332 {function_clause,[{lists,thing_to_list,[<<>>],[{file,"lists.erl"},{line,601}]}<br />
{lists,flatmap,2,[{file,"lists.erl"},{line,1248}]},{lists,flatmap,2,[{file,"lists.erl"},{line,1248}]},{mod_http_offline,post_offline_message,3,[{file,"mod_http_offline.erl"},<br />
{line,38}]},{ejabberd_hooks,safe_apply,3,[{file,"src/ejabberd_hooks.erl"},{line,382}]},<br />
{ejabberd_hooks,run1,3,[{file,"src/ejabberd_hooks.erl"},{line,329}]},<br />
{ejabberd_sm,route,3,[{file,"src/ejabberd_sm.erl"},{line,111}]},<br />
{ejabberd_local,route,3,[{file,"src/ejabberd_local.erl"},{line,112}]}]}</p>
<p>[error] <0.3703.0>@ejabberd_config:validate_opts:794 unknown option 'loopback' will be likely ignored<br />
[error] <0.3703.0>@ejabberd_config:validate_opts:794 unknown option 'local' will be likely ignored</p>
Thu, 24 Dec 2015 11:33:40 +0000NectarBitscomment 66472 at https://www.ejabberd.imYour module need to be
https://www.ejabberd.im/node/16672#comment-66060
<p>Your module need to be compiled from ejabberd src directory with ejabberd build chain to be able to have the proper define for logging.</p>
Sat, 05 Sep 2015 08:22:08 +0000mremondcomment 66060 at https://www.ejabberd.imi am using ejabbred 15.07 and
https://www.ejabberd.im/node/16672#comment-66059
<p>i am using ejabbred 15.07 and to send push i am trying to use your mod_http_offline module . which i have compiled successfully , but module is failed to start. this is the error log which i am getting :</p>
<p> <0.38.0>@gen_mod:start_module:107 Problem starting the module mod_http_offline for host <<"52.27.78.125">><br />
options: []<br />
error: undef<br />
[{p1_logger,info_msg,[mod_http_offline,14,"mod_http_offline loading",[]],[]},<br />
{mod_http_offline,start,2,[{file,"mod_http_offline.erl"},{line,14}]},<br />
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,99}]},<br />
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},<br />
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,72}]},<br />
{application_master,start_it_old,4,<br />
[{file,"application_master.erl"},{line,272}]}]<br />
2015-09-03 16:13:39.761 [critical] <0.38.0>@gen_mod:start_module:112 ejabberd initialization was aborted because a module start failed.</p>
Thu, 03 Sep 2015 16:38:43 +0000Nikhilcomment 66059 at https://www.ejabberd.imWhich version of this module
https://www.ejabberd.im/node/16672#comment-65998
<p>Which version of this module are you using ? Where does it come from ? And which version of ejabberd are you using ?</p>
<p>If this is this one: <noindex><a href="https://github.com/raelmax/mod_http_offline" title="https://github.com/raelmax/mod_http_offline" rel="nofollow" >https://github.com/raelmax/mod_http_offline</a></noindex> it says it is for ejabberd 14.12.</p>
Wed, 05 Aug 2015 08:00:41 +0000mremondcomment 65998 at https://www.ejabberd.imany news here?
https://www.ejabberd.im/node/16672#comment-65990
<p>any news here?</p>
Mon, 03 Aug 2015 13:49:21 +0000nunobhortacomment 65990 at https://www.ejabberd.imHave that error solved, i
https://www.ejabberd.im/node/16672#comment-65951
<p>Have that error solved, i have got the same error, kindly suggest.</p>
Wed, 22 Jul 2015 08:32:02 +0000ankitsheth111comment 65951 at https://www.ejabberd.im