priyadi / roundcube-converse.js-xmpp-plugin

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

Plugin closes after changing site from reading mail to settings or compose #26

Open schickel007 opened 10 years ago

schickel007 commented 10 years ago

Like title describes, the RoundCube Plugin does not work properly.

When I want to write a new message, the chat-windows closed and I must reconnect manually again.

Is it a bug or a feaure?

priyadi commented 10 years ago

That's definitely not a feature :)

Please follow troubleshooting procedure outlined in TROUBLESHOOTING.md and report back your findings.

Please also look for error messages in these places: Javascript console, web server error log and XMPP server error log.

ninevoltz commented 10 years ago

I have the same problem. If I select a different folder in RoundCube, the chat popup is re-loaded and logs me out. I've spent days trying to get any BOSH web chat client working, and every one of them seems to have bugs, or incompatibilities with OpenFire. So far, the only one I've gotten to work as advertised is Candy, but it doesn't integrate with RoundCube.

priyadi commented 10 years ago

@ninevoltz we are actually using BOSH prebind library from candy. are you using master or tagged v0.7.4?

ninevoltz commented 10 years ago

Thanks for answering! I used the master zip file download. I was also noticing that my emails were slow to load in RoundCube, if they would load at all. I used a rewrite rule in my RoundCube .htaccess file to proxy the http-bind to OpenFire. I think this was causing problems for RoundCube. Is there a better way to set it up? Any idea why the plugin reloads and logs out when selecting a different email folder? The plugin does seem to work well, aside from those problems. I built my own personal email server, because I've been trying to get myself off of gmail, and chat is the last feature I need to finish it.

priyadi commented 10 years ago

@ninevoltz Our master branch is not in good shape after converse.js 0.8 update. I haven't been able to make it work. In fact I'm surprised you've gotten that far. In the mean time, please use tagged version v0.7.4.

I don't know what you are exactly using, but I'm using Apache with ProxyPass directive and it is working great. If you are experiencing slowdowns, I'm betting on DNS lookups. Make sure you have 'HostnameLookups Off' and try using IP addresses, or hardcode hostnames in your /etc/hosts.

ninevoltz commented 10 years ago

I finally got a chance to test out the v0.7.4 tag and it seems to work perfectly! It doesn't reload the popup anymore either. Thanks for your help!