Unable to play the video after implementing AWS Cloudfront

Hi,
Recently i have implemented AWS CloudFront by following this doc: https://www.oodlestechnologies.com/blogs/Using-Cloudfront-and-S3-in-Kaltura-Video-Platform/

But implementing video unable to play. getting this error:

https://abc/p/103/sp/10300/playManifest/entryId/0_h2mym6jm/flavorIds/0_wft7jiem,0_cppdffkh/format/applehttp/protocol/https/a.m3u8?referrer=aHR0cHM6Ly9ldGwubTUucHJlc2VudG1hYW0uY28=&ks=YjI4Nzk3ODZlZGYzMGIxNTIxNDFmNDJiMGQ0ZGIwYWIxYTc4MTFlN3wxMDM7MTAzOzE1OTgxMTkxNzY7MjsxNTk4MDMyNzc2LjYxOTc7dGFydW4uZXRsYWJAZ21haWwuY29tOyosZGlzYWJsZWVudGl0bGVtZW50Ozs&playSessionId=c5270237-78e1-10fc-0b32-e06d22bb2568&clientTag=html5:v2.83&uiConfId=23448169&responseFormat=jsonp&callback=jQuery111107818895611220844_1598032786780&_=1598032786781 404

Video is properly uploaded to the S3 bucket & if i would try to download the same video & i am also getting the Cloudfront URL & able to download but the video is unable to play from the CloudFront

Kindly help on this

Thanks

Getting this error: https://p/103/sp/10300/playManifest/entryId/0_h2mym6jm/flavorIds/0_wft7jiem,0_cppdffkh/format/applehttp/protocol/https/a.m3u8?referrer=aHR0cHM6Ly9ldGwubTUucHJlc2VudG1hYW0uY28=&ks=YjI4Nzk3ODZlZGYzMGIxNTIxNDFmNDJiMGQ0ZGIwYWIxYTc4MTFlN3wxMDM7MTAzOzE1OTgxMTkxNzY7MjsxNTk4MDMyNzc2LjYxOTc7dGFydW4uZXRsYWJAZ21haWwuY29tOyosZGlzYWJsZWVudGl0bGVtZW50Ozs&playSessionId=c5270237-78e1-10fc-0b32-e06d22bb2568&clientTag=html5:v2.83&uiConfId=23448169 404

[SOLVED]Video playing not working, As mentioned the solution into this link, I have also put my CloudFront URL into the nginx.conf & kaltura.conf But still the same behaviour

@jess, Could you please help with this? This is a blocker for us.

Hello @tarungupta,

More info is needed.
Start with posting the output for:

mysql> select * from delivery_profile\G

And remember to mask passwds/tokens.

Then, make a playManifest request (hit play in any player) and look at the /opt/kaltura/log/kaltura_prod.log to see which delivery profile is selected and ensure it’s the correct one.
Also review /opt/kaltura/log/kaltura_api_v3.log and the Nginx logs /opt/kaltura/log/kaltura_nginx_*.

Be sure to set the log verbosity to debug, for that see: