Skip to content

Instantly share code, notes, and snippets.

@cyuste
Created November 23, 2022 20:26
Show Gist options
  • Save cyuste/c1a6dbb23bb8b5595ffb9ac6efcd4a6f to your computer and use it in GitHub Desktop.
Save cyuste/c1a6dbb23bb8b5595ffb9ac6efcd4a6f to your computer and use it in GitHub Desktop.
kvsWebrtcClientMaster logs
carlos@cy-ubuntu:~/Repos/amazon-kinesis-video-streams-webrtc-sdk-c/Debug/samples$ ./kvsWebrtcClientMaster watchbot-xx
[KVS Master] Using trickleICE by default
[KVS Master] Created signaling channel watchbot-xx
[KVS Master] Finished setting audio and video handlers
[KVS Master] Checked sample video frame availability....available
[KVS Master] Checked sample audio frame availability....available
2022-11-23 20:18:15 VERBOSE pregenerateCertTimerCallback(): New certificate has been pre-generated and added to the queue
2022-11-23 20:18:15 INFO initKvsWebRtc(): SDK version: ced19d02ed6fbc1e59dd63bc19d847c5ec5ebf47
[KVS Master] KVS WebRTC initialization completed successfully
2022-11-23 20:18:15 VERBOSE createSignalingClientSync(): Creating Signaling Client Sync
2022-11-23 20:18:15 VERBOSE createRetryStrategyForCreatingSignalingClient(): Using exponential backoff retry strategy for creating signaling client
2022-11-23 20:18:15 VERBOSE normalizeExponentialBackoffConfig(): Thread Id [139929243625280]. Exponential backoff retry strategy config - maxRetryCount: [0], maxRetryWaitTime: [160000000], retryFactorTime: [10000000], minTimeToResetRetryState: [900000000], jitterType: [1], jitterFactor: [0],
2022-11-23 20:18:15 VERBOSE resetExponentialBackoffRetryState(): Thread Id [139929243625280]. Resetting Exponential Backoff State. Last retry system time [0], retry count so far [0], Current system time [16692346951884317]
2022-11-23 20:18:15 VERBOSE exponentialBackoffRetryStrategyWithDefaultConfigCreate(): Created exponential backoff retry strategy state with default configuration.
2022-11-23 20:18:15 VERBOSE normalizeExponentialBackoffConfig(): Thread Id [139929243625280]. Exponential backoff retry strategy config - maxRetryCount: [0], maxRetryWaitTime: [100000000], retryFactorTime: [1000000], minTimeToResetRetryState: [900000000], jitterType: [1], jitterFactor: [0],
2022-11-23 20:18:15 VERBOSE resetExponentialBackoffRetryState(): Thread Id [139929243625280]. Resetting Exponential Backoff State. Last retry system time [0], retry count so far [0], Current system time [16692346951985461]
2022-11-23 20:18:15 VERBOSE exponentialBackoffRetryStrategyCreate(): Created exponential backoff retry strategy state with provided retry configuration.
[2022/11/23 21:18:15:2188] N: LWS: 4.2.1-v4.2.2, loglevel 7
[2022/11/23 21:18:15:2188] N: NET CLI H1 H2 WS ConMon IPv6-absent
[2022/11/23 21:18:15:2246] N: ++ [wsi|0|pipe] (1)
[2022/11/23 21:18:15:2272] N: ++ [vh|0|netlink] (1)
[2022/11/23 21:18:15:2272] N: ++ [vh|1|default||-1] (2)
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 21
2022-11-23 20:18:15 VERBOSE signalingClientStateChanged(): Signaling client state changed to 1 - 'New'
2022-11-23 20:18:15 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:15 VERBOSE signalingClientStateChanged(): Signaling client state changed to 2 - 'Get Security Credentials'
[KVS Master] Signaling client created successfully
2022-11-23 20:18:15 VERBOSE signalingClientFetchSync(): Signaling Client Fetch Sync
2022-11-23 20:18:15 VERBOSE createRetryStrategyForCreatingSignalingClient(): Using exponential backoff retry strategy for creating signaling client
2022-11-23 20:18:15 VERBOSE normalizeExponentialBackoffConfig(): Thread Id [139929243625280]. Exponential backoff retry strategy config - maxRetryCount: [0], maxRetryWaitTime: [160000000], retryFactorTime: [10000000], minTimeToResetRetryState: [900000000], jitterType: [1], jitterFactor: [0],
2022-11-23 20:18:15 VERBOSE resetExponentialBackoffRetryState(): Thread Id [139929243625280]. Resetting Exponential Backoff State. Last retry system time [0], retry count so far [0], Current system time [16692346952286093]
2022-11-23 20:18:15 VERBOSE exponentialBackoffRetryStrategyWithDefaultConfigCreate(): Created exponential backoff retry strategy state with default configuration.
2022-11-23 20:18:15 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000004, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:15 VERBOSE signalingClientStateChanged(): Signaling client state changed to 3 - 'Describe Channel'
2022-11-23 20:18:15 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000004, Next state: 0x0000000000000010, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:15 VERBOSE signalingClientStateChanged(): Signaling client state changed to 5 - 'Get Channel Endpoint'
2022-11-23 20:18:15 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000020, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:15 VERBOSE signalingClientStateChanged(): Signaling client state changed to 6 - 'Get ICE Server Configuration'
2022-11-23 20:18:15 VERBOSE lwsCompleteSync(): Perform secure synchronous call for URL: https://r-d1721414.kinesisvideo.eu-west-1.amazonaws.com/v1/get-ice-server-config
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 27
2022-11-23 20:18:15 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 27
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 85
[2022/11/23 21:18:15:2287] N: ++ [wsicli|0|POST/h1/r-d1721414.kinesisvideo.eu-west-1.amazonaws.] (1)
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 105
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 19
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 31
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 71
2022-11-23 20:18:15 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 71
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 71
2022-11-23 20:18:15 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 71
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 71
2022-11-23 20:18:15 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 71
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 29
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 24
2022-11-23 20:18:15 DEBUG lwsHttpCallbackRoutine(): Client append handshake header
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Appending header - Authorization: AWS4-HMAC-SHA256 Credential=<redacted>20221123/eu-west-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=ce9c456587ca5979955bb3ee05801a98b850ffc810f5cb831a7a2b6a8ba06e60
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Appending header - content-length: 149
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Appending header - content-type: application/json
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Appending header - user-agent: AWS-SDK-KVS/3.0.0 GCC/11.3.0 Linux/5.15.0-53-generic x86_64
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Appending header - X-Amz-Date: 20221123T201815Z
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Appending header - x-amz-security-token: <redacted>
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 57
2022-11-23 20:18:15 DEBUG lwsHttpCallbackRoutine(): Sending the body {
"ChannelARN": "arn:aws:kinesisvideo:eu-west-1:434723500000:channel/watchbot-xx/1662022372034",
"ClientId": "ProducerMaster",
"Service": "TURN"
}, size 149
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 2
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 44
2022-11-23 20:18:15 DEBUG lwsHttpCallbackRoutine(): Connected with server response: 200
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Date Header Returned By Server: Wed, 23 Nov 2022 20:18:15 GMT
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 46
2022-11-23 20:18:15 DEBUG lwsHttpCallbackRoutine(): Received client http
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 48
2022-11-23 20:18:15 DEBUG lwsHttpCallbackRoutine(): Received client http read: 969 bytes
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): Received client http read response: {"IceServerList":[{"Password":"<redacted>","Ttl":300,"Uris":["turn:54-220-28-69.t-e22a89b9.kinesisvideo.eu-west-1.amazonaws.com:443?transport=udp","turns:54-220-28-69.t-e22a89b9.kinesisvideo.eu-west-1.amazonaws.com:443?transport=udp","turns:54-220-28-69.t-e22a89b9.kinesisvideo.eu-west-1.amazonaws.com:443?transport=tcp"],"Username":"1669234995:<redacted>"},{"Password":"<redacted>","Ttl":300,"Uris":["turn:34-243-233-189.t-e22a89b9.kinesisvideo.eu-west-1.amazonaws.com:443?transport=udp","turns:34-243-233-189.t-e22a89b9.kinesisvideo.eu-west-1.amazonaws.com:443?transport=udp","turns:34-243-233-189.t-e22a89b9.kinesisvideo.eu-west-1.amazonaws.com:443?transport=tcp"],"Username":"<redacted"}]}
2022-11-23 20:18:15 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 47
2022-11-23 20:18:15 DEBUG lwsHttpCallbackRoutine(): Http client completed
2022-11-23 20:18:15 VERBOSE pregenerateCertTimerCallback(): New certificate has been pre-generated and added to the queue
2022-11-23 20:18:16 VERBOSE pregenerateCertTimerCallback(): New certificate has been pre-generated and added to the queue
2022-11-23 20:18:20 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 45
2022-11-23 20:18:20 DEBUG lwsHttpCallbackRoutine(): Client http closed
2022-11-23 20:18:20 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 30
[2022/11/23 21:18:20:7630] N: -- [wsicli|0|POST/h1/r-d1721414.kinesisvideo.eu-west-1.amazonaws.] (0) 5.534s
2022-11-23 20:18:45 ERROR signalingFetchSync(): operation returned status code: 0x0000000f
2022-11-23 20:18:45 ERROR signalingClientFetchSync(): Create Signaling Sync API returned [0x0000000f] 7
2022-11-23 20:18:45 VERBOSE validateAndUpdateExponentialBackoffStatus(): Status changed from BACKOFF_NOT_STARTED to BACKOFF_IN_PROGRESS
2022-11-23 20:18:45 VERBOSE getExponentialBackoffRetryStrategyWaitTime():
Thread Id [139929243625280] Number of retries [1], Retry wait time [1008] ms, Retry system time [16692347252385755]
2022-11-23 20:18:45 VERBOSE signalingClientFetchSync(): Attempting to back off for [10083.870117] milliseconds before creating signaling client again. Signaling client creation retry count [15]
2022-11-23 20:18:46 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000004, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:46 VERBOSE signalingClientStateChanged(): Signaling client state changed to 3 - 'Describe Channel'
2022-11-23 20:18:46 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000004, Next state: 0x0000000000000010, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:46 VERBOSE signalingClientStateChanged(): Signaling client state changed to 5 - 'Get Channel Endpoint'
2022-11-23 20:18:46 VERBOSE stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000020, Current local state retry count [0], Max local state retry count [1], State transition wait time [0] ms
2022-11-23 20:18:46 VERBOSE signalingClientStateChanged(): Signaling client state changed to 6 - 'Get ICE Server Configuration'
2022-11-23 20:18:46 VERBOSE lwsCompleteSync(): Perform secure synchronous call for URL: https://r-d1721414.kinesisvideo.eu-west-1.amazonaws.com/v1/get-ice-server-config
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 85
[2022/11/23 21:18:46:2472] N: ++ [wsicli|1|POST/h1/r-d1721414.kinesisvideo.eu-west-1.amazonaws.] (1)
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 105
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 19
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 29
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 24
2022-11-23 20:18:46 DEBUG lwsHttpCallbackRoutine(): Client append handshake header
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): Appending header - Authorization: AWS4-HMAC-SHA256 Credential=<Redacted>/20221123/eu-west-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=0aeff8083ec3023ee4e95eec7fc817176aeffa103fe43af683f2034e39406d65
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): Appending header - content-length: 149
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): Appending header - content-type: application/json
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): Appending header - user-agent: AWS-SDK-KVS/3.0.0 GCC/11.3.0 Linux/5.15.0-53-generic x86_64
2022-11-23 20:18:46 VERBOSE lwsHttpCallbackRoutine(): Appending header - X-Amz-Date: 20221123T201846Z
<log continue in loop indefinitely>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment