Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline #13

Open
DJaeger opened this issue Feb 20, 2013 · 6 comments
Open

Offline #13

DJaeger opened this issue Feb 20, 2013 · 6 comments

Comments

@DJaeger
Copy link

DJaeger commented Feb 20, 2013

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?

@szimek
Copy link
Owner

szimek commented Feb 20, 2013

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)?

@DJaeger
Copy link
Author

DJaeger commented Feb 20, 2013

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:
loggedin

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.

@szimek
Copy link
Owner

szimek commented Feb 20, 2013

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

@DJaeger
Copy link
Author

DJaeger commented Feb 20, 2013

Thanks for the hint.

This helped me for my error:
metajack/strophejs#18 (comment)
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.

@sivaramc
Copy link

@DJaeger and @szimek I am also facing the same problem But i couldnt able to resolve can you please help me out.
offline

@DJaeger
Copy link
Author

DJaeger commented Mar 22, 2013

Did you checked the link I posted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants