peer-calls icon indicating copy to clipboard operation
peer-calls copied to clipboard

Error with Redis Store type

Open shakd3v opened this issue 5 years ago • 0 comments

We are trying to run peercalls main branch code with type REDIS

  config.yaml: |
    base_url: ''
    ice_servers:
    - urls:
      - 'stun:stun.communicator.xxxx.systems:3478'
      auth_type: secret
      auth_secret:
        username: xxxxxx
        secret: xxxxxx
    network:
      type: sfu
      sfu:
       protocols:
         - tcp4
         - tcp6
         - udp4
         - udp6
       udp:
         port_min: 6000
         port_max: 6020
       tcp_listen_port: 7000
    store:
      type: redis
      redis:
        host: redis-svc
        port: 6379
        prefix: peercalls

These are the services running.

kubectl get all
NAME                             READY   STATUS    RESTARTS   AGE
pod/peercalls-5fbd4f48dc-5wkx6   1/1     Running   0          17h
pod/peercalls-5fbd4f48dc-pf6tj   1/1     Running   0          17h
pod/redis                        1/1     Running   0          23h

NAME                 TYPE           CLUSTER-IP   EXTERNAL-IP     PORT(S)          AGE
service/kubernetes   ClusterIP      10.4.0.1     <none>          443/TCP          11d
service/peercalls    ClusterIP      10.4.1.22    <none>          80/TCP           8d
service/redis-svc    LoadBalancer   10.4.7.58    35.197.65.186   6379:31386/TCP   19h

NAME                        READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/peercalls   2/2     2            2           17h

NAME                                   DESIRED   CURRENT   READY   AGE
replicaset.apps/peercalls-5fbd4f48dc   2         2         2       17h

The redis works as expected from redis-cli, see below

~ $redis-cli -h 35.197.65.186
35.197.65.186:6379> GET greet
"hi"
35.197.65.186:6379> SET greet1 bye
OK
35.197.65.186:6379> GET greet1 
"bye"
35.197.65.186:6379> 

However when we test the peercalls app, we get the below errors in the kubectl logs

