metajack / strophejs

The Strophe.js repository has moved to https://github.com/strophe/strophejs

Home Page:http://strophe.im/strophejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flXHR connection error

pradeepsingh1 opened this issue · comments

While connecting from behind firewall I get CONNFAIL with reason code "flXHR connection error" and that triggers _onDisconnectTimeout

connection status moves like this: CONNECTING -> AUTHENTICATING -> CONNFAIL

This occurs with Firefox 7.0.1, strophejs-1.0.2 and flXHR-1.0.6

On IE 7 no such issues.

This issue is also occurring with Chrome and behind firewall!

No ramarque, I stopped looking at xmpp soon after. Websockets and tons of libraries that simulate websockets seem to be more appropriate for what I want to do.

pradeepsingh1,
I found a solution!
If you put everything inside of Browser (class of WebView in Android) it works great!
browser.getSettings().setPluginsEnabled(true);
Good luck!