MPDL / KEEPER

This repository contains files for the KEEPER development
http://keeper.mpdl.mpg.de
7 stars 0 forks source link

Problems with pdf-files #416

Closed hofmannc closed 4 years ago

hofmannc commented 4 years ago

Testserver: qa keeper Browser: firefox 77.0.1 (64-Bit) Chrome 83.0.4103.61 Version: Seafile 7.1.3

Actions: open pdf-file, e.g. Cared Data Certificate

Observations: from 16:38 pm on, the pdf-files could not be opened corretly, see screenshot, I tried several files, just one file was displayed one time, the next time it did not work out anymore

grafik

While testing in the morning of June 3rd, there were no problems with pdf display

Expected result: pdf files open correctly

vmakarenko commented 4 years ago

I can reproduce the behavior Ubuntu 20.04 Chrome 83.0.4103.97 (Official Build) (64-bit) FF 77.0.1 (64-bit) Bad internet connection from HomeOffice (massive packets loss) and via MPDL VPN PDFs over 200KB are not displayed, but not always. Error catched in Chrome DevTools->Console:

net::ERR_CONTENT_LENGTH_MISMATCH 200 
viewer.js:989 Uncaught (in promise) Error: An error occurred while loading the PDF.
    at viewer.js:989
(anonymous) @ viewer.js:989

Observation on PROD: same PDFs are always shown. Seafile logs are clean, no related error messages.

vmakarenko commented 4 years ago

fixed: set correct owner for nginx cache dirs. See https://itnext.io/step-over-nginx-buffer-issue-94a498bedb82 chown -R www-data:www-data /var/cache/nginx

hofmannc commented 4 years ago

Testserver: qa keeper Browser: firefox 77.0.1 (64-Bit) Chrome 83.0.4103.61 Version: Seafile 7.1.3 Result: ok