2020-10-19T20:48:21.919673Z [       renderer] Rendering template: index.html
2020-10-19T21:48:13.582709Z [       renderer] Rendering template: index.html
2020-10-19T22:05:07.067156Z [       renderer] Rendering template: index.html
2020-10-19T22:06:14.660781Z [       renderer] Rendering template: index.html
2020-10-19T22:07:53.482556Z [       renderer] Rendering template: index.html
2020-10-19T22:08:06.360176Z [       renderer] Rendering template: call.html
2020-10-19T22:08:06.704704Z [          redis] Subscribe peercalls:room:1:broadcast peercalls:room:1:client:*
2020-10-19T22:08:06.779466Z [            wss] [Zz8v6vSxBsEWEMViqfhcd1] New websocket connection - room: 1
2020-10-19T22:08:06.779519Z [          redis] Add clientID: Zz8v6vSxBsEWEMViqfhcd1 to room: 1
2020-10-19T22:08:06.779547Z [          redis] RedisAdapter.Broadcast type: ws_room_join to peercalls:room:1:broadcast
2020-10-19T22:08:06.784406Z [          redis] Add clientID: Zz8v6vSxBsEWEMViqfhcd1 to room: 1 done
2020-10-19T22:08:06.784442Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:broadcast, channel: peercalls:room:1:broadcast, type: ws_room_join
2020-10-19T22:08:06.785182Z [          redis] RedisAdapter.localBroadcast in room 1 of message type: ws_room_join
2020-10-19T22:08:06.785204Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: ws_room_join
2020-10-19T22:08:06.785428Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:11.474141Z [            sfu] [Zz8v6vSxBsEWEMViqfhcd1] Initiator: __SERVER__
2020-10-19T22:08:11.474659Z [          redis] SetMetadata for clientID: Zz8v6vSxBsEWEMViqfhcd1, metadata: test2 (err: %!s(<nil>))
2020-10-19T22:08:11.474821Z [          redis] Clients
2020-10-19T22:08:11.475195Z [          redis] Clients size: 1
2020-10-19T22:08:11.475307Z [          redis] RedisAdapter.Broadcast type: users to peercalls:room:1:broadcast
2020-10-19T22:08:11.475789Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:broadcast, channel: peercalls:room:1:broadcast, type: users
CREATE DATA CHANNEL
2020-10-19T22:08:11.476580Z [          redis] RedisAdapter.localBroadcast in room 1 of message type: users
2020-10-19T22:08:11.476721Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: users
2020-10-19T22:08:11.476916Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:11.477096Z [datatransceiver] [Zz8v6vSxBsEWEMViqfhcd1] DataTransceiver.handleDataChannel: data
2020-10-19T22:08:11.477196Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] NewSignaller: Initiator pre-add video transceiver
2020-10-19T22:08:11.477296Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] NewSignaller: Initiator pre-add audio transceiver
2020-10-19T22:08:11.477394Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] NewSignaller: Initiator calling Negotiate()
2020-10-19T22:08:11.477459Z [     negotiator] [Zz8v6vSxBsEWEMViqfhcd1] Negotiate
2020-10-19T22:08:11.477531Z [     negotiator] [Zz8v6vSxBsEWEMViqfhcd1] Negotiate: start
2020-10-19T22:08:11.477621Z [     negotiator] [Zz8v6vSxBsEWEMViqfhcd1] negotiate: creating offer
2020-10-19T22:08:11.478295Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] handle local offer setting local desc
2020-10-19T22:08:11.478547Z [memorytracksmanager] [Zz8v6vSxBsEWEMViqfhcd1] MemoryTrackManager.Add peer to room: 1
2020-10-19T22:08:11.478657Z [          redis] Emit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: metadata to peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1
2020-10-19T22:08:11.478589Z [     negotiator] [Zz8v6vSxBsEWEMViqfhcd1] Signaling state change: have-local-offer
2020-10-19T22:08:11.479089Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate (waiting)
2020-10-19T22:08:11.479213Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate (processing...)
2020-10-19T22:08:11.479334Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate from server peer: {__SERVER__ {{candidate:foundation 1 tcp 2124414975 10.0.2.54 7000 typ host tcptype passive %!s(*string=<nil>) %!s(*uint16=0xc00003ba7e) }}}
2020-10-19T22:08:11.479460Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate (waiting)
2020-10-19T22:08:11.479550Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate (processing...)
2020-10-19T22:08:11.479628Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate from server peer: {__SERVER__ {{candidate:foundation 1 udp 2130706431 10.0.2.54 6016 typ host %!s(*string=<nil>) %!s(*uint16=0xc00003ba86) }}}
2020-10-19T22:08:11.479761Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1, type: metadata
2020-10-19T22:08:11.479978Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: metadata
2020-10-19T22:08:11.480153Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:11.480258Z [          redis] Emit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: signal to peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1
2020-10-19T22:08:11.481257Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1, type: signal
2020-10-19T22:08:11.481410Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: signal
2020-10-19T22:08:11.481577Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:11.481731Z [          redis] Emit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: signal to peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1
2020-10-19T22:08:11.482551Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1, type: signal
2020-10-19T22:08:11.482671Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: signal
2020-10-19T22:08:11.482816Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:11.482959Z [          redis] Emit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: signal to peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1
2020-10-19T22:08:11.483709Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Zz8v6vSxBsEWEMViqfhcd1, type: signal
2020-10-19T22:08:11.483904Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: signal
2020-10-19T22:08:11.484091Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:11.538659Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Peer connection state changed: checking
2020-10-19T22:08:11.538712Z [     negotiator] [Zz8v6vSxBsEWEMViqfhcd1] Signaling state change: stable
2020-10-19T22:08:11.538905Z [  pion:ice:warn] pingAllCandidates called with no candidate pairs. Connection is not possible yet.
2020-10-19T22:08:11.543534Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Remote signal.canidate: candidate:3444613183 1 udp 2122262783 2601:601:8080:4530:c9cc:16b:1fbc:62b9 59752 typ host generation 0 ufrag N/s2 network-id 2 network-cost 10
2020-10-19T22:08:11.543662Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Remote signal.canidate: candidate:2373232069 1 udp 2122194687 10.0.0.246 59188 typ host generation 0 ufrag N/s2 network-id 1 network-cost 10
2020-10-19T22:08:11.617549Z [  pion:ice:warn] failed to resolve stun host: stun.communicator.neone.systems:3478: address stun.communicator.neone.systems: no suitable address found
2020-10-19T22:08:11.637735Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Remote signal.canidate: candidate:2211667151 1 tcp 1518283007 2601:601:8080:4530:c9cc:16b:1fbc:62b9 9 typ host tcptype active generation 0 ufrag N/s2 network-id 2 network-cost 10
2020-10-19T22:08:12.133871Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Remote signal.canidate: candidate:3287767349 1 tcp 1518214911 10.0.0.246 9 typ host tcptype active generation 0 ufrag N/s2 network-id 1 network-cost 10
2020-10-19T22:08:16.378015Z [       renderer] Rendering template: call.html
2020-10-19T22:08:16.592168Z [  pion:ice:warn] could not get server reflexive address udp4 stun:stun.communicator.neone.systems:3478: read udp4 0.0.0.0:6003: i/o timeout

