jitsi-meet: JitsiMeetJS.js - Failed to execute 'postMessage' on 'Worker'

Hi, I am seeing some strange errors when trying to have a conference call. Participants can see their own video and each others’ avatars but the everybodys’ video and audio is shown as muted. We use JWT for authentication, and anonymous participants are not allowed --> allow_empty_token = false

Here is the error shown in the console

2020-10-19T15:29:43.497Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>:  UnhandledError: Uncaught TypeError: Failed to execute 'postMessage' on 'Worker': Failed to convert value to 'object'. Script: https://conf.cogency.io/libs/lib-jitsi-meet.min.js?v=139 Line: 17 Column: 27275 StackTrace:  TypeError: Failed to execute 'postMessage' on 'Worker': Failed to convert value to 'object'.
    at a.handleReceiver (E2EEContext.js:78)
    at se._setupReceiverE2EEForTrack (JitsiConference.js:3527)
    at se.onRemoteTrackAdded (JitsiConference.js:1708)
    at a.emit (events.js:152)
    at R._createRemoteTrack (TraceablePeerConnection.js:834)
    at R._remoteTrackAdded (TraceablePeerConnection.js:769)
    at R._remoteStreamAdded (TraceablePeerConnection.js:636)
    at RTCPeerConnection.R.m.a.usesPlanB.peerconnection.onaddstream (TraceablePeerConnection.js:276)
Uncaught TypeError: Failed to execute 'postMessage' on 'Worker': Failed to convert value to 'object'.
    at a.handleReceiver (E2EEContext.js:78)
    at se._setupReceiverE2EEForTrack (JitsiConference.js:3527)
    at se.onRemoteTrackAdded (JitsiConference.js:1708)
    at a.emit (events.js:152)
    at R._createRemoteTrack (TraceablePeerConnection.js:834)
    at R._remoteTrackAdded (TraceablePeerConnection.js:769)
    at R._remoteStreamAdded (TraceablePeerConnection.js:636)
    at RTCPeerConnection.R.m.a.usesPlanB.peerconnection.onaddstream (TraceablePeerConnection.js:276)

Here is the jifoco log


