Problems downloading the attached PDFs[Debug ID: D646056731] [Report ID: 1201863534]

I am having problems downloading attached PDFs from Elsevier ScienceDirect:

1. Click on “Save to Zotero (Science Direct)” and the record is created, but the PDF is not downloaded successfully, a red "x" is there suggesting an error. For example,
https://www-sciencedirect-com.ezproxy.cityu.edu.hk/science/article/pii/S0165410108000219


2. In ScienceDirect I open manually the PDF document (in Chrome)

https://ac-els-cdn-com.ezproxy.cityu.edu.hk/S0165410108000219/1-s2.0-S0165410108000219-main.pdf?_tid=9aad4820-ef5f-402b-928e-1fa49c284bc0&acdnat=1523428379_5db6e0828bb61b50a240af474d6004ab

3. Then, I try to save the PDF to Zotero by clicking the "Save to Zotero (PDF)”, it returns an error

The Report ID : 1201863534
The Debug ID: D646056731

Update: I think it would be a proxy related problem. I tried on the pc in my office in the university and it works fine. But it does not work on my personal laptop using the proxy. The proxy configuration is as follows:

Configured Proxies
%h.ezproxy.cityu.edu.hk/%p

(ticked)Automatically associate new hosts
(ticked)Automatically convert hyphens to dots in proxied hostnames

Scheme:

%h.ezproxy.cityu.edu.hk/%p

You may use the following variables in your proxy scheme:
%h - The hostname of the proxied site (e.g., www.example.com)
%p - The path of the proxied page excluding the leading slash (e.g., about/index.html)
%d - The directory path (e.g., about/)
%f - The filename (e.g., index.html)
%a - Any string
Hostnames
www.sciencedirect.comieeexplore.ieee.orgac.els.cdn.com

How can I deal with this problem?
  • Win error 2 during operation open on file C:\Users\[username]\Zotero\storage\tmp-U8zfjD\Rogers and Van Buskirk - 2009 - Shareholder litigation and changes in disclosure b.pdf (The system cannot find the file specified.
    )
    (No stack trace)
    From previous event:
    Zotero.Server.DataListener.prototype._bodyData@chrome://zotero/content/xpcom/server.js:327:3
    Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:299:3
    Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:203:4
    Zotero is having problems saving the PDF to your data directory. This could be a permissions or security software problem. You will have to troubleshoot this individually.

    Do PDFs import fine on this system from other publishers?
  • @adomasven I don't have any security software on my laptop except the windows defender. I turned it off then it still doesn't work.

    I also tried to get a citation from arXiv which I have access without proxy. It worked fine with arXiv. The PDF can be downloaded and attached correctly. So I guess it should be the proxy's problem.
  • Could you produce a Debug ID for a save of a resource from a different proxied publisher that succeeds in saving a PDF?
  • @adomasven I have tried two more proxied publisher but I failed to saving PDFs from both. I could not find a proxied publisher that succeed in saving pdf although I have all the access and I can open the pdf by clicking the pdf file button on the website. And then I tried a non-proxied source arXiv, it do work fine and the pdf was saved.

    The above steps are recorded in Debug ID: D2072442121

    Hope this could help you position the problem.
  • If you access a proxied PDF and try to save it directly, does it fail too?
  • @adomasven Yes. It also fails. Debug ID: D921490077
  • I don't think we will be able to help with this one. It is not a general Zotero problem and saving from behind proxies works fine for many users. It is not clear why, but it seems that your university proxy return an empty HTTP 200 response or something similar when Zotero requests the resource, so Zotero thinks it succeeded to download the PDF, but when it looks for it, the PDF is, naturally, not there.

    Zotero tries its best to pretend that it is your browser (the one you access the page from) that's asking for the resource, but your proxy does not seem to believe it.
  • @adomasven Fine. Thanks anyway.
  • A couple more things:

    1) You can try talking to your IT department to find out what exactly the proxy checks for in the request. When downloading attachments, Zotero uses the same cookies, user agent, and referrer as the browser does. There's clearly something else that's different that's causing the proxy to reject the PDF requests, but I'm not sure what that would be.

    2) You're getting SSL Certificate Errors for various HTTPS sites (including in that last debug output). So that's something you'd want to fix. Even if you fixed the other issue, saving PDFs from HTTPS sites would fail until this was fixed.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.