2020-10-19T22:08:16.592515Z [webrtctransport] [Zz8v6vSxBsEWEMViqfhcd1] ICE gathering state changed: complete
2020-10-19T22:08:16.592535Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate (waiting)
2020-10-19T22:08:16.592542Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Got ice candidate (processing...)
2020-10-19T22:08:16.746460Z [            wss] [Ly34WDtBm4dhP2xu3ikJb1] New websocket connection - room: 1
2020-10-19T22:08:16.746503Z [          redis] Add clientID: Ly34WDtBm4dhP2xu3ikJb1 to room: 1
2020-10-19T22:08:16.746511Z [          redis] RedisAdapter.Broadcast type: ws_room_join to peercalls:room:1:broadcast
2020-10-19T22:08:16.746758Z [          redis] Add clientID: Ly34WDtBm4dhP2xu3ikJb1 to room: 1 done
2020-10-19T22:08:16.747155Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:broadcast, channel: peercalls:room:1:broadcast, type: ws_room_join
2020-10-19T22:08:16.747681Z [          redis] RedisAdapter.localBroadcast in room 1 of message type: ws_room_join
2020-10-19T22:08:16.747697Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: ws_room_join
2020-10-19T22:08:16.748038Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: ws_room_join
2020-10-19T22:08:16.748143Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:20.314169Z [            sfu] [Ly34WDtBm4dhP2xu3ikJb1] Initiator: __SERVER__
2020-10-19T22:08:20.314478Z [          redis] SetMetadata for clientID: Ly34WDtBm4dhP2xu3ikJb1, metadata: test1 (err: %!s(<nil>))
2020-10-19T22:08:20.314501Z [          redis] Clients
2020-10-19T22:08:20.314607Z [          redis] Clients size: 2
2020-10-19T22:08:20.314626Z [          redis] RedisAdapter.Broadcast type: users to peercalls:room:1:broadcast
2020-10-19T22:08:20.314813Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:broadcast, channel: peercalls:room:1:broadcast, type: users
2020-10-19T22:08:20.314835Z [          redis] RedisAdapter.localBroadcast in room 1 of message type: users
2020-10-19T22:08:20.314841Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: users
CREATE DATA CHANNEL
2020-10-19T22:08:20.314917Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: users
2020-10-19T22:08:20.314986Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:20.315526Z [datatransceiver] [Ly34WDtBm4dhP2xu3ikJb1] DataTransceiver.handleDataChannel: data
2020-10-19T22:08:20.315540Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] NewSignaller: Initiator pre-add video transceiver
2020-10-19T22:08:20.315547Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] NewSignaller: Initiator pre-add audio transceiver
2020-10-19T22:08:20.315553Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] NewSignaller: Initiator calling Negotiate()
2020-10-19T22:08:20.315558Z [     negotiator] [Ly34WDtBm4dhP2xu3ikJb1] Negotiate
2020-10-19T22:08:20.315563Z [     negotiator] [Ly34WDtBm4dhP2xu3ikJb1] Negotiate: start
2020-10-19T22:08:20.315568Z [     negotiator] [Ly34WDtBm4dhP2xu3ikJb1] negotiate: creating offer
2020-10-19T22:08:20.316113Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] handle local offer setting local desc
2020-10-19T22:08:20.316194Z [memorytracksmanager] [Ly34WDtBm4dhP2xu3ikJb1] MemoryTrackManager.Add peer to room: 1
2020-10-19T22:08:20.316219Z [     negotiator] [Ly34WDtBm4dhP2xu3ikJb1] Signaling state change: have-local-offer
2020-10-19T22:08:20.316262Z [          redis] Emit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: metadata to peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1
2020-10-19T22:08:20.316482Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate (waiting)
2020-10-19T22:08:20.316492Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate (processing...)
2020-10-19T22:08:20.316504Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate from server peer: {__SERVER__ {{candidate:foundation 1 tcp 2124414975 10.0.2.54 7000 typ host tcptype passive %!s(*string=<nil>) %!s(*uint16=0xc0001a16fe) }}}
2020-10-19T22:08:20.316567Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate (waiting)
2020-10-19T22:08:20.316573Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate (processing...)
2020-10-19T22:08:20.316580Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate from server peer: {__SERVER__ {{candidate:foundation 1 udp 2130706431 10.0.2.54 6002 typ host %!s(*string=<nil>) %!s(*uint16=0xc0001a1716) }}}
2020-10-19T22:08:20.316738Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1, type: metadata
2020-10-19T22:08:20.316749Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: metadata
2020-10-19T22:08:20.316923Z [          redis] Emit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: signal to peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1
2020-10-19T22:08:20.317162Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:20.376141Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1, type: signal
2020-10-19T22:08:20.376179Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: signal
2020-10-19T22:08:20.376301Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:20.376360Z [          redis] Emit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: signal to peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1
2020-10-19T22:08:20.376665Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1, type: signal
2020-10-19T22:08:20.376678Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: signal
2020-10-19T22:08:20.376751Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:20.376767Z [          redis] Emit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: signal to peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1
2020-10-19T22:08:20.377010Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:client:*, channel: peercalls:room:1:client:Ly34WDtBm4dhP2xu3ikJb1, type: signal
2020-10-19T22:08:20.377020Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: signal
2020-10-19T22:08:20.377083Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:20.402496Z [  pion:ice:warn] failed to resolve stun host: stun.communicator.neone.systems:3478: address stun.communicator.neone.systems: no suitable address found
2020-10-19T22:08:20.410028Z [     negotiator] [Ly34WDtBm4dhP2xu3ikJb1] Signaling state change: stable
2020-10-19T22:08:20.410081Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Peer connection state changed: checking
2020-10-19T22:08:20.410122Z [  pion:ice:warn] pingAllCandidates called with no candidate pairs. Connection is not possible yet.
2020-10-19T22:08:20.411255Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Remote signal.canidate: candidate:3444613183 1 udp 2122262783 2601:601:8080:4530:c9cc:16b:1fbc:62b9 56338 typ host generation 0 ufrag 2fc1 network-id 2 network-cost 10
2020-10-19T22:08:20.411353Z [  pion:ice:warn] pingAllCandidates called with no candidate pairs. Connection is not possible yet.
2020-10-19T22:08:20.411421Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Remote signal.canidate: candidate:2373232069 1 udp 2122194687 10.0.0.246 49550 typ host generation 0 ufrag 2fc1 network-id 1 network-cost 10
2020-10-19T22:08:20.510494Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Remote signal.canidate: candidate:2211667151 1 tcp 1518283007 2601:601:8080:4530:c9cc:16b:1fbc:62b9 9 typ host tcptype active generation 0 ufrag 2fc1 network-id 2 network-cost 10
2020-10-19T22:08:20.515780Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Remote signal.canidate: candidate:3287767349 1 tcp 1518214911 10.0.0.246 9 typ host tcptype active generation 0 ufrag 2fc1 network-id 1 network-cost 10
2020-10-19T22:08:25.412510Z [  pion:ice:warn] could not get server reflexive address udp4 stun:stun.communicator.neone.systems:3478: read udp4 0.0.0.0:6000: i/o timeout

2020-10-19T22:08:25.412923Z [webrtctransport] [Ly34WDtBm4dhP2xu3ikJb1] ICE gathering state changed: complete
2020-10-19T22:08:25.413040Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate (waiting)
2020-10-19T22:08:25.413127Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Got ice candidate (processing...)
2020-10-19T22:08:41.575001Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Peer connection state changed: failed
2020-10-19T22:08:41.575096Z [      roompeers] removePeer: Zz8v6vSxBsEWEMViqfhcd1
2020-10-19T22:08:41.575141Z [            sfu] [Zz8v6vSxBsEWEMViqfhcd1] Peer connection closed, emitting hangUp event
2020-10-19T22:08:41.575307Z [webrtctransport] [Zz8v6vSxBsEWEMViqfhcd1] ICE gathering state changed: closed
2020-10-19T22:08:41.575353Z [   pion:pc:warn] Failed to start manager: the agent is closed
2020-10-19T22:08:41.575370Z [   pion:pc:warn] Failed to start SCTP: DTLS not established
2020-10-19T22:08:41.575387Z [   pion:pc:warn] undeclaredMediaProcessor failed to open SrtcpSession: the DTLS transport has not started yet
2020-10-19T22:08:41.575399Z [      signaller] [Zz8v6vSxBsEWEMViqfhcd1] Peer connection state changed: closed
2020-10-19T22:08:41.575413Z [   pion:pc:warn] undeclaredMediaProcessor failed to open SrtpSession: the DTLS transport has not started yet
2020-10-19T22:08:41.575114Z [datatransceiver] [Zz8v6vSxBsEWEMViqfhcd1] DataTransceiver.Close
2020-10-19T22:08:41.575672Z [          redis] SetMetadata for clientID: Zz8v6vSxBsEWEMViqfhcd1, metadata:  (err: %!s(<nil>))
2020-10-19T22:08:41.575689Z [          redis] RedisAdapter.Broadcast type: hangUp to peercalls:room:1:broadcast
2020-10-19T22:08:41.575963Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:broadcast, channel: peercalls:room:1:broadcast, type: hangUp
2020-10-19T22:08:41.575981Z [          redis] RedisAdapter.localBroadcast in room 1 of message type: hangUp
2020-10-19T22:08:41.575987Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: hangUp
2020-10-19T22:08:41.576061Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: hangUp
2020-10-19T22:08:41.576095Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))
2020-10-19T22:08:50.443544Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Peer connection state changed: failed
2020-10-19T22:08:50.443630Z [      roompeers] removePeer: Ly34WDtBm4dhP2xu3ikJb1
2020-10-19T22:08:50.443645Z [datatransceiver] [Ly34WDtBm4dhP2xu3ikJb1] DataTransceiver.Close
2020-10-19T22:08:50.443829Z [            sfu] [Ly34WDtBm4dhP2xu3ikJb1] Peer connection closed, emitting hangUp event
2020-10-19T22:08:50.444072Z [webrtctransport] [Ly34WDtBm4dhP2xu3ikJb1] ICE gathering state changed: closed
2020-10-19T22:08:50.444100Z [   pion:pc:warn] Failed to start manager: the agent is closed
2020-10-19T22:08:50.444116Z [   pion:pc:warn] Failed to start SCTP: DTLS not established
2020-10-19T22:08:50.444146Z [   pion:pc:warn] undeclaredMediaProcessor failed to open SrtcpSession: the DTLS transport has not started yet
2020-10-19T22:08:50.444157Z [      signaller] [Ly34WDtBm4dhP2xu3ikJb1] Peer connection state changed: closed
2020-10-19T22:08:50.444174Z [   pion:pc:warn] undeclaredMediaProcessor failed to open SrtpSession: the DTLS transport has not started yet
2020-10-19T22:08:50.475873Z [          redis] SetMetadata for clientID: Ly34WDtBm4dhP2xu3ikJb1, metadata:  (err: %!s(<nil>))
2020-10-19T22:08:50.476763Z [          redis] RedisAdapter.Broadcast type: hangUp to peercalls:room:1:broadcast
2020-10-19T22:08:50.477970Z [          redis] RedisAdapter.handleMessage pattern: peercalls:room:1:broadcast, channel: peercalls:room:1:broadcast, type: hangUp
2020-10-19T22:08:50.478442Z [          redis] RedisAdapter.localBroadcast in room 1 of message type: hangUp
2020-10-19T22:08:50.478533Z [          redis] RedisAdapter.localEmit clientID: Zz8v6vSxBsEWEMViqfhcd1, type: hangUp
2020-10-19T22:08:50.478871Z [          redis] RedisAdapter.localEmit clientID: Ly34WDtBm4dhP2xu3ikJb1, type: hangUp
2020-10-19T22:08:50.479558Z [          redis] RedisAdapter.handleMessage done (err: %!s(<nil>))

Please let us know if we are missing any setting here.

shakd3v avatar Oct 20 '20 00:10 shakd3v