Getting issue while creating 10 video streaming

418 views
Skip to first unread message

Amit Kumar Pandey

unread,
May 6, 2020, 8:03:56 AM5/6/20
to TURN Server (Open-Source project)
Hi All,

I have configured stun and Turn server for my local video streaming and getting the following issue after 20-25+ min  which are as follow


=========================================================================================================================================
26: session 001000000000000002: new, realm=<13.233.245.185>, username=<user_name>, lifetime=3600
26: session 001000000000000002: realm <13.233.245.185> user <user_name>: incoming packet ALLOCATE processed, success
26: session 001000000000000001: realm <13.233.245.185> user <user_name>: incoming packet ALLOCATE processed, error 486: Allocation Bandwidth Quota Reached
26: session 001000000000000001: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 486: Allocation Bandwidth Quota Reached
26: session 001000000000000003: realm <13.233.245.185> user <user_name>: incoming packet ALLOCATE processed, error 486: Allocation Bandwidth Quota Reached
26: session 001000000000000003: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 486: Allocation Bandwidth Quota Reached
27: session 001000000000000001: realm <13.233.245.185> user <user_name>: incoming packet ALLOCATE processed, error 486: Allocation Bandwidth Quota Reached
27: session 001000000000000001: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 486: Allocation Bandwidth Quota Reached
27: session 001000000000000002: peer 103.208.71.252 lifetime updated: 300
27: session 001000000000000002: realm <13.233.245.185> user <user_name>: incoming packet CREATE_PERMISSION processed, success
100: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7380
100: session 000000000000000003: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
100: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7381
100: session 001000000000000004: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
100: session 001000000000000004: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Stale nonce
100: session 000000000000000003: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Stale nonce
100: session 001000000000000004: realm <13.233.245.185> user <user_name>: incoming packet REFRESH processed, error 437: Invalid allocation
100: session 001000000000000004: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 437: Invalid allocation
100: session 000000000000000003: realm <13.233.245.185> user <user_name>: incoming packet REFRESH processed, error 437: Invalid allocation
100: session 000000000000000003: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 437: Invalid allocation
100: session 000000000000000003: realm <13.233.245.185> user <user_name>: incoming packet REFRESH processed, error 437: Invalid allocation
100: session 000000000000000003: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 437: Invalid allocation
216: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7444
216: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7443
216: session 000000000000000004: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
216: session 001000000000000005: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
216: session 001000000000000005: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Stale nonce
216: session 000000000000000004: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Stale nonce
216: session 001000000000000005: realm <13.233.245.185> user <user_name>: incoming packet REFRESH processed, error 437: Invalid allocation
216: session 001000000000000005: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 437: Invalid allocation
216: session 000000000000000004: realm <13.233.245.185> user <user_name>: incoming packet REFRESH processed, error 437: Invalid allocation
216: session 000000000000000004: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 437: Invalid allocation
286: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 103.211.16.219:41597
286: session 001000000000000006: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
286: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 103.211.16.219:52103
286: session 001000000000000007: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
286: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 103.211.16.219:34147
286: session 000000000000000005: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
327: session 001000000000000002: peer 103.208.71.252 deleted
476: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.223.201.206:44432
476: session 001000000000000008: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
539: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7617
539: session 000000000000000006: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
539: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7615
539: session 000000000000000007: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
539: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7614
539: session 000000000000000008: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
539: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7616
539: session 001000000000000009: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce
539: handle_udp_packet: New UDP endpoint: local addr 172.31.21.61:3478, remote addr 106.207.191.181:7618
539: session 001000000000000010: realm <13.233.245.185> user <user_name>: incoming packet message processed, error 438: Wrong nonce

Can any guide me how and what value I need to set to resolve this issue.

I have configured following things

stale-nonce=600
max-allocate-lifetime=3600
channel-lifetime=6000
permission-lifetime=300
max-allocate-timeout=600
bps-capacity=9000000000
total-quota=10000
user-quota=100000

Also please suggest me what the relationship bitween these value so that I can scale it according to the need.

Thanks


Mappie Coder

unread,
Aug 24, 2020, 5:40:32 AM8/24/20
to TURN Server (Open-Source project)
I think your error log clearly states that you have reached limits of allocation bandwidth.
Reply all
Reply to author
Forward
0 new messages