ACS Publications issue with proxy

I'm having trouble adding items from ACS journals (using the ACS Publications translator) when being accessed through my academic proxy. An example URL is

https://uhvpn.herts.ac.uk/doi/abs/10.1021/,DanaInfo=pubs.acs.org+ci4002525

where the proxy is a Multi-Site proxy with the (auto-recognised) scheme "https://uhvpn.herts.ac.uk/%d,DanaInfo=%h%a+%f"

Adding items from Amazon works fine, both directly and through the proxy. Adding items from the ACS journals works without the proxy (although the PDF download fails, of course). With the proxy, I just get an error message. Right clicking on the "Full PDF" link and choosing "Zotero->Save link as Zotero item" works with the proxy.

Any advice? I've been through the troubleshooting checklist to no avail...
  • edited October 7, 2013
    Oh, I forgot to mention, this is with Zotero 4.0.12 on Firefox 24.0 running on Windows 7 64-bit, in case any of that is relevant. Zotero is up to date.
  • when you hover over the URL bar icon (step 6 in the troubleshooting instructions) what does it say?
  • It says "Save to Zotero (ACS Publications)" - sorry if I didn't make that clear in my original post.
  • sorry, this fell under the table for a while. If you're still having this problem - which I'd assume is the case - could you provide a debug ID that covers an attempt to import from ACS while proxied and then ends in the error:
    http://www.zotero.org/support/debug_output
  • Hi Adam,

    The debug ID is D1765786868

    Thanks for looking into this!
  • @Dan - could I get the error and anything else useful you're seeing in the debug?
  • (3)(+0000000): Translate: Beginning translation with ACS Publications

    (3)(+0000003): Translate: DOI= 10.1021/,DanaInfo=pubs.acs.org+ci4000486

    (3)(+0000001): HTTP GET http://uhvpn.herts.ac.uk/action/showCitFormats?doi=10.1021/,DanaInfo=pubs.acs.org+ci4000486

    (2)(+0000036): Translate: Translation using ACS Publications failed:
    fileName => C:\Users\[...]\AppData\Roaming\Mozilla\Firefox\Profiles\[...].default\zotero\translators\ACS Publications.js
    lineNumber => 169
    columnNumber => 0
    string => TypeError: text.match(...) is null
  • thanks, I think I see what's going on - we may have to rethink how we're constructing the DOI.

    @mark - could you (while connected through your proxy), click on "Download Citation" at the top right of the article and post the URL of the page you land on as you see it, please?
  • Hi Adam,

    Sorry about the delay! The URL of the "Download Citation" page is:

    https://uhvpn.herts.ac.uk/action/,DanaInfo=pubs.acs.org+showCitFormats?doi=10.1021%2Fci4002525
  • OK - I'll try to take a look, but might not be super quick, this isn't trivial & I have to work blind.
  • No problem - I'm grateful for any attention you can give to this. Thanks for Zotero - it's a great tool!
  • I don't think we can reliably address this within the translator itself. IMO, this would need a Zotero update, where Zotero passes deproxified url to the translator in doWeb and detectWeb (I'm a bit surprised this is not the case already, I'll have to double check). We should also add translator-accessible functions to deproxify URLs and proxify them (though I don't think the latter is necessary)

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.