Error with file PDF Viewer and Bubble file uploader

I noticed that the pluging PDF viewer can’rt view recent uploaded file to the database as it gives the following error:
PDF.js v2.0.943 (build: dc98bf76)
Message: file origin does not match viewer’s

I noticed also that the PDF viewer can still view old uploaded PDF files from the database, so i investigated the database more and noticed that the bult in file uploader on bubble has changed the storage location, the old files were stored on (https://s3.amazonaws.com/appforest_uf), while the new files are stored on (https://mydomainname.cdn.bubble.io/).
Can any one help me understand the cause of this problem and how to fix it? Thanks in advance.

Having this very same issue, any help would be appreciated.

Hi! Same here, still not able to figure it out, any progress?

So as of now I decided to use solution from this tred:

The only thing now works

Hi,

I have developed this pdfviewer plugin.
Kindly update the pdf viewer version in your bubble app.

There is some important notes in the plugin description kindly check it.

When the search link in the bank it comes like this " //mydomainname.cdn.bubble.io/" if you concatenate it with “https:” it will work.

Ex: “https://mydomainname.cdn.bubble.io/”

link image after bank search:

Image of how I solved it:
image

When the search link in the bank it comes like this " //mydomainname.cdn.bubble.io/" if you concatenate it with “https:” it will work.

Ex: “https://mydomainname.cdn.bubble.io/”

link image after bank search:

Image of how I solved it:
image

:dizzy_face: :face_with_symbols_over_mouth:
I spend 6 hours today looking for the solution. Thanks for your reply!

Looks like I should tell, that all was great before today and strait time we deploy to live - next day it happened…

Thank you for providing the solution, i update the plugin to the latest version and modified the dynamic link to start with https: as per your instructions and it is now working well, Thank you.