Hi Team,

I have followed below article to setup Wowza with Cloudfront.

https://www.wowza.com/forums/content...ith-CloudFront

I have created two distribution at Cloudfront. One with signed url and one without singed url.

Cloudfront distribution where signed url is disabled, HLS stream is working fine.

However Cloudfront distribution where signed url is enabled, HLS stream is not working and giving below error at VLC. Cloudfront auth is getting passed successfully.

Your input can't be opened:

VLC is unable to open the MRL 'http://d1tne0kka6flci.cloudfront.net/vodhttporigin/sample.mp4/chunklist.m3u8'. Check the log for details.
Your input can't be opened:
VLC is unable to open the MRL 'http://d1tne0kka6flci.cloudfront.net/vodhttporigin/sample.mp4/chunklist.m3u8'. Check the log for details.
Your input can't be opened:
VLC is unable to open the MRL 'http://d1tne0kka6flci.cloudfront.net/vodhttporigin/sample.mp4/chunklist.m3u8'. Check the log for details.

Logs: Cloudfront distribution where signed url is disabled.

2016-05-14 18:17:57 UTC comment server INFO 200 - ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[vodhttporigin/_definst_]: Auto-set application RTSP addresses: internal[bind]:10.164.5.239 external[origin,connection]:54.254.110.139 - - - 300488.964 -- - - - - - - - - - - - - - - - - - - - - -- -
2016-05-14 18:17:57 UTC app-start application INFO 200 _definst_ vodhttporigin/_definst_ - - - 300488.968 -- - - - - - - - - - - - - - - - - - - - - -- -
2016-05-14 18:17:57 UTC comment server INFO 200 - HTTPStreamerApplicationContextBase.init[vodhttporigin/_definst_]: HTTP Streamer is in origin mode: HTTPStreamerApplicationContextCupertinoStreamer - - - 300488.968 - - - - - - - - -- - - - - - - - - - - - - - - -
2016-05-14 18:17:57 UTC connect cupertino INFO 200 1515061230 - _defaultVHost_ vodhttporigin _definst_ 0.037 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 0 - 0 - - sample.mp4 - - -- - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:17:57 UTC create stream INFO 200 sample.mp4 - _defaultVHost_ vodhttporigin _definst_ 0.0 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 0 1 0 0 0 sample.mp4 - - - -- http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:17:57 UTC comment server INFO 200 - MediaReaderH264Cupertino.indexFile[vodhttporigin/_definst_/sample.mp4][mp4a.40.2]: AAC Audio info: {MediaCodecInfoAudio: codec:AAC, channels:2, frequency:48000, samplesPerFrame:1024, objectType:LC} - - - 0.042 - - - -- - - - - - - - - - - - - - - - - - - - -
2016-05-14 18:17:57 UTC comment server INFO 200 - MediaReaderH264Cupertino.indexFile[vodhttporigin/_definst_/sample.mp4][avc1.66.21]: H.264 Video info: {MediaCodecInfoVideo: codec:H264, profile:Baseline, level:2.1, frameSize:512x288, displaySize:512x288, frameRate:30.000000} - - - 0.042 - - - - - - - - - - - - - - - - - - - - -- - - -
2016-05-14 18:17:59 UTC play stream INFO 200 sample.mp4 - _defaultVHost_ vodhttporigin _definst_ 1.894 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 2285 1 10000 0 0 sample.mp4 - sample.mp4 mp4 58958409 634.633 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:18:43 UTC comment server INFO 200 - HTTPStreamerApplicationContextBase.init[vodhttporigin/_definst_]: HTTP Streamer is in origin mode: HTTPStreamerApplicationContextMPEGDashStreamer - - - 300534.861 - - - - - - - - -- - - - - - - - - - - - - - - -
2016-05-14 18:18:43 UTC comment server INFO 200 - HTTPStreamerApplicationContextBase.init[vodhttporigin/_definst_]: HTTP Streamer is in origin mode: HTTPStreamerApplicationContextSmoothStreamer - - - 300534.861 - - - - - - - - - -- - - - - - - - - - - - - - -
2016-05-14 18:18:43 UTC comment server INFO 200 - HTTPStreamerApplicationContextBase.init[vodhttporigin/_definst_]: HTTP Streamer is in origin mode: HTTPStreamerApplicationContextSanJoseStreamer - - - 300534.861 - - - - - - - - -- - - - - - - - - - - - - - - -
2016-05-14 18:19:22 UTC comment server INFO 200 - HTTPStreamerSessions.removeHTTPOriginSession[_defaultVHost_:vodhttporigin/_definst_/sample.mp4[cupertinostreaming]:1515061230]: remove - - - 85.076 - - - - - - - - - - - -- - - - - - - - - - - - -
2016-05-14 18:19:22 UTC stop stream INFO 200 sample.mp4 - _defaultVHost_ vodhttporigin _definst_ 85.041 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 12048287 1 120000 0 12043656 sample.mp4 - sample.mp4 mp4 58958409 634.633 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:19:22 UTC destroy stream INFO 200 sample.mp4 - _defaultVHost_ vodhttporigin _definst_ 85.044 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 12048287 1 120000 0 12043656 sample.mp4 - sample.mp4 mp4 58958409 634.633 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:19:22 UTC disconnect cupertino INFO 200 1515061230 - _defaultVHost_ vodhttporigin _definst_ 85.082 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea...854.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 12048287 - 120000 - - sample.mp4 - sample.mp4 mp4 58958409 634.633 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -

Logs: Cloudfront distribution where signed url is enabled.

2016-05-14 18:20:00 UTC connect cupertino INFO 200 1515061230 - _defaultVHost_ vodhttporigin _definst_ 122.946 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 0 - 0 - - sample.mp4 - - -- - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:20:00 UTC create stream INFO 200 sample.mp4 - _defaultVHost_ vodhttporigin _definst_ 0.002 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 0 2 0 0 0 sample.mp4 - - - -- http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:20:00 UTC comment server INFO 200 - MediaReaderH264Cupertino.indexFile[vodhttporigin/_definst_/sample.mp4][mp4a.40.2]: AAC Audio info: {MediaCodecInfoAudio: codec:AAC, channels:2, frequency:48000, samplesPerFrame:1024, objectType:LC} - - - 122.953 - - - -- - - - - - - - - - - - - - - - - - - - -
2016-05-14 18:20:00 UTC comment server INFO 200 - MediaReaderH264Cupertino.indexFile[vodhttporigin/_definst_/sample.mp4][avc1.66.21]: H.264 Video info: {MediaCodecInfoVideo: codec:H264, profile:Baseline, level:2.1, frameSize:512x288, displaySize:512x288, frameRate:30.000000} - - - 122.954 - - - - - - - - - - - - - - - - - - - - -- - - -
2016-05-14 18:20:30 UTC comment server INFO 200 - HTTPStreamerSessions.removeHTTPOriginSession[_defaultVHost_:vodhttporigin/_definst_/sample.mp4[cupertinostreaming]:1515061230]: remove - - - 153.264 - - - - - - - - - - - -- - - - - - - - - - - - -
2016-05-14 18:20:30 UTC destroy stream INFO 200 sample.mp4 - _defaultVHost_ vodhttporigin _definst_ 30.323 ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 54.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 332 2 0 0 0 sample.mp4 - sample.mp4 mp4 58958409 634.633 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:20:30 UTC disconnect cupertino INFO 200 1515061230 - _defaultVHost_ vodhttporigin _definst_ 153.269ec2-54-254-110-139.ap-southeast-1.compute.amazonaws.com 80 http://ec2-54-254-110-139.ap-southea...854.239.188.86 http (cupertino) - Amazon CloudFront 1515061230 0 332 - 0 - - sample.mp4 - sample.mp4 mp4 58958409 634.633 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 - http://ec2-54-254-110-139.ap-southea.../playlist.m3u8 -
2016-05-14 18:21:30 UTC app-stop application INFO 200 _definst_ vodhttporigin/_definst_ - - - 300702.409 -- - - - - - - - - - - - - - - - - - - - - -- -

Please help me to close this issue.

BR
Tapan Thapa