question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"policy-violation" stanza received from OpenFire when using Firefox

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
umpirskycommented, Nov 3, 2017

@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!

1reaction
jcbrandcommented, Sep 24, 2017

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with attach in Firefox - Google Groups
i am using Strophe with Openfire on Apache server. Initial Connection ... After this i get a policy violation as my requests are...
Read more >
Can I intercept a stream stanza in an OpenFire Plugin?
I'm trying to create a plugin for OpenFire that will allow some custom data sent through in the initial stream stanza to be...
Read more >
Openfire 3.6.4 Strophe connection problem with Firefox
Hi I can't connect with Strophe.js to the Openfire Server using Firefox. IE and Safari works fine instead. Tried it with several scripts, ......
Read more >
Stanza.io with OpenFire 4.1.3
I'm trying to connect stanza.io (websocket and bosh) with Openfire 4.1.3 . ... depending of protocol: bosh: I receive no-authentication.
Read more >
New to Openfire: Admin working in browser, users not
Question 1: Can I let my computer challenged family use simply IE or Firefox as the chat/IM client, or must I use Spark,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found