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>&gt; ./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 +0000 badlop comment 67349 at https://www.ejabberd.im I 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 &lt;&lt;....etc &gt;&gt;</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 +0000 Patrick Houtman comment 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 +0000 Hiren makwana comment 66481 at https://www.ejabberd.im Try 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 +0000 Nikhil comment 66480 at https://www.ejabberd.im Facing 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,&lt;&lt;"1112121212"&gt;&gt;,<br /> &lt;&lt;"xyz.com.com"&gt;&gt;,&lt;&lt;"26112267011450933160669531"&gt;&gt;,<br /> &lt;&lt;"11121212"&gt;&gt;,&lt;&lt;"xyz.com"&gt;&gt;,<br /> &lt;&lt;"26112267011450933160669531"&gt;&gt;},{jid,&lt;&lt;"12121212"&gt;&gt;,<br /> &lt;&lt;"xyz.com"&gt;&gt;,&lt;&lt;"10640377501450932768366216"&gt;&gt;,<br /> &lt;&lt;"918787878787"&gt;&gt;,&lt;&lt;"xyz.com"&gt;&gt;,<br /> &lt;&lt;"10640377501450932768366216"&gt;&gt;},{xmlel,&lt;&lt;"message"&gt;&gt;,[{&lt;&lt;"from"&gt;&gt;,&lt;&lt;"121212121@xyz.com"&gt;&gt;},{&lt;&lt;"to"&gt;&gt;,&lt;&lt;"11111111@xyz.com/10640377501450932768366216"&gt;&gt;},<br /> {&lt;&lt;"id"&gt;&gt;,&lt;&lt;"AqLgKTeu"&gt;&gt;}],[{xmlel,&lt;&lt;"x"&gt;&gt;,[{&lt;&lt;"xmlns"&gt;&gt;,&lt;&lt;"jabber:x:event"&gt;&gt;}],[{xmlel,&lt;&lt;"delivevered"&gt;&gt;,[],[]},{xmlel,&lt;&lt;"id"&gt;&gt;,[],[{xmlcdata,&lt;&lt;"EYx1Bhh0"&gt;&gt;}]}]}]}]}</p> <p>[error] &lt;0.3631.0&gt;@ejabberd_hooks:run1:332 {function_clause,[{lists,thing_to_list,[&lt;&lt;&gt;&gt;],[{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] &lt;0.3703.0&gt;@ejabberd_config:validate_opts:794 unknown option 'loopback' will be likely ignored<br /> [error] &lt;0.3703.0&gt;@ejabberd_config:validate_opts:794 unknown option 'local' will be likely ignored</p> Thu, 24 Dec 2015 11:33:40 +0000 NectarBits comment 66472 at https://www.ejabberd.im Your 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 +0000 mremond comment 66060 at https://www.ejabberd.im i 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> &lt;0.38.0&gt;@gen_mod:start_module:107 Problem starting the module mod_http_offline for host &lt;&lt;"52.27.78.125"&gt;&gt;<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] &lt;0.38.0&gt;@gen_mod:start_module:112 ejabberd initialization was aborted because a module start failed.</p> Thu, 03 Sep 2015 16:38:43 +0000 Nikhil comment 66059 at https://www.ejabberd.im Which 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 +0000 mremond comment 65998 at https://www.ejabberd.im any news here? https://www.ejabberd.im/node/16672#comment-65990 <p>any news here?</p> Mon, 03 Aug 2015 13:49:21 +0000 nunobhorta comment 65990 at https://www.ejabberd.im Have 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 +0000 ankitsheth111 comment 65951 at https://www.ejabberd.im