Jicofo 2020-10-19 15:29:36.164 INFO: [31] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberLeft sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@43946807 member=ChatMember[tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651, jid: f09a6651-08ce-4c9e-ab04-c763107a5774@conf.cogency.io/2uvYAkjl]@598757476]
Jicofo 2020-10-19 15:29:36.164 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651 is leaving
Jicofo 2020-10-19 15:29:36.165 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Terminating Participant[tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651]@628066821, reason: gone, send st: false
Jicofo 2020-10-19 15:29:36.166 INFO: [31] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.log() Terminate session: tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651, reason: gone, send terminate: false
Jicofo 2020-10-19 15:29:36.172 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Removing tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651 sources Sources{ video: [ssrc=3005701599 ssrc=1010314117 ssrc=2580028438 ssrc=1540855576 ssrc=4056707687 ssrc=2391479881 ] audio: [ssrc=1711024216 ] }@28829894
Jicofo 2020-10-19 15:29:36.174 INFO: [31] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.log() Notify remove SSRC tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/97dd69bc SID: ci384arhq5k6p Sources{ video: [ssrc=3005701599 ssrc=1010314117 ssrc=2580028438 ssrc=1540855576 ssrc=4056707687 ssrc=2391479881 ] audio: [ssrc=1711024216 ] }@28829894 source_Groups{ video:[ SourceGroup(FID)[ ssrc=3005701599 ssrc=1010314117 ]SourceGroup(FID)[ ssrc=2580028438 ssrc=4056707687 ]SourceGroup(FID)[ ssrc=1540855576 ssrc=2391479881 ]SourceGroup(SIM)[ ssrc=3005701599 ssrc=2580028438 ssrc=1540855576 ] ] }@1867583624
Jicofo 2020-10-19 15:29:36.174 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Region info, conference=6419 octo_enabled= false: [[null, null]]
Jicofo 2020-10-19 15:29:36.176 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Expiring channels for: tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651 on: Bridge[jid=jvbbrewery@internal.auth.conf.cogency.io/caede886-4ce7-443e-aaac-1dacc208fea2, relayId=null, region=null, stress=0.00]
Jicofo 2020-10-19 15:29:36.177 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Removed participant: true, tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/f09a6651
Jicofo 2020-10-19 15:29:41.880 INFO: [79] org.jitsi.jicofo.xmpp.FocusComponent.log() Focus request for room: tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io
Jicofo 2020-10-19 15:29:41.880 INFO: [79] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authentication session created for 6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io SID: 1684b98c-e67f-4ffc-b4d7-5bd7d38a8525
Jicofo 2020-10-19 15:29:41.881 INFO: [79] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Authenticated jid: 6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io/tivzFTEm with session: AuthSession[ID=6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io, JID=6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io/tivzFTEm, SID=1684b98c-e67f-4ffc-b4d7-5bd7d38a8525, MUID=ff980c87fa59b6559c13b533a61ab380, LIFE_TM_SEC=0, R=tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io]@1675026630
Jicofo 2020-10-19 15:29:41.881 INFO: [79] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Jid 6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io/tivzFTEm authenticated as: 6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io
Jicofo 2020-10-19 15:29:42.464 INFO: [31] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@43946807 member=ChatMember[tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a, jid: null]@795326768]
Jicofo 2020-10-19 15:29:42.469 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a joined.
Jicofo 2020-10-19 15:29:42.470 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Added participant jid= tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a, bridge=jvbbrewery@internal.auth.conf.cogency.io/caede886-4ce7-443e-aaac-1dacc208fea2
Jicofo 2020-10-19 15:29:42.470 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Region info, conference=6419 octo_enabled= false: [[null, null, null]]
Jicofo 2020-10-19 15:29:42.471 INFO: [122] org.jitsi.jicofo.discovery.DiscoveryUtil.log() Doing feature discovery for tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a
Jicofo 2020-10-19 15:29:42.471 INFO: [122] org.jitsi.jicofo.discovery.DiscoveryUtil.log() Successfully discovered features for tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a in 0
Jicofo 2020-10-19 15:29:42.472 INFO: [122] org.jitsi.jicofo.AbstractChannelAllocator.log() Using jvbbrewery@internal.auth.conf.cogency.io/caede886-4ce7-443e-aaac-1dacc208fea2 to allocate channels for: Participant[tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a]@1245890007
Jicofo 2020-10-19 15:29:42.492 INFO: [122] org.jitsi.jicofo.ParticipantChannelAllocator.log() Sending session-initiate to: tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a
Jicofo 2020-10-19 15:29:43.755 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Got session-accept from: tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a
Jicofo 2020-10-19 15:29:43.762 INFO: [31] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Received session-accept from tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/6b498a4a with accepted sources:Sources{ video: [ssrc=165254186 ssrc=500884998 ssrc=4195579813 ssrc=844732977 ssrc=209858442 ssrc=1344451294 ] audio: [ssrc=3406665272 ] }@1548876488
Jicofo 2020-10-19 15:29:43.765 INFO: [31] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.log() Notify add SSRC tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io/97dd69bc SID: ci384arhq5k6p Sources{ video: [ssrc=165254186 ssrc=500884998 ssrc=4195579813 ssrc=844732977 ssrc=209858442 ssrc=1344451294 ] audio: [ssrc=3406665272 ] }@1930729 source_Groups{ video:[ SourceGroup(FID)[ ssrc=165254186 ssrc=500884998 ]SourceGroup(FID)[ ssrc=4195579813 ssrc=209858442 ]SourceGroup(FID)[ ssrc=844732977 ssrc=1344451294 ]SourceGroup(SIM)[ ssrc=165254186 ssrc=4195579813 ssrc=844732977 ] ] }@312599267
Jicofo 2020-10-19 15:30:42.405 INFO: [17] org.jitsi.jicofo.auth.AbstractAuthAuthority.log() Expiring session:AuthSession[ID=6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io, JID=6b498a4a-50cf-45b3-88e2-c2e192bc6c9a@conf.cogency.io/tivzFTEm, SID=1684b98c-e67f-4ffc-b4d7-5bd7d38a8525, MUID=ff980c87fa59b6559c13b533a61ab380, LIFE_TM_SEC=60, R=tqpc9a6hswwkglk3unjcu3@conference.conf.cogency.io]@1675026630

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

I am closing this issue as this is no longer happening 😃 😃 😃

@izakgl YOU ARE DA MAN!!! Of course I forgot to run make and of course the files were not updated!!!