<p dir="ltr">Hi Laszlo,<br>
>From the log you sent, it looks look your 4 wowza back ends are sick and won't get any requests. You would normally get a 503 on your client in this case unless, as suggested by someone else, you have v long timeouts on b.end config?<br>
First make sure varnish treats your back end correctly.</p>
<p dir="ltr">It's been some years since I used wowza/hls , but if you are sending encrypted streams, make sure all your wowza nodes have the key and session info available - otherwise you need to have sticky sessions. This may apply ad well for non encrypted streams, wowza may have shared session info nowadays, YMMV, etc..</p>
<p dir="ltr">As suggested also, first step would make sure you see your client request in varnishlog (regardless of the success of the request).. As it stands, there's nothing there, you may be getting firewalled upstream...</p>
<p dir="ltr">Good luck,</p>
<div class="gmail_quote">On 24/10/2014 12:48 am, "Laszlo Danielisz" <<a href="mailto:laszlo.danielisz@yahoo.com">laszlo.danielisz@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:16px"><div><span>Hi Andreas,</span></div><div style="background-color:transparent"><span><br clear="none"></span></div><div style="background-color:transparent"><span>I'm sending the varnishlog, I could not find anything about the request in it.</span></div><div style="background-color:transparent">What is interesting is that varnish reports the backends sick after a couple seconds BUT with "HTTP 200 OK", while the .url defined in the probe is still up.</div><div style="background-color:transparent"><br clear="none"></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">root@rdr00-cdn# varnishlog</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7fffff5fabf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7fffff3f9bf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7fffff1f8bf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7ffffeff7bf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7ffffedf6bf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd vcl.load
"boot" ./<a href="http://vcl.mY4NLfsb.so">vcl.mY4NLfsb.so</a></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend0 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend0 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend0 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend2 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend2 Still healthy ------H 0
0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend2 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy ------H 0 0
0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy ------H 0 0 0 0.000000 0.000000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 36 Loaded "./<a href="http://vcl.mY4NLfsb.so">vcl.mY4NLfsb.so</a>" as "boot"</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd vcl.use "boot"</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200
0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7ffffe7f3bf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Debug - "Acceptor is kqueue"</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7ffffdbedbf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0
WorkThread - 0x7ffffd9ecbf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7ffffd7ebbf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 WorkThread - 0x7ffffd5eabf0 start</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control:
no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection:
close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend2 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend0 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070353 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070356 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19
PONG 1414070360 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070363 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend0 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend2 Still healthy 4--X--- 3 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070366 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070369 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI
- Wr 200 19 PONG 1414070372 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend3 Went sick 4--X--- 2 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend0 Went sick 4--X--- 2 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend2 Went sick 4--X--- 2 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 Backend_health - backend1 Went sick 4--X--- 2 3 5 0.000000 0.000000 HTTP/1.1 200 OK</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Accept-Ranges: bytes</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Server: WowzaStreamingEngine/4.1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Cache-Control: no-cache</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Connection: close</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">Content-T</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070375 1.0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Rd ping</div><div style="background-color:transparent"></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"> 0 CLI - Wr 200 19 PONG 1414070378 1.0</div><div style="background-color:transparent"><br clear="none"></div><div style="background-color:transparent"><br clear="none"></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica"><span style="font-family:'Courier New',courier,monaco,monospace,sans-serif;font-size:16px">This is what I get with curl from varnish, and it times out after a while. The firewall os off.</span></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">$ curl -v
<a href="http://127.29.90.120/crossdomain.xml">http://127.29.90.120/crossdomain.xml</a></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* About to connect() to 127.29.90.120 port 80 (#0)</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* Trying 127.29.90.120...</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* Adding handle: conn: 0x7fc720803000</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* Adding handle: send: 0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* Adding handle: recv: 0</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* Curl_addHandleToPipeline: length: 1</div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">* - Conn 0 (0x7fc720803000) send_pipe: 1, recv_pipe: 0</div><div><span></span></div><div style="margin-top:0px;margin-bottom:0px;font-size:12px;font-family:Helvetica">^C</div> <div><br><br></div><div style="display:block"> <div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <font face="Arial"> On Thursday, October 23, 2014 1:43 PM, Andreas Plesner Jacobsen <<a href="mailto:apj@mutt.dk">apj@mutt.dk</a>> wrote:<br> </font> </div> <br><br> <div>On Thu, Oct 23, 2014 at 04:28:53AM -0700, Laszlo Danielisz wrote:<div><br clear="none">> <br clear="none">> I'm trying to use varnish for load balance and cache in front of streaming servers.<br clear="none">> The stream is HTTP Live streaming based which means there are a bunch of playlists (m3u8) and chunk files (.ts).<br clear="none">> The thing is if I try to get a http page it is working, but I get no response if I'm trying to play a stream?</div><br clear="none"><br clear="none">Define "no response", and send a varnishlog of the failed request.<br clear="none"><br clear="none">-- <br clear="none">Andreas<br clear="none"><br clear="none">_______________________________________________<br clear="none">varnish-misc mailing list<br clear="none"><a shape="rect">varnish-misc@varnish-cache.org</a><br clear="none"><a shape="rect">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><div><br clear="none"></div><br><br></div> </div> </div> </div> </div></div><br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div>