Ref data successfully grabbed, but PDFs and snapshots consistently fail
EDIT: Here's the Report ID: 1268870514
I'm having a problem saving PDFs and snapshots from supported websites with the Chrome extension. I've tried many different sites that I have full institutional access to, and I am consistently able to get the reference data without any trouble, but in the pop-up in the lower right, an "X" appears next to "Full Text PDF" and the PDF never arrives in Zotero standalone. No "X" appears next to "Snapshot", but that doesn't arrive in the standalone program either. This error is reported in the Chrome extension every time:
[JavaScript Error: "Cannot read property 'id' of undefined" {file: "chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js" line: 75}]
And yes, I have confirmed that the extension is reporting that the standalone program is currently available and that both "Automatically..." check boxes are checked. Thanks so much for the help...
I'm having a problem saving PDFs and snapshots from supported websites with the Chrome extension. I've tried many different sites that I have full institutional access to, and I am consistently able to get the reference data without any trouble, but in the pop-up in the lower right, an "X" appears next to "Full Text PDF" and the PDF never arrives in Zotero standalone. No "X" appears next to "Snapshot", but that doesn't arrive in the standalone program either. This error is reported in the Chrome extension every time:
[JavaScript Error: "Cannot read property 'id' of undefined" {file: "chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js" line: 75}]
And yes, I have confirmed that the extension is reporting that the standalone program is currently available and that both "Automatically..." check boxes are checked. Thanks so much for the help...
adamsmith, here are two examples:
http://www.sciencedirect.com/science/article/pii/S0378112713005112
http://onlinelibrary.wiley.com/doi/10.1111/1365-2664.12149/abstract
I definitely have full access to both
@benramage - and just to be 100% sure - those are the URLs as you see them in Chrome, right? You didn't remove any proxy or so?
"Automatically detect proxy settings" checked
and
"Use automatic configuration script" checked
I don't have the expertise to troubleshoot this further, though, but I'm pretty sure the proxy is going to turn out to be the reason. Dan or Simon will have to take it from here.
Thanks.
=== Technical details ===
If you take a look at https://www.ssllabs.com/ssltest/analyze.html?d=proxy2.lib.berkeley.edu&hideResults=on you can see that the Berkeley proxy server's HTTPS support has lots of problems. They get an F because they're using very weak encryption and because of some other issues, but the relevant issue for Zotero is the "Chain issues: Incomplete" and "Extra download" lines.
The server isn't serving the necessary intermediate (Internet2-provided) SSL certificate, and Firefox — and therefore Zotero Standalone — won't download it on its own. Other browsers might do so, though I don't know for sure. (I think Chrome does.)
If you can load https://proxy2.lib.berkeley.edu in Firefox, it's likely because you previously loaded another site of your university's (or another university's) that included the intermediate certificate, which Firefox would then cache and use even on sites that didn't serve it properly. But generally speaking, sites should always serve their intermediate certificates, and are broken if they don't. If you create a new Firefox profile, you'll get an sec_error_unknown_issuer error trying to load that URL, which is essentially the situation Zotero Standalone is in.
=== End of technical details ===
So the proper fix here is for the Berkeley IT folks to fix the server. In the meantime, I have an awkward workaround for you. Go to the Zotero sync preferences and set it to use WebDAV for file syncing. For the URL, set it to "HTTPS" and "spaces.internet2.edu". Use "test" and "test" for the username and password. Click on Verify Server. (You might need to click it twice due to a bug.) Once you get the message that https://spaces.internet2.edu isn't a valid WebDAV URL, clear those fields and change the setting back to syncing via Zotero (or whatever you were using before). Since spaces.internet2.edu uses (and properly provides) the same intermediate certificate, the certificate will be downloaded into Standalone, and after that Standalone should be able to access the Berkeley proxy server.
<HTML>
<HEAD>
<TITLE>Proxy: Cookies Required</TITLE>
</HEAD>
<BODY>
<H1>UC Berkeley Library Proxy</H1>
<p>The proxy was unable t...
OK, that's a new, unrelated issue that aurimas or possibly Simon will need to look into. The good news is that you can now at least connect to the Berkeley proxy server, so that's a start.
http://onlinelibrary.wiley.com/doi/10.1111/1365-2664.12149/abstract
page?