priyadi / roundcube-converse.js-xmpp-plugin

XMPP plugin for Roundcube Webmail based on converse.js
48 stars 18 forks source link

Converse hangs roundcube #22

Closed darkpixel closed 10 years ago

darkpixel commented 10 years ago

Converse is hanging my roundcube after login

After I add it to the list of plugins, you can enter your username and password into roundcube, but then it just hangs saying 'loading'.

In the background, chrome shows the POST to ?_task=login followed by the redirect and loading of ?_task=email, but that never finishes. It hangs until nginx times out. If I remove converse from the plugin list and restart php-fpm roundcube goes back to working.

I changed two values in the converse config.inc.php file: converse_xmpp_bosh_prebind_url to https://chat.mydomain.com/http-bind and converse_xmpp_hostname = 'mydomain.com'

I am able to access the url https://chat.mydomain.com/http-bind in my browser and there are no issues.

Any pointers?

priyadi commented 10 years ago

Hi,

Can you follow the troubleshooting procedure outlined here: https://github.com/priyadi/roundcube-converse.js-xmpp-plugin/blob/master/TROUBLESHOOTING.md

Thanks.

darkpixel commented 10 years ago

Hi @priyadi

I did go through the troubleshooting guide. I can connect with pidgin, and I can access the http-bind page in my browser. Everything appears to be working. I'll try running more tests in the morning to see if I can nail down the issue.

darkpixel commented 10 years ago

After a lot of playing around I got this working by bypassing the nginx proxy and talking directly with my ejabberd server which sits at a different URL.

Pidgin was able to connect through the nginx proxy, but converse.js running through my browser would hang.