PDF.js v1.4.237 (build: e9dbb23)
Message: Unexpected server response (204) while retrieving PDF
pdf can not be loaded, while I am retrieving pdf from my own server.
It can't work on mozilla firefox 47.0.1 but it work well on chrome 51.0.2704.103
it become autodownload by idm when I am using mozilla.
Any suggestion?
help please :'D
Make sure you read https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md to know what you must provide before opening an issue. At the very least a link to a working example (if it is a custom solution) is required for us to debug the issue. Closing until this is provided.
I also meet the problem,: "Message: Unexpected server response (204) while retrieving PDF"
If you are using download manager try disabling it.
Was about to post the same issue with the v2.0.943 (build: dc98bf76) and read the comment of @ravibpatel and finally it solved.
To solve this issue one should disable download manager or refrain them from capturing download links from web players . In my case i was using IDM and it was causing pdf interception and thus the error.
When you are using this package in local hold ALT key on keyboard, then IDM will not download that link.
Most helpful comment
If you are using download manager try disabling it.