converse.js: "policy-violation" stanza received from OpenFire when using Firefox

I’m initializing converse with:

 converse.initialize({
        authentication: 'login',
        keepalive: true,
        auto_login: true,
        hide_muc_server: true,
        auto_reconnect: true,
        allow_bookmarks: false,
        bosh_service_url: 'https://foo.com:7443/http-bind/',
        show_controlbox_by_default: false,
        allow_muc_invitations: false,
        credentials_url: '/chat/credentials/foo/1000',
        auto_join_rooms: [{jid: 'ccc@conference.foo.com, nick: 'name30'}]
    });

It works fine, except very often on page refresh, I’m getting:

ERROR: request id 10.1 error 0 happened  converse.js:48498:13
WARNING: request errored, status: 0, number of errors: 1  converse.js:48500:13
POST XHR https://foo.com:7443/http-bind/ [HTTP/1.1 404 Invalid SID value. 116ms]
ERROR: request id 2.1 error 404 happened  converse.js:48498:13
WARNING: request errored, status: 404, number of errors: 1  converse.js:48500:13
Error: A "url" property or function must be specified  converse.js:47707:11
ERROR: request id 11.1 error 404 happened  converse.js:48498:13
WARNING: request errored, status: 404, number of errors: 1  converse.js:48500:13
ERROR: request id 12.1 error 404 happened  converse.js:48498:13
WARNING: request errored, status: 404, number of errors: 2  converse.js:48500:13
ERROR: request id 23.1 error 404 happened  converse.js:48498:13
WARNING: request errored, status: 404, number of errors: 1

I had similar issue before https://github.com/jcbrand/converse.js/issues/865, and it seemed I resolved it with upgrade.

But once we installed it on producution, I started getting this errors.

Do you have any idea why this happens? Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 26 (14 by maintainers)

Most upvoted comments

@jcbrand Sure, thanks for detailed response. We are in the process of preparation for the new release, so I will contact you once we get to the point when we want to debug this. Thanks!

I’m not sure, I’ve never seen that warning. You can try asking the OpenFire developers in the XMPP chat room: open_chat@conference.igniterealtime.com