Discussion:
Issue on Multiple requests Connection Timeout
Vasanth Mathivanan
2018-10-15 19:44:20 UTC
Permalink
Hi,

We are testing about live streaming (.m3u8) in traffic server giving 500 concurrent requests .its having issue on different errors .

Video playback is struggling when concurrent request reaches more than 300, we already enabled collapsed_forwarding in trafficserver


Source log :

110016 [Thread-341] 2018-10-15 12:19:09,205 com.x.x.x.x.player.ffmpegPlayer :: Stream from process: YY00CJ885842 ,erro: http://x.x.x.x:8003/EvoLive/FOODHD/FOODHD.m3u8: Connection reset by peer

114656 [Thread-431] 2018-10-15 12:19:13,845 com.x.x.x.x.player.ffmpegPlayer :: Stream from process: YY00CJ885932 ,erro: http://x.x.x.x:8003/EvoLive/FOODHD/FOODHD.m3u8: Connection timed out
Stoped : YY00CJ885932

140126 [Thread-363] 2018-10-15 12:19:39,315 com.x.x.x.x.player.ffmpegPlayer :: Stream from process: YY00CJ885864 ,erro: http://x.x.x.x:8003/EvoLive/FOODHD/FOODHD.m3u8: Immediate exit requested

Traffic_server log:

20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m06s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'

__Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Jeremy Payne
2018-10-16 18:53:33 UTC
Permalink
re: 502 reponse

Is your origin not available during this time or are you hitting the
connection(aka first-byte) timeout?

proxy.config.http.connect_attempts_timeout

Also.. I believe you are showing the error log entries.. do you see
corresponding 303s for the same timestamp in the access log ?




On Mon, Oct 15, 2018 at 2:44 PM Vasanth Mathivanan
Post by Vasanth Mathivanan
Hi,
We are testing about live streaming (.m3u8) in traffic server giving 500 concurrent requests .its having issue on different errors .
Video playback is struggling when concurrent request reaches more than 300, we already enabled collapsed_forwarding in trafficserver
110016 [Thread-341] 2018-10-15 12:19:09,205 com.x.x.x.x.player.ffmpegPlayer :: Stream from process: YY00CJ885842 ,erro: http://x.x.x.x:8003/EvoLive/FOODHD/FOODHD.m3u8: Connection reset by peer
114656 [Thread-431] 2018-10-15 12:19:13,845 com.x.x.x.x.player.ffmpegPlayer :: Stream from process: YY00CJ885932 ,erro: http://x.x.x.x:8003/EvoLive/FOODHD/FOODHD.m3u8: Connection timed out
Stoped : YY00CJ885932
140126 [Thread-363] 2018-10-15 12:19:39,315 com.x.x.x.x.player.ffmpegPlayer :: Stream from process: YY00CJ885864 ,erro: http://x.x.x.x:8003/EvoLive/FOODHD/FOODHD.m3u8: Immediate exit requested
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m05s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
20181015.12h36m06s RESPONSE: sent x.x.x.x status 502 (Connection Failed) for 'http://50.224.139.65:81/EvoLive/FOODHD/FOODHD_854x396_high_1200_000146844.ts'
__Vasanth
Sent from Mail for Windows 10
Loading...