Intermittent issue with PDF.js v2.6.347 in OJS version 3.3.0.15

Hello,
I am encountering an intermittent issue with PDF.js v2.6.347 in OJS version [3.3.0.15]. Occasionally, instead of displaying the PDF file at this address: https://revista.adp.edu.pe/index.php/RPI/issue/view/rv_135_2024/55, the following error message is shown:

DF.js v2.6.347 (build: 3be9c65f)
Message: Unexpected server response (500) while retrieving PDF “https://revista.adp.edu.pe/index.php/RPI/issue/download/rv_135_2024/55”.

Could you please advise on what might be causing this issue?

Thank you.
CV ADP - 2025-04-27 18.58.43

Hi @virtual-orbis,

Others have reported this issue as well. It is often tied to file permissions. Please see here:

and here: Pdf.js Viewer 404 not found error in 3.4.0.8 version of OJS - #2 by rcgillis

-Roger
PKP Team

I think that in my case the problem is different because when the error message appears, I can open the same URL in a tab with incognito mode and the problem is resolved. So I was wondering if OJS does have any log file I can check.

Hi @virtual-orbis,

Yes - you can check your PHP error log for messages that might provide more clues about the issue. See this post here:

-Roger
PKP Team

maybe your php version not support or file missing.

have you tried clearing your data cache?

Something I have done is suggesting to download the PDF file when the problem appears