-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
auto login not working #24
Comments
The plugin should autologin. The way it works is that the PHP part of the plugin first accesses http-bind in order to login and then passes the credentials to Javascript part of the plugin. If login fails, it will present login box. In your case it appears login has failed for some reason. If you are sure there's no connection to BOSH URL, then the problem is probably in PHP part of the plugin. Please look for error message in your web server error log. |
Hmm--I'll have to do some more digging. I figured it was supposed to auto login, so it must be something on my end. I never see the browser make a request to /http-bind when I sign in to RC, only after I enter my username and password into the converse window. I'll see if I can track it down. |
It's definitely not trying to access /http-bind when I initially sign in. I only see if after I enter my info and click the login button. |
Please try the troubleshooting procedure outlined in TROUBLESHOOTING.md. In particular, make sure you can login with Pidgin using your BOSH endpoint. Also, please paste your complete config.inc.php file. |
i have same problem... my xmpp server are ejabberd 2.1.13 with some patches backported form upstream, property working, tested the url bosh with pidgin and work http server are lighttpd 1.4.35 working perfectly follow instruction in troubleshooting and here my paste:
the configuration file:
i install a DNS for resolve "domain.net" and set all my clients to resolve trought this DNS so "domain.net" are not problem what can i doing to help and make it work! i see some of code but uses 3 proyects (candy chat, php xmpp lib and other ), i really need that chat working in my rouncube |
i found that under certanly circunstances there some problems with XMPP server and bosh proxy url if server has own ssl cert and we configured xmpp server with ssl, some conflicts appears, so i disabled all ssl certs and all get to work, later enable ssl cert only in webserver and not in xmpp server, due proxy bosh url aleady will have ssl now usinhg roundcube 1.X beta have some problem with stanza an presense.. |
What SSL conflict? Anything in the log files? My guess you need to update your ca-bundle.crt on your Roundcube installation. |
u dont understand, i mean, that i we configured both in webserver and in xmppserver ssl support, client on bosh request must pass two certificates and fail! this are obvious!! there's nonsense for reall xmpp compilant standart class xmpp server such openfire or ejabberd if already set a certificate on prxy url, so for that i can made some wiki pages about correct configuring of xmpp servers for u.. due README are not very clear about right configurations and many of this bugs are related to |
No. That's not obvious enough to me. It would be more helpful if you have error message to tell, and where it appears. Also, please keep your vendetta against Prosody to yourself. |
log are not possible, xmpp server have the request, but brwoser client do not received the response, due double check!! that's why anybody can send to u any error log of that , in my debug lg, on browser client, the response are 0Kb due that.. when i disable one of ssl , all get to work... i dont know if this issue are invalid or are valid due the problem are configuration misc! |
also about vendetta, @darkpixel obviously do nt use prosody and me too, its not vendetta men, its about a problem due there's not readme detailed with that compilants xmpp servers.. i already send some comments about that to upstream too.. |
I don't understand. If the server has received the request but didn't send the response, then how this is the fault of converse.js? If turning off HTTPS works, then the problem might be in your proxying configuration of your lighttpd. Try these for troubleshooting.
|
hi, @priyadi of course i said:
that's whay i proposed to make more detailed wiki pages for lighty&ejabberd or ngix&ejabberd, or hiawata that ar the most secure web server today! |
@mckaygerhard Wiki pages are open for everyone to edit. You can go ahead and add your pages. Thank you for your contributions! |
I re-tackled this issue today, and managed to figure it out based on your cURL suggestion from #21 . On my box running Ubuntu 14.04.1, cURL (and wget) don't like my certificate which was signed by GoDaddy very recently. Apparently the error doesn't bubble up through PHP. I ended up going to GoDaddy's cert page and downloading the certificate bundles into cURL no longer complains about the cert, and converse.js automatically logs in. |
When I sign in to RC, that chat link shows up. When I click on it, it brings up the boxes asking for "XMPP/Jabber Username" and "Password". I can enter "[email protected]" and the password and I am signed into chat. Everything works beautifully.
In my config.inc.php file I have:
(I also tried setting converse_xmpp_username to plain $args['user'])
I can't seem to get it to auto-login.
Looking at the network requests in Chrome, there doesn't appear to be an attempt to access /http-bind when chat first starts up. (The ejabberd logs also show no authentication attempt).
The first time the app signs in is when I manually enter my username and password on the converse.js window.
Is it supposed to automatically login for the user or am I missing something?
The text was updated successfully, but these errors were encountered: