ejabberd - Comments for "can´t connect to ejabberd at localhost via client" https://www.ejabberd.im/node/899 en badlop,thank you! https://www.ejabberd.im/node/899#comment-2028 <p>Yes,Just it!</p> <p>I spent 2 days to resolve it.<br /> I looked for every document that maybe provides the solution.<br /> but i'm failed.:(<br /> so sad!</p> <p>badlop is great!thanks for giving the directions.</p> Fri, 21 Jul 2006 15:23:01 +0000 william comment 2028 at https://www.ejabberd.im Maybe it's the same problem https://www.ejabberd.im/node/899#comment-2026 <p>Maybe it's the same problem than <noindex><a href="/node/888" rel="nofollow" >this</a></noindex>.</p> Fri, 21 Jul 2006 11:09:41 +0000 mfoss comment 2026 at https://www.ejabberd.im I have the same problem in https://www.ejabberd.im/node/899#comment-2024 <p>I have the same problem in windows.<br /> I didn't modify the ejabberd.cfg except "{acl, admin, {user, "admin"}}."</p> <p>I added a user named "william" via ejabberdctl.<br /> And I can see "william@localhost" through the port 5280. </p> <p>but when i login with "william" in Tkabber,<br /> the ejabberdctl told me that:</p> <p>=ERROR REPORT==== 21-Jul-2006::11:05:12 ===<br /> ** Generic server &lt;0.424.0&gt; terminating<br /> ** Last message in was {tcp,{http_poll,&lt;0.422.0&gt;},<br /> &lt;&lt;""&gt;&gt;}<br /> ** When Server state == {state,{http_poll,&lt;0.422.0&gt;},<br /> ejabberd_http_poll,<br /> none,<br /> &lt;0.423.0&gt;,<br /> infinity,<br /> {xml_stream_state,<br /> &lt;0.423.0&gt;,<br /> #Port&lt;0.451&gt;,<br /> [],<br /> 0,<br /> infinity},<br /> infinity}<br /> ** Reason for termination ==<br /> ** {badarg,[{erlang,binary_to_term,<br /> [&lt;&lt;0,0,0,0,131,108,0,0,0,1,104,2,97,0,104,2,107,0,13,115,116<br /> ,114,101,97,109,58,115,116,114,101,97,109,108,0,0,0,5,104,2,107,0,12,120,109,108<br /> ,110,115,58,115,116,114,101,97,109,107,0,32,104,116,116,112,58,47,47,101,116,104<br /> ,101,114,120,46,106,97,98,98,101,114,46,111,114,103,47,115,116,114,101,97,109,11<br /> 5,104,2,107,0,5,120,109,108,110,115,107,0,13,106,97,98,98,101,114,58,99,108,105,<br /> 101,110,116,104,2,107,0,8,120,109,108,58,108,97,110,103,107,0,5,122,104,45,67,78<br /> ,104,2,107,0,2,116,111,107,0,9,108,111,99,97,108,104,111,115,116,104,2,107,0,7,1<br /> 18,101,114,115,105,111,110,107,0,3,49&gt;&gt;]},<br /> {xml_stream,parse,2},<br /> {ejabberd_receiver,process_data,2},<br /> {ejabberd_receiver,handle_info,2},<br /> {gen_server,handle_msg,6},<br /> {proc_lib,init_p,5}]}</p> <p>=CRASH REPORT==== 21-Jul-2006::11:05:12 ===<br /> crasher:<br /> pid: &lt;0.424.0&gt;<br /> registered_name: []<br /> error_info: {badarg,[{erlang,binary_to_term,<br /> [&lt;&lt;0,0,0,0,131,108,0,0,0,1,104,2,97,0,104,2,10<br /> 7,0,13,115,116,114,101,97,109,58,115,116,114,101,97,109,108,0,0,0,5,104,2,107,0,<br /> 12,120,109,108,110,115,58,115,116,114,101,97,109,107,0,32,104,116,116,112,58,47,<br /> 47,101,116,104,101,114,120,46,106,97,98,98,101,114,46,111,114,103,47,115,116,114<br /> ,101,97,109,115,104,2,107,0,5,120,109,108,110,115,107,0,13,106,97,98,98,101,114,<br /> 58,99,108,105,101,110,116,104,2,107,0,8,120,109,108,58,108,97,110,103,107,0,5,12<br /> 2,104,45,67,78,104,2,107,0,2,116,111,107,0,9,108,111,99,97,108,104,111,115,116,1<br /> 04,2,107,0,7,118,101,114,115,105,111,110,107,0,3,49&gt;&gt;]},<br /> {xml_stream,parse,2},<br /> {ejabberd_receiver,process_data,2},<br /> {ejabberd_receiver,handle_info,2},<br /> {gen_server,handle_msg,6},<br /> {proc_lib,init_p,5}]}<br /> initial_call: {gen,init_it,<br /> [gen_server,<br /> &lt;0.216.0&gt;,<br /> &lt;0.216.0&gt;,<br /> ejabberd_receiver,<br /> [{http_poll,&lt;0.422.0&gt;},<br /> ejabberd_http_poll,<br /> none,<br /> infinity,<br /> &lt;0.423.0&gt;],<br /> []]}<br /> ancestors: [ejabberd_receiver_sup,ejabberd_sup,&lt;0.41.0&gt;]<br /> messages: [{'$gen_cast',close}]<br /> links: [&lt;0.216.0&gt;]<br /> dictionary: []<br /> trap_exit: false<br /> status: running<br /> heap_size: 610<br /> stack_size: 21<br /> reductions: 178<br /> neighbours:</p> <p>And in Tkabber,The Raw XML is:</p> <p>OUT(2,william@localhost/TkabberP):<br /> 〈stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='zh-CN' to='localhost' version='1.0'〉</p> <p>What's the problem?have some ideas?</p> Fri, 21 Jul 2006 04:14:28 +0000 william comment 2024 at https://www.ejabberd.im changed the port https://www.ejabberd.im/node/899#comment-1917 <p>i changed the c2s-Port to 1080 and connecting works fine and i´m happy.</p> <p>The only problem i still have is that adding new users via webinterface still doesn´t work.</p> <p>I will start a new thread for it.</p> Sun, 25 Jun 2006 15:36:06 +0000 donconso comment 1917 at https://www.ejabberd.im telnet localhost 5222 Trying https://www.ejabberd.im/node/899#comment-1914 <p>telnet localhost 5222<br /> Trying 127.0.0.1...<br /> Connected to localhost.<br /> Escape character is '^]'.<br /> ^<br /> Invalid XMLConnection closed by foreign host.</p> <p>constantin@constantin-desktop:~$ telnet localhost 5280<br /> Trying 127.0.0.1...<br /> Connected to localhost.<br /> Escape character is '^]'.</p> <p>Connection closed by foreign host.</p> <p>I try to login with gaim as constantin@localhost and the port 5222</p> <p>ejabberd is running, as far as ejabberdctl tells me</p> <p>Here are my newest logs:</p> <p>=INFO REPORT==== 2006-06-24 23:26:49 ===<br /> I(&lt;0.212.0&gt;:ejabberd_listener:90): (#Port&lt;0.246&gt;) Accepted connection {{127,0,0,1},54734} -&gt; {{127,0,0,1},5280}</p> <p>=INFO REPORT==== 2006-06-24 23:26:49 ===<br /> I(&lt;0.206.0&gt;:ejabberd_http:76): started: {gen_tcp,#Port&lt;0.246&gt;}</p> <p>=INFO REPORT==== 2006-06-24 23:28:43 ===<br /> I(&lt;0.212.0&gt;:ejabberd_listener:90): (#Port&lt;0.282&gt;) Accepted connection {{127,0,0,1},54743} -&gt; {{127,0,0,1},5280}</p> <p>=INFO REPORT==== 2006-06-24 23:28:43 ===<br /> I(&lt;0.206.0&gt;:ejabberd_http:76): started: {gen_tcp,#Port&lt;0.282&gt;}</p> <p>=INFO REPORT==== 2006-06-24 23:28:43 ===<br /> I(&lt;0.278.0&gt;:ejabberd_http:171): (#Port&lt;0.282&gt;) http query: 'GET' /admin</p> <p>No connection by the port 5222 is listed, although i tried connecting (via telnet and gaim).</p> Sat, 24 Jun 2006 21:36:25 +0000 donconso comment 1914 at https://www.ejabberd.im Re: I still got no idea, why i https://www.ejabberd.im/node/899#comment-1913 <div class="quote-msg"> <div class="quote-author"><em>donconso</em> wrote:</div> <p>Perhaps someone can find a mistake in my config, i posted in the first message. Or do you miss any information?</p></div> <p>The config looks much like the default config. So I think it is ok.</p> <div class="quote-msg"> <div class="quote-author"><em>donconso</em> wrote:</div> <p>The only error message i get is from the client which tells me, there is a stream-error.</p></div> <p>Did you already tried to connect with telenet? How do you try to connect? Did you verified ejabberd is running? Do you see anything special in the logs?</p> Sat, 24 Jun 2006 20:11:07 +0000 sander comment 1913 at https://www.ejabberd.im I still got no idea, why i https://www.ejabberd.im/node/899#comment-1912 <p>I still got no idea, why i can´t connect to ejabberd with a jabber-client, so please tell me where to start searching.<br /> Perhaps someone can find a mistake in my config, i posted in the first message. Or do you miss any information? </p> <p>The only error message i get is from the client which tells me, there is a stream-error.</p> <p>Thanks for answering</p> Sat, 24 Jun 2006 16:34:41 +0000 donconso comment 1912 at https://www.ejabberd.im i don´t get an error. Only https://www.ejabberd.im/node/899#comment-1897 <p>i don´t get an error. Only a blank side, when i try to submit the user and the password</p> Wed, 21 Jun 2006 18:24:24 +0000 donconso comment 1897 at https://www.ejabberd.im Re: While trying out i https://www.ejabberd.im/node/899#comment-1894 <div class="quote-msg"> <div class="quote-author"><em>donconso</em> wrote:</div> <p>While trying out i recognized, adding users with the ejabberd-web-interface doesn´t work. with ejabberdctl i can add users.</p></div> <p>What error do you get?</p> Wed, 21 Jun 2006 16:04:34 +0000 sander comment 1894 at https://www.ejabberd.im While trying out i https://www.ejabberd.im/node/899#comment-1891 <p>While trying out i recognized, adding users with the ejabberd-web-interface doesn´t work. with ejabberdctl i can add users.</p> Tue, 20 Jun 2006 17:41:15 +0000 donconso comment 1891 at https://www.ejabberd.im