Getting an error using .connect in lib-jitsi-meet


I’m trying to use the lib-jitsi-meet in a react application.

Trying to incorporate the example from the docs,

Using the following config info

const options = {
      hosts: {
        domain: '',
        muc: '', // FIXME: use XEP-0030
      bosh: '//', // FIXME: use xep-0156 for that

      // The name of client node advertised in XEP-0115 'c' stanza
      clientNode: '',

and then calling:

      .then(() => {
        this.connection = new window.JitsiMeetJS.JitsiConnection(

Connect fails with following in the console:

Any help would be appreciated


Your config is wrong.
domain should be ‘’ and muc should be ‘’
Check: for examples.
Changing those, does it work for you?


Sweet. Yes that seems to have fixed that issue. Thank you so much :slight_smile: