Not able to join 2 parties when in iframe

I deployed jitsi meet to my own server, I can use it without problem for join with 2 participants, but when I use with iframe first participant which is an owner got no issue, but second participant will show error on jicofo and both participant videos won’t show on the other side.

Below is the error on jicofo :

Ignored session-terminate for invalid session: Participant[108376@conference.domain.name/9a9a2526]@1543386055, bridge session ID: null restart: false

Any idea on this ?

Thanks.

Can you show the logs in the JS console for that user?

UnhandledError: Strophe: request id 3.1 error 0 happened Script: null Line: null Column: null StackTrace: Error: Strophe: request id 3.1 error 0 happened

then id 4.2, id 5.3, id 6.4 for same error

or sometimes show below

2022-03-25T02:53:07.921Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: Strophe: TypeError: Converting circular structure to JSON
→ starting at object with constructor ‘I.Connection’
| property ‘_proto’ → object with constructor ‘M.Bosh’
— property ‘_conn’ closes the circle
at JSON.stringify ()

2022-03-25T02:53:08.000Z [modules/API/API.js] <Object.send-endpoint-text-message>: Failed sending endpoint text message Error: Channel support is disabled!
at Sa.sendChannelMessage (lib-jitsi-meet.min.js?v=5818:2:461762)
at nd.sendEndpointMessage (lib-jitsi-meet.min.js?v=5818:2:553661)
at Object.sendEndpointMessage (app.bundle.min.js?v=5818:138:558635)
at Object.send-endpoint-text-message (app.bundle.min.js?v=5818:138:564770)
at app.bundle.min.js?v=5818:138:567339
at app.bundle.min.js?v=5818:138:487050
at Set.forEach ()
at Lee.emit (app.bundle.min.js?v=5818:138:487035)
at Lee._onMessageReceived (app.bundle.min.js?v=5818:138:486740)
at app.bundle.min.js?v=5818:138:485983
at d (app.bundle.min.js?v=5818:138:485014)

2022-03-25T02:53:08.213Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: Rejecting session-initiate from non-focus. Script: null Line: null Column: null StackTrace: Error: Rejecting session-initiate from non-focus.
at nd._rejectIncomingCall (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:548491)
at nd.onIncomingCall (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:546696)
at r.emit (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:100376)
at Ar.onJingle (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:346989)
at I.Handler.run (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:604667)
at https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:613105
at Object.forEachChild (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:596335)
at I.Connection._dataRecv (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:612954)
at M.Bosh._onRequestStateChange (https://turn2.tfsystems.biz/libs/lib-jitsi-meet.min.js?v=5818:2:632938)

this is the error it keep repeating

This looks very suspicious. How are you creating the connection?

How to check the connection ? I just follow tutorial from jitsi meet , added with jwt authentication.

What endpoint message are you sending? Also, how did you configure endpoint channels?

May I know how to configure endpoint channels ? Btw I disable the send endpoint message the circular structure to JSON error or Strophe: request id 3.1 will showed.

Not exactly sure what’s happening, but if I try to load your page it just gets stalled.

my connection not really stable, you can try load turn2.tfsystems.biz.

But if I join direct from turn2.tfsystems.biz with 3 participants no problem. Only when I join using iframe the error will come out from second participant.

Can you try join with this link ? you can see the error on console

https://sync.tfsystems.biz/vmm2-dev?session=BONc8Az5hA56lw5IXb9Aow==