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

    dry-elephant-14928

    02/15/2021, 9:04 PM
    ah I think I know what it is.. it's a timing issue.. good catch
  • d

    dry-elephant-14928

    02/15/2021, 9:04 PM
    I'll file an issue to fix.. it's on the client side
    🙌 1
  • w

    wonderful-manchester-12533

    02/15/2021, 9:05 PM
    shweeeeet
  • s

    steep-balloon-41261

    02/16/2021, 12:11 AM
    This message was deleted.
    c
    d
    • 3
    • 13
  • s

    steep-balloon-41261

    02/17/2021, 2:21 AM
    This message was deleted.
    m
    d
    j
    • 4
    • 7
  • s

    steep-balloon-41261

    02/17/2021, 4:21 AM
    This message was deleted.
    d
    • 2
    • 1
  • w

    wonderful-manchester-12533

    02/17/2021, 8:55 PM
    Hmm, I haven't seen this in a while. Seeing it on
    0.5.0
    Copy code
    Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable
  • w

    wonderful-manchester-12533

    02/17/2021, 8:56 PM
    wait wait disregard, I think I know whats happening
  • w

    wonderful-manchester-12533

    02/17/2021, 8:56 PM
    I have 2 nodes running right now that are sharing a redis instance
  • w

    wonderful-manchester-12533

    02/17/2021, 8:56 PM
    must be the cause
  • w

    wonderful-manchester-12533

    02/17/2021, 8:56 PM
    the app retired the connection multiple times and eventually succeeded
  • w

    wonderful-manchester-12533

    02/17/2021, 8:56 PM
    we'll need to test multinode real soon
  • d

    dry-elephant-14928

    02/17/2021, 8:57 PM
    are the two nodes.. on the same physical machine ?
  • d

    dry-elephant-14928

    02/17/2021, 8:57 PM
    so currently it uses MAC address of the machine as node id.. so if two instances of the server register with the same node id, it'll wreck havoc in the routing logic
  • w

    wonderful-manchester-12533

    02/17/2021, 8:58 PM
    very likely, let me check
  • w

    wonderful-manchester-12533

    02/17/2021, 8:58 PM
    server 1:
    Copy code
    eth0      Link encap:Ethernet  HWaddr DE:65:73:BF:2E:20  
              inet addr:100.96.56.32  Bcast:100.96.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:9001  Metric:1
              RX packets:5477 errors:0 dropped:0 overruns:0 frame:0
              TX packets:10598 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:880746 (860.1 KiB)  TX bytes:1184265 (1.1 MiB)
    server 2:
    Copy code
    eth0      Link encap:Ethernet  HWaddr 0A:4D:8F:26:C5:08  
              inet addr:100.97.88.157  Bcast:100.97.88.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:9001  Metric:1
              RX packets:3864 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4961 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:629425 (614.6 KiB)  TX bytes:661189 (645.6 KiB)
  • w

    wonderful-manchester-12533

    02/17/2021, 8:59 PM
    you talking
    HWaddr
    ?
  • w

    wonderful-manchester-12533

    02/17/2021, 8:59 PM
    can you print the node id when it starts up?
  • w

    wonderful-manchester-12533

    02/17/2021, 9:01 PM
    ah it already does
  • w

    wonderful-manchester-12533

    02/17/2021, 9:01 PM
    oddly enough I see this:
    Copy code
    {
      "level": "info",
      "ts": 1613594655.2477353,
      "caller": "service/server.go:110",
      "msg": "starting LiveKit server",
      "address": ":7880",
      "nodeId": "ND_0000000000000000",
      "version": "0.5.0"
    }
  • w

    wonderful-manchester-12533

    02/17/2021, 9:01 PM
    Copy code
    ND_0000000000000000
  • w

    wonderful-manchester-12533

    02/17/2021, 9:01 PM
    seems problematic
  • d

    dry-elephant-14928

    02/17/2021, 9:01 PM
    uh oh.. so there's a bug. in getting that Mac address
  • w

    wonderful-manchester-12533

    02/17/2021, 9:01 PM
    :x
  • d

    dry-elephant-14928

    02/17/2021, 9:01 PM
    which environment is this?
  • w

    wonderful-manchester-12533

    02/17/2021, 9:01 PM
    our production environment
  • d

    dry-elephant-14928

    02/17/2021, 9:02 PM
    right, I mean more like OS/version/etc.. maybe it's an issue with docker runs
  • d

    dry-elephant-14928

    02/17/2021, 9:02 PM
    i'll investigate
  • w

    wonderful-manchester-12533

    02/17/2021, 9:02 PM
    one moment
  • w

    wonderful-manchester-12533

    02/17/2021, 9:02 PM
    actually thats defined in your dockerfile
1...171819...91Latest