https://livekit.io logo
Join Slack
Powered by
# helpdesk
  • w

    wonderful-manchester-12533

    01/29/2021, 7:07 PM
    lol
  • w

    wonderful-manchester-12533

    02/02/2021, 10:14 PM
    @dry-elephant-14928 starting to see some pretty weird join issues with the latest server
  • w

    wonderful-manchester-12533

    02/02/2021, 10:14 PM
    there's the server logs
  • w

    wonderful-manchester-12533

    02/02/2021, 10:16 PM
    client side is basically running into 2 different issues: 1. Sometimes the socket opens and I get a
    Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable
    error 2. Sometimes the socket will open then immediately close and so there are errors about sending messages down a closed socket. When this happens, I see a message saying
    websocket connection closed
    and
    room event disconnected
  • w

    wonderful-manchester-12533

    02/02/2021, 10:17 PM
    those server logs were dumped after both of those issues happened
  • w

    wonderful-manchester-12533

    02/02/2021, 10:18 PM
    and as a note, all of this is in multinode mode
  • d

    dry-elephant-14928

    02/02/2021, 10:20 PM
    thanks for sharing. I'm seeing the websocket closed issue too on my end. question, are you also seeing Furqan's issue with the second participant not able to publish streams?
  • w

    wonderful-manchester-12533

    02/02/2021, 10:21 PM
    well I can't really even get into the call right now to publish so I'm not sure
  • c

    clever-kite-90169

    02/02/2021, 10:22 PM
    i've seen #1 as well sometimes
  • c

    clever-kite-90169

    02/02/2021, 10:22 PM
    usually a refresh solves it
  • c

    clever-kite-90169

    02/02/2021, 10:22 PM
    i can pretty much almost always get into a call
  • s

    steep-balloon-41261

    02/02/2021, 10:24 PM
    This message was deleted.
    w
    d
    c
    • 4
    • 36
  • w

    wonderful-manchester-12533

    02/02/2021, 10:24 PM
    ya here one sec
  • d

    dry-elephant-14928

    02/02/2021, 10:25 PM
    do you auto publish right when the connect is established?
  • w

    wonderful-manchester-12533

    02/02/2021, 10:25 PM
    issue 1 is occurring for me almost every time I try to join a room
  • w

    wonderful-manchester-12533

    02/02/2021, 10:25 PM
    no, we
    connect
    then user needs to click a button to
    publish
  • d

    dry-elephant-14928

    02/02/2021, 10:26 PM
    ah ok
  • w

    wonderful-manchester-12533

    02/02/2021, 10:48 PM
    how should we hook into the websocket closing?
  • d

    dry-elephant-14928

    02/02/2021, 10:50 PM
    WS closing is a bug I can reproduce when clients connect
  • d

    dry-elephant-14928

    02/02/2021, 10:50 PM
    sometimes
  • w

    wonderful-manchester-12533

    02/02/2021, 10:51 PM
    so if the peer connection is the source of truth for connection status, how should we handle the websocket disconnecting? Can livekit supply an option for reconnecting + a callback for when it happens (in case the consumer wants to do something different when socket closes)
  • d

    dry-elephant-14928

    02/02/2021, 10:51 PM
    yeah. LK client will do this
  • d

    dry-elephant-14928

    02/02/2021, 10:51 PM
    reconnect
  • w

    wonderful-manchester-12533

    02/02/2021, 10:51 PM
    cool, can it be an option?
  • w

    wonderful-manchester-12533

    02/02/2021, 10:51 PM
    maybe some consumers won't want to reconnect automatically
  • d

    dry-elephant-14928

    02/02/2021, 10:51 PM
    curious why you want it to be an option though
  • d

    dry-elephant-14928

    02/02/2021, 10:51 PM
    I think PeerConnection should be the source of truth.. but maybe a configurable # of retries?
  • w

    wonderful-manchester-12533

    02/02/2021, 10:52 PM
    # of retries makes sense
  • w

    wonderful-manchester-12533

    02/02/2021, 10:52 PM
    to avoid dos'ing your server
1...121314...91Latest