Open DJaeger opened 11 years ago
I tested it with local ejabberd server, so it's the same setup as yours.
Do you get any JS errors when you sign in via web page? Can you sign in to your local ejabberd server If you use any desktop IM app? Does your ejabberd server run on port 5280 (default)?
My Browser only gives me some warnings from jquery and css, but no more. I dont now, how I can see more details of node as the terminal output, but there are no errors:
My ejabberd server runs on default ports with 5280 for http-polling and 5222 for clients With an chat-client (Pidgin) I can login, but can't communicate with others.
Hmm, if you start ejabberd via ejabberd live
do you see anything if you try to connect via web app?
Here are some logs I get:
=INFO REPORT==== 20-Feb-2013::09:32:50 ===
I(<0.492.0>:ejabberd_listener:281) : (#Port<0.17402>) Accepted connection {{127,0,0,1},51346} -> {{127,0,0,1},5280}
=INFO REPORT==== 20-Feb-2013::09:32:50 ===
I(<0.762.0>:ejabberd_http:146) : started: {gen_tcp,#Port<0.17402>}
=INFO REPORT==== 20-Feb-2013::09:32:50 ===
I(<0.759.0>:ejabberd_c2s:767) : ({socket_state,ejabberd_http_bind,{http_bind,<0.758.0>,{{127,0,0,1},51343}},ejabberd_http_bind}) Accepted authentication for john by ejabberd_auth_internal
Thanks for the hint.
This helped me for my error: https://github.com/metajack/strophejs/issues/18#issuecomment-878862 you can use only xmpp server, that have explicitly the module mod_http_bind activated.
I think you should check, if you can go online and only login if true.
@DJaeger and @szimek I am also facing the same problem But i couldnt able to resolve can you please help me out.
Did you checked the link I posted?
I can't connect with any server. It does't work with an ejabberd server on localhost and also with public servers. The credentials are correct. On the website i am always loggedin, but offline. The terminal, where node runs, doesn't show any error. I don't know, whats wrong. Do it work in an internal network or only in the internet?