PDFs not downloaded using the Zotero Connector nor "Find Full Text"

This discussion was created from comments split from: zotero is not saving PDF files (D634486261).
  • I've the same problem and submitted D1223814870.

    PDFs are neither downloaded if an entry is added using the Zotero Connector nor "Find fulltext" via rightclick on an item.
    ```
    (3)(+0000000): Translate: resolving URL https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009731&type=printable
    (3)(+0000000): Translate: resolved to https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009731&type=printable
    (3)(+0000001): Translate: Saving item
    (3)(+0000000): Translate: WARNING: Zotero.done() called after translator completion with error
    (3)(+0000000): ===>undefined<=== (undefined)
    (3)(+0000000): Translate: Translation successful
    (5)(+0000001): Translate: Running handler 0 for done
    (3)(+0000000): Downloading file from https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009731&type=printable
    (3)(+0000088): Getting contents of Z:\AppData\Zotero\storage\tmp-RzwsCR\file.tmp
    (3)(+0000001): Error downloading https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009731&type=printable: NotFoundError: Could not open the file at Z:\AppData\Zotero\storage\tmp-RzwsCR\file.tmp
    ```

    The resolved URL can be downloaded manually in Firefox without any problems.

    It worked quite a long time and stopped working with one of the 6.0.2x versions. I hopped 7.0 had fixed this.

    BTW: I'm behind a corporate firewall with SSL scanning and central proxy with authentication (network.proxy.type=5). Everything works well, regardless of signon.autologin.proxy is true or false.

    --
    Regards
    Mathias
  • (Please start new threads for new issues. I've moved this to a new thread.)

    I'm assuming Z: is a network share? You should try with the data directory on the local disk.
  • Yes, Z: is a network share which worked over years. The tmp directory is also created but no file appear inside, if I watch the folder.

    Using the default local profile and data directory does not change anything. See D393255390.
  • Could you go to Tools → Developer → Run JavaScript, run the following code, and either paste the result or send it to support@zotero.org with a link to this thread? (We'll respond here either way.)
    var req = await fetch('https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009731&type=printable');
    var headers = [...req.headers.entries()];
    headers.push(["status", req.status]);
    return headers;
  • The resulting headers look good to me:
    [
    "0": [
    "0": "accept-ranges"
    "1": "bytes"
    ]
    "1": [
    "0": "age"
    "1": "0"
    ]
    "2": [
    "0": "alt-svc"
    "1": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
    ]
    "3": [
    "0": "cache-control"
    "1": "no-cache, no-store, max-age=0, must-revalidate"
    ]
    "4": [
    "0": "content-disposition"
    "1": "attachment; filename=journal.pcbi.1009731.pdf"
    ]
    "5": [
    "0": "content-type"
    "1": "application/pdf"
    ]
    "6": [
    "0": "date"
    "1": "Wed, 28 Aug 2024 06:41:13 GMT"
    ]
    "7": [
    "0": "expires"
    "1": "0"
    ]
    "8": [
    "0": "pragma"
    "1": "no-cache"
    ]
    "9": [
    "0": "server"
    "1": "Apache"
    ]
    "10": [
    "0": "strict-transport-security"
    "1": "max-age=31536000"
    ]
    "11": [
    "0": "via"
    "1": "1.1 varnish (Varnish/6.0), 1.1 google"
    ]
    "12": [
    "0": "x-content-type-options"
    "1": "nosniff"
    ]
    "13": [
    "0": "x-firefox-spdy"
    "1": "h2"
    ]
    "14": [
    "0": "x-frame-options"
    "1": "DENY"
    ]
    "15": [
    "0": "x-varnish"
    "1": "117342342"
    ]
    "16": [
    "0": "x-xss-protection"
    "1": "1; mode=block"
    ]
    "17": [
    "0": "status"
    "1": 200
    ]
    ]
  • OK, it's likely security software on your system, then.
Sign In or Register to comment.