ejabberd - Comments for "Install JWChat with ejabberd&amp;#039;s HTTP-Bind and file server" https://www.ejabberd.im/jwchat-localserver en Need Help installing JWChat https://www.ejabberd.im/jwchat-localserver#comment-67418 <p>I am not able to make it work. Its continuously giving the error:<br /> Received an HTTP request with Host &lt;&lt;"10.18.246.229"&gt;&gt;, but couldn't find the related ejabberd virtual host.</p> <p>Can you help me understand what i am doing wrong?</p> <p>Please refer the below link for detailed description:<br /> <noindex><a href="https://github.com/processone/ejabberd/issues/1679" title="https://github.com/processone/ejabberd/issues/1679" rel="nofollow" >https://github.com/processone/ejabberd/issues/1679</a></noindex></p> <p>Thanks!</p> Wed, 19 Apr 2017 09:35:50 +0000 sinsharat comment 67418 at https://www.ejabberd.im pls can you help me i'm https://www.ejabberd.im/jwchat-localserver#comment-67093 <p>pls can you help me i'm trying to implement http-binding with jwchat and ejabber but i couldn't some help?</p> Mon, 10 Oct 2016 11:28:50 +0000 omardavinchi comment 67093 at https://www.ejabberd.im JWChat installation in Windows https://www.ejabberd.im/jwchat-localserver#comment-57999 <p>For those who may not be familiar with scriptin in Windows, the command to rename JWChat's English files would be thus:</p> <p><code>for %a in (*.en) do ren &quot;%a&quot; &quot;%~na&quot;</code></p> Sun, 06 Nov 2011 23:59:52 +0000 JKing comment 57999 at https://www.ejabberd.im This method works both with IE and Firefox now. https://www.ejabberd.im/jwchat-localserver#comment-54221 <p>I used the latest Jwchat by cvs and the latest jsjac by svn and the instruction here to set up ejabberd 2.0.3 in Freebsd 7.2 prerelease. It works both with firefox and IE. The polling works only with IE. Someone said IE breaks with httpbinding. It is not true for me.<br /> The good news is that, now I get firefox3 on freebsd to chat. with polling, it never happened. </p> <p>This is a better way to set up ejabberd. We do not won't fool around with Apache and Tomcat any more.</p> <p>When you want to try this, please do not forget read the README.CVS file.<br /> By the way, you have to install a lot perl files<br /> You can do it this way:</p> <p>perl -MCPAN -e shell<br /> ....<br /> cpan&gt; install HTML::Template<br /> cpan&gt; install Locale::Maketext<br /> cpan&gt; install Locale::Maketext::Lexicon<br /> ...<br /> when you make install, what ever is missing, you install it.</p> <p>The make install is using bash. They assume it is in /bin/<br /> If you are using csh,<br /> you have to whereis bash<br /> My bash is in /usr/local/bin/<br /> So you have to change the cplibs.sh file.<br /> If you do not have bash, you have to make one before make install.</p> Fri, 08 May 2009 03:41:08 +0000 breakevilaxis comment 54221 at https://www.ejabberd.im I got the same problem as you. https://www.ejabberd.im/jwchat-localserver#comment-54159 <p>The light bulb won't turn on. Cannot chat.<br /> Have you fix it?<br /> I cannot find any thing in the log.</p> Sat, 11 Apr 2009 21:58:58 +0000 breakevilaxis comment 54159 at https://www.ejabberd.im Thank-you https://www.ejabberd.im/jwchat-localserver#comment-54085 <p>I finally got the ejabberd + jwchat working.</p> <p>After I just wrote a lengthy piece asking for help (which was this that I will now turn to this thank-you as it's not necessary any more).</p> <p>Should have just followed the instructions to the letter.</p> Thu, 19 Mar 2009 23:42:32 +0000 blizu comment 54085 at https://www.ejabberd.im Full installation example https://www.ejabberd.im/jwchat-localserver#comment-53470 <p>I first installed ejabberd-2.0.1_4-windows-installer.exe then followed the instructions in this comment to get a working mod_http_fileserver.beam<br /> <noindex><a href="https://support.process-one.net/browse/EJAB-640?focusedCommentId=21403#action_21403" title="https://support.process-one.net/browse/EJAB-640?focusedCommentId=21403#action_21403" rel="nofollow" >https://support.process-one.net/browse/EJAB-640?focusedCommentId=21403#a...</a></noindex></p> <p>Then I configured in ejabberd.cfg</p> <pre> {listen, [ ... {5280, ejabberd_http, [ {request_handlers, [{["web"], mod_http_fileserver}]}, http_bind, http_poll, web_admin ]} ]}. ... {modules, [ {mod_http_fileserver, [ {docroot, "C:\\ejabberd-2.0.1\\logs"}, {accesslog, "C:\\ejabberd-2.0.1\\logs\\webaccess.log"} ]}, ... ]}. </pre><p> When I request the file <noindex><a href="http://localhost:5280/web/ejabberd.log" title="http://localhost:5280/web/ejabberd.log" rel="nofollow" >http://localhost:5280/web/ejabberd.log</a></noindex> in the web browser I get it correctly.</p> <p>Nothing is logged in ejabberd.log or sasl.log. I only get that message in webaccess.log:</p> <pre>127.0.0.1 - - [1/8/2008:23:18:24] "GET /web/ejabberd.log?nokey=" 200 -1 "-" "-"</pre> Fri, 01 Aug 2008 21:26:25 +0000 mfoss comment 53470 at https://www.ejabberd.im same problem https://www.ejabberd.im/jwchat-localserver#comment-53462 <p>Same story here.. I went ahead and tried to make a blank page in my web directory and I can see the requests in the logs -- they just aren't being served.<br /> if I look at my /var/lib/ejabberd/ejabberd.log I can see this:</p> <p>I(&lt;0.1728.0&gt;:ejabberd_http:178): (#Port&lt;0.1382&gt;) http query: 'GET' /web/jwchat/index.html</p> <p>I don't have an accesslog in /var/log/ejabberd/webaccess.log to look at as mentioned in the config file.</p> <p>My perms look like:<br /> /var/lib/ejabberd<br /> drwxr-xr-x 3 ejabberd ejabberd 4096 2008-07-29 11:01 www<br /> /varlib/ejabberd/www<br /> -rwxr-xr-x 1 ejabberd ejabberd 5 2008-07-29 10:08 index.html<br /> drwxr-sr-x 4 ejabberd ejabberd 36864 2008-07-29 10:49 jwchat</p> <p>I also had started up a simple webserver on port 5280 and that was able to pull pages remotely so it's not an issue of ports.</p> <p>so I guess my problem is something to do with the http_fileserver and/or the config.<br /> My config files look thus:</p> <p> {mod_http_fileserver, [<br /> {docroot, "/var/lib/ejabberd/www/"},<br /> {accesslog, "/var/log/ejabberd/webaccess.log"}<br /> ]},<br /> {mod_offline, []},</p> <p>and..</p> <p>% HTTP service (You may choose options HTTP-polling and Web-administering)<br /> % When commenting out, be careful with commas<br /> {5280, ejabberd_http, [<br /> {request_handlers, [<br /> {["web"], mod_http_fileserver}<br /> ]},<br /> http_bind,<br /> http_poll,<br /> web_admin]}<br /> ]}.</p> <p>telnet 127.0.0.1 5280<br /> Trying 127.0.0.1...<br /> Connected to 127.0.0.1.<br /> Escape character is '^]'.<br /> GET /web/jwchat/index.html HTTP/1.0</p> <p>HTTP/1.0 404 Not Found<br /> Connection: close<br /> Content-Type: text/html; charset=utf-8<br /> Content-Length: 330</p> <p>&lt;?xml version='1.0'?&gt;</p> <h1>Not found</h1> <p>Connection closed by foreign host.</p> <p>am I missing something here?</p> Wed, 30 Jul 2008 14:40:16 +0000 feydrautha comment 53462 at https://www.ejabberd.im Document Root Format https://www.ejabberd.im/jwchat-localserver#comment-53448 <p>Hello, I've installed ejabberd and am trying to configure JWChat with HTTP-Binding, on a Windows machine.</p> <p>On startup, the logs are spitting out one error:</p> <p>=ERROR REPORT==== 2008-07-14 17:54:53 ===<br /> E(&lt;0.36.0&gt;:gen_mod:66) : {unaccessible_document_root,mod_http_fileserver}</p> <p>Here is the corresponding config file notes:</p> <p>{mod_http_fileserver, [<br /> {docroot, "F:\\Program Files\\ejabberd-2.0.1\\www"}<br /> {accesslog, "F:\\Program Files\\ejabberd-2.0.1\\webaccess.log"}<br /> ]}</p> <p>Is there something I'm missing with the Windows formatting for ejabberd? Any help is appreciated.</p> Wed, 23 Jul 2008 03:41:58 +0000 mlywang comment 53448 at https://www.ejabberd.im blank page https://www.ejabberd.im/jwchat-localserver#comment-53314 <p>Hi,</p> <p>I followed this tutorial but I'm getting a blank page when I point to <noindex><a href="http://jabber.example.org:5280/web/jwchat/index.html" title="http://jabber.example.org:5280/web/jwchat/index.html" rel="nofollow" >http://jabber.example.org:5280/web/jwchat/index.html</a></noindex></p> <p>Ejabberd is running and I can access admin page.<br /> I didn't change anything in my httpd.conf, I only did what are in this tutorial page.</p> <p>I don't know why is showing a blank page and firebug is empty too...</p> <p>Any help?</p> Wed, 18 Jun 2008 16:22:37 +0000 pingu22 comment 53314 at https://www.ejabberd.im Would it work though? https://www.ejabberd.im/jwchat-localserver#comment-52060 <p>Posting from web client -&gt; ejabberd works (in my solution with rewrite rules) but the response ejabberd -&gt; web client doesn't work at all, I get nothing back.</p> <p>I think you have to set up a proxy for it to work. Does anyone know how to do this on windows/IIS ? </p> <p>[edit]<br /> My wrong.. I had this problem with IIS but only because I set up the rule as forwarding and not as proxying. It should work swell.</p> Mon, 31 Mar 2008 08:04:57 +0000 noise comment 52060 at https://www.ejabberd.im Jabber on remote server https://www.ejabberd.im/jwchat-localserver#comment-52030 <p>I have Jabber on a different server from where jwchat is installed. I am in the process of trying to figure out how to integrate jwchat inside our portal. So, I have jwchat installed where are portal resides. Does anyone know if this is going to be a problem? Is there any additional steps that I will need to take to point to my remote jabber server?</p> <p>Thanks</p> Wed, 19 Mar 2008 21:46:18 +0000 Anonymous comment 52030 at https://www.ejabberd.im Session not opening for browser on remote machine https://www.ejabberd.im/jwchat-localserver#comment-52008 <p>I have installed ejabberd and jwchat as described above, modified appropriately for windows. Ejabberd seems to be running fine, and i can login using jwchat from a browser running locally. However when i try to login using jwchat from a browser on a different machine, then a session is not opened. I get the login page, and the chat pop-up, and looking in the logs i can see that my username, password is authenticated. But for some reason no session is actually opened. </p> <p>I see this in the logs:</p> <p>=INFO REPORT==== 2008-03-18 10:14:22 ===<br /> I(&lt;0.368.0&gt;:ejabberd_c2s:676) : ({socket_state,ejabberd_http_bind,{http_bind,&lt;0.366.0&gt;},&lt;0.367.0&gt;}) Accepted authentication for testuser</p> <p>but not this:</p> <p>=INFO REPORT==== 2008-03-18 10:13:38 ===<br /> I(&lt;0.362.0&gt;:ejabberd_c2s:787) : ({socket_state,ejabberd_http_bind,{http_bind,&lt;0.360.0&gt;},&lt;0.361.0&gt;}) Opened session for testuser@jabber.blot.net/jwchat</p> <p>which i get whan i successfully login from local browser.</p> <p>Any ideas?</p> <p>Thanks D.</p> Tue, 18 Mar 2008 10:37:35 +0000 dannyh comment 52008 at https://www.ejabberd.im Couldn't you just setup a https://www.ejabberd.im/jwchat-localserver#comment-51974 <p>Couldn't you just setup a redirect with your apache server?</p> <p>ie:</p> <p><noindex><a href="http://www.yourcompany.com/jwchat" title="www.yourcompany.com/jwchat" rel="nofollow" >www.yourcompany.com/jwchat</a></noindex> (port:80) -&gt; chat.yourcompanyname.com:5280/etc/ ?</p> <p>this way it's an easy URL for your users, but still redirects to the special port..</p> Tue, 11 Mar 2008 08:39:43 +0000 Anonymous comment 51974 at https://www.ejabberd.im Service unavailable https://www.ejabberd.im/jwchat-localserver#comment-51812 <p>I did the same way as shown above in the tutorial. But when I tried to login/register it showed service unavailable. Please reply me what must be the problem.</p> <p>Pratik</p> Sat, 16 Feb 2008 13:14:36 +0000 Pratik comment 51812 at https://www.ejabberd.im