-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some PDFs don't open #1033
Comments
I am able to open the PDF.js in my mac. but I am using pdf.js version bundled with my browser.
|
Another one via brave/browser-laptop#14674 (comment) chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/https://onlinelibrary.wiley.com/doi/pdf/10.1111/cdev.12853 It is especially annoying with pdf's that require login, because those can't be wget-ed either. |
www.chase.com >> cannot open my monthly statements ("open as pdf") (CAN login and browse site) CHASE.com ERROR: Brave is up to date Does not matter if shields are up or down |
Just encountered the same in Version 0.55.22 Chromium: 70.0.3538.77 (Official Build) (64-bit) while trying to download a certificate from OpenLearn: "Invalid or corrupted PDF file." Clicking on "More information" gives me this:
Download link worked without issue in Firefox Nightly 65.0a1. |
Still having this problem on 0.56.15 on numerous sites, some of them work-critical. |
@shriram Thank you for the feedback. If you have a couple URLs that can be shared, that would be helpful. I suspect there may be a couple scenarios represented here, and more data will certainly help to ensure all issues are addressed. |
Right now all the ones I can think of were behind authentication barriers,
and they represent confidential information. I know that's frustrating to
hear!
But in the two most immediate cases I can think of — one a recommendation
letter upload, the other a pay stub viewing — the PDF viewing was
_embedded_ in a Web page, rather than shown in a stand-alone page. (The
latter, for instance, was inside the popular WorkDay system.) Whereas I
haven't seen the problem with ia stand-alone PDFs. For instance, I just now
went to
https://cs.brown.edu/~sk/Publications/Papers/Published/kf-prog-paradigms-and-beyond/paper.pdf,
which for me turned
into chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/
https://cs.brown.edu/~sk/Publications/Papers/Published/kf-prog-paradigms-and-beyond/paper.pdf,
and it works just fine.
So, conjecture: the problem is when a page tries to embed a PDF viewer.
I'll keep looking for counter-examples in both directions (it could be that
some embeddings work and others don't, so I'll keep an eye out for the page
contents).
|
Internet |
@jonathansampson is no-cors our setting, or is the site using CSP? |
Just summarizing, since this is the main reason I have to use other browsers. Using Version 0.56.14 Chromium: 70.0.3538.102 (Official Build) unknown (64-bit)
This works properly now.
This one seems to work properly as well.
Perhaps this is one of the main scenario's that is still failing?
Same for me. E.g. salary slips, so not possible to share/create an account. (I tried this several times on several computers / brave versions. Then I heard that some HR departments check how often people download their salary slip because this is an indication of employees wanting to leave 😅.)
Nice observation. This might be the problem with my salary slips too. |
Agreed with @hugobuddel, this is the main reason I need another browser. Unfortunately, his AT&T white paper example [https://developer.att.com/static-assets/documents/futurist-report/FuturistReport_5G-A-Faster-Smarter-Future_FINAL_083118.pdf] does not work for me in 0.56.15 [build 70.0.3538.110] (slightly newer version than in his report). The PDF.js error message is
Since the above is a .pdf URL, it unfortunately provides a counterexample to my proposition that this is an issue with embedded PDFs only. (I downloaded the file to see whether there was some clever embedding trick being played, but it appears not.) |
Can confirm that indeed that https://developer.att.com/static-assets/documents/futurist-report/FuturistReport_5G-A-Faster-Smarter-Future_FINAL_083118.pdf does not work. Also not on the version I reported working. I'm quite sure it worked this morning; must have been mistaken. |
Thanks for your patience. Fix incoming. |
Just got updated to Version 0.56.15 Chromium: 70.0.3538.110 Tested example: https://developer.att.com/static-assets/documents/futurist-report/FuturistReport_5G-A-Faster-Smarter-Future_FINAL_083118.pdf Confirmed still doesn't work with error:
|
I can also confirm STILL does NOT work. WAITING PATIENTLY for "Fix incoming" |
Fix is coded but not yet released. It's in the review phase right now. It'll likely get approved within a day or so, and merge to Dev channel 0.58.x which will go to beta channel on Dec 4th and Release channel on Dec 20th. So earlier access on Beta and Dev channel. |
I'll try to get it uplifted to beta for release on ~Dec 4th. |
Description
Some PDFs don't open
Steps to Reproduce
Actual result:
PDF won't display
Error message:
PDF.js v2.0.673 (build: 31012570)
Message: Failed to fetch
Expected result:
PDF displays
Reproduces how often:
always
Brave version (about:brave info)
Version 0.55.1 Chromium: 70.0.3528.4 (Official Build) dev (64-bit)
MacOS Mojave beta 10
Reproducible on current release:
Unknown
Website problems only:
No
No
The text was updated successfully, but these errors were encountered: