Skip to content

Timed out waiting for SignalJoinResponseEvent even though event was recieved #20

@etiennedv-mathu

Description

@etiennedv-mathu

Im having trouble getting the example flutter project. When clicking "START CALL" I can see my client join. The agent even starts streaming audio.

But unfortunately the client SDK seems a bit confused. From the logs we can see it receiving the [SignalEvent] Instance of 'SignalJoinResponseEvent' and then 10 seconds later, timing out with error Timed out waiting for SignalJoinResponseEvent

16:24:11: Connect....
16:24:11: Fetched Connection Details: Instance of 'ConnectionDetails', connecting to room...
16:24:11: SignalClient connecting with url: wss://livekit.dev.onprem.mathu-teaching-emporium.com/rtc?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiVXNlci00ZWYxN2Y5NiIsInZpZGVvIjp7InJvb21Kb2luIjp0cnVlLCJyb29tIjoiUm9vbS04N2I4M2YwZiIsImNhblB1Ymxpc2giOnRydWUsImNhblN1YnNjcmliZSI6dHJ1ZSwiY2FuUHVibGlzaERhdGEiOnRydWV9LCJzdWIiOiI1OWFkZTk2Ny1hYWEyLTQ4NDEtOTE3NC0wZjM3NjRkZGFkNmIiLCJpc3MiOiJBUEllanFnR1dyWmtQZHciLCJuYmYiOjE3NTk5MzA3NjksImV4cCI6MTc1OTk1MjM2OX0.kAmD31VPkJF6MSU-WYX8bX7awpx_4cuXLuejDqY1yN8&auto_subscribe=1&adaptive_stream=0&protocol=12&sdk=flutter&version=2.4.9&network=wifi&os=macOS
16:24:11: [SignalClient#628651583] cleanUp()
16:24:11: [SignalEvent] Instance of 'SignalConnectingEvent'
16:24:11: Cell width: 310.8 x 193.60000000000002
16:24:11: UI >  ParticipantSelector for Room-87b83f0f
16:24:11: [SignalEvent] Instance of 'SignalConnectedEvent'
16:24:11: ping config timeout: 15, interval: 5 
16:24:11: [SignalEvent] Instance of 'SignalJoinResponseEvent'
16:24:11: [SignalEvent] Instance of 'SignalOfferEvent'
3
16:24:11: [SignalEvent] Instance of 'SignalTrickleEvent'
16:24:11: [SignalEvent] Instance of 'SignalTokenUpdatedEvent'
16:24:11: [SignalEvent] Instance of 'SignalTrickleEvent'
16:24:14: [SignalEvent] Instance of 'SignalParticipantUpdateEvent'
16:24:14: LocalParticipant.updateFromInfo(info: sid: PA_4Fsns6A5J5nr
identity: 59ade967-aaa2-4841-9174-0f3764ddad6b
state: JOINED
joinedAt: 1759933452
name: User-4ef17f96
version: 1
permission: {
  canSubscribe: true
  canPublish: true
  canPublishData: true
}
joinedAtMs: 1759933452022
)
16:24:16: [SignalEvent] Instance of 'SignalRoomUpdateEvent'
16:24:16: Event => RoomContext: RoomMetadataChangedEvent Room-87b83f0f metadata = 
2
16:24:16: UI >  ParticipantSelector for Room-87b83f0f
16:24:21: EventsEmitter<EngineEvent>#953866319 event was cancelled by func
16:24:21: Connect Error LiveKit Exception: [ConnectException] Timed out waiting for SignalJoinResponseEvent
16:24:21: could not connect to wss://livekit.dev.onprem.mathu-teaching-emporium.com LiveKit Exception: [ConnectException] Timed out waiting for SignalJoinResponseEvent
16:24:21: Connection error: LiveKit Exception: [ConnectException] Timed out waiting for SignalJoinResponseEvent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions