Pdf.js: PDF.js v1.4.237 (build: e9dbb23) Unexpected server response (204)

Created on 29 Jun 2016  路  5Comments  路  Source: mozilla/pdf.js

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

Most helpful comment

If you are using download manager try disabling it.

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmisdm picture dmisdm  路  3Comments

PeterNerlich picture PeterNerlich  路  3Comments

timvandermeij picture timvandermeij  路  4Comments

brandonros picture brandonros  路  3Comments

smit-modi picture smit-modi  路  3Comments