Haroldo_OK
Haroldo_OK

Reputation: 7270

Successfully connecting to XMPP via BOSH, but chat window is only updating when I send something

I have tried to connect to an OpenFire XMPP server via either converse.js or JSXC; in both cases, the client connects successfully, but while they can send messages with no problem, they cannot receive messsages, or, more specifically, they only receive messages from another connected user when they send something.

So far, I have tried implementing BOSH support via JabberHTTPBind,via UrlRewriteFilter (proxying to OpenFire's BOSH implementation) and, just to isolate if the filter/servlet is the culprit, I have also tried placing the clients directly under /openfire/resources/spank/, so that they would be served in the same host/port as OpenFire's /http-binding/; in each case, the weird behavior was the same.

Does someone have any idea of what could be causing that 'write-only' behavior?

Upvotes: 0

Views: 451

Answers (2)

Kyi Win Htin
Kyi Win Htin

Reputation: 25

i don't know it help you

<script>
    converse.initialize({
        allow_otr: true,
        auto_list_rooms: false,
        auto_subscribe: false,
        bosh_service_url: 'http://127.0.0.1:7070/http-bind',
        debug: true ,
        hide_muc_server: false,
        i18n: locales['en'],
        prebind: false,
        show_controlbox_by_default: true,
        xhr_user_search: true,
    });
</script>

Upvotes: 1

Haroldo_OK
Haroldo_OK

Reputation: 7270

Okay, this is weird...

It looks like it you have at least one Pidgin instance anywhere connected to the server via BOSH, it prevents BOSH from working for everyone regardless of client; at least, it seemed to be my case.

Reconfiguring Pidgin to not use BOSH made both Converse.js and JSXC work correctly.

Upvotes: 0

Related Questions