Images and Video uploader issues after installing a new SSL certificate

Hi dear @Alex T⚜️

I am having a weird issue with the image and video uploader after installing a new SSL certificate.

Everything was working fine on my dev website when I was using the Let's Encrypt free SSL.

The problem started after I installed a paid SSL certificate. Both image and video seem to be uploaded just fine but there is no preview. The image thumbnail is broken and the image doesn't display. Same with the video. Its thumbnail is broken and the video doesn't play.

I have tested the new SSL certificate using the Qualys SSL Labs checker. Everything looks great, no SSL error so far.

Any idea on what might be the problem and how to fix it?

Thanks in advance.

  • 635
  • More
Replies (4)
    • I would suggest to try to enable the following option

      Studio > Developer > Settings > cURL - trust unsigned certificates or not verified hosts

      • Thanks for your reply Alex.. I have tried your solution but it didn't fix the problem.

        As the video uploader was giving me the following message: 'Video isn't published because video conversion failed, edit video to fix the issue.', I went to the 'sys_transcoder_queue' table in the database, checked the 'log'field and I saw this: .../plugins/ffmpeg/ffmpeg.exe: Permission denied error.

        After setting the permission of the ffmpeg.exe file to 'executable' (chmod 755), the video uploader started working back. Videos are being uploaded now and they play well. To be honest I don't even know how the ffmpeg.exe file lost its permission. Anyway this problem has been fixed.

        There are still two issues left:

        1. The video uploader doesn't display the video preview after the upload is 100% completed. The video thumbnail is broken. How to fix it?
        2. The issue with the photo uploader continues. No image preview in the photo uploader after the upload is 100% completed. The image thumbnail is broken. The uploaded photo doesn't display either. How to fix it?

        Thanks.

        • If permissions for ffmpeg were changed I suspect that permission of files inside storage folder could be affected too. You could also check logs/sys_transcoder.log file in UNA root folder for the errors with transcoding.

          • dear @Alex T⚜️ Thanks for your guidance. I have checked logs/sys_transcoder.log, it has the following error:

            storeFileLocally_Storage failed

            It's very strange because the /storage directory has the correct permission (755).

            The storage engine is set to 'Local' and I have enough free disk space. It's a dedicated server.

            Also, the "Remote Transcoding" option is disabled in Studio > Developer > Settings.

            As you suggested to another user in another post who was having the same issue, I have even tried to add the following line to /etc/hosts file:

            127.0.0.1 my-una.domain

            but that didn't fix my issue.

            For testing purposes and to make sure that it's not an issue related to that specific website I am working on, I made a fresh UNA install, no modifications, no data. Guess what! Even the clean UNA installation is having the very same issue:

            • The video uploader doesn't display the video preview after the upload is 100% completed. The video thumbnail is broken.
            • And No image preview in the photo uploader after the upload is 100% completed. The image thumbnail is broken. The uploaded photo doesn't display either.

            It looks like this issue has nothing to do with the SSL Certificate because I set back Let's Encrypt free SSL and problem remains.

            Please help. I am running UNA 13.1.0 (stable)

            Thanks

            Login or Join to comment.