"No 'Access-Control-Allow-Origin' header is present" player error at browser console


We’re getting the following error at the browser console when trying to play any video:

Access to XMLHttpRequest at ‘https://daupara.com.co:8443/hls/p/102/sp/10200/serveFlavor/entryId/0_v10pgm85/v/2/ev/4/flavorId/0_5by6l5iw/name/a.mp4/index.m3u8’ from origin ‘https://daupara.com.co’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

This is the report from SSH terminal

The server was working ok, but we had to reconfigure the NFS storage link and the SSL path and it stopped working. The videos are uploading without any error, only the player is failing.

We are using Nginx for streaming. We already reconfigured it with the kaltura-nginx script

Any help will be appreciated


We solved adding the port to the server directive in /etc/nginx/nginx.conf a solution that was previously given by Jess at this post

Hi @jaguardigital ,

Glad to hear we’re good.
And well done for updating your post with an answer as well:) This way, other users can also benefit from your experience.