Zotero Connector does not work in https://www.rfc-editor.org/

Hi, I wanted to save a pdf file from ITFE to my library using the Zotero connector. I think the connector has broken on this site. I have saved successfully from other sites such as us IEEE, Nature, and others. Below is my log from Zotero Connector.

Report Errors:
[JavaScript Error: "Method saveSnapshot failed
@moz-extension://cd39bfc2-463f-4708-906c-e8bf829e014e/connector.js:289:49
"]

Debug Output Logging:
(3)(+0021549): Connector_Browser: onActivated for https://www.rfc-editor.org/rfc/rfc9406.pdf

(3)(+0002622): HTTP POST http://127.0.0.1:23119/connector/saveSnapshot

(3)(+0000139): Connector: Method saveSnapshot failed with status 500

(1)(+0000001): Error: Method saveSnapshot failed

@moz-extension://cd39bfc2-463f-4708-906c-e8bf829e014e/connector.js:289:49

(3)(+0001965): Connector_Browser: onActivated for moz-extension://cd39bfc2-463f-4708-906c-e8bf829e014e/preferences/preferences.html#advanced

(3)(+0000001): HTTP POST http://127.0.0.1:23119/connector/ping

(3)(+0000006): Connector: Method ping succeeded

(3)(+0039443): HTTP POST http://127.0.0.1:23119/connector/getTranslators

(3)(+0000021): Connector: Method getTranslators succeeded

(3)(+0000000): Setting connector.repo.lastCheck.localTime to 1688811560449

(3)(+0000004): Setting translatorMetadata to [{"translatorID":"f3e31f93-c18d-4ba3-9aa6-1963702b5762","translatorType":4,"label":"Ab Imperio","cre

(3)(+0000001): Translators: Saved updated translator list (701 translators)

(3)(+0000008): Repo: Next check in 86402s

(3)(+0005645): HTTP POST http://127.0.0.1:23119/connector/ping

(3)(+0000009): Connector: Method ping succeeded


Can anyone check this site?
I have an example link: https://www.rfc-editor.org/rfc/rfc9406.pdf
  • Works fine here. What does it say when you hover over the save button? Can you provide a Debug ID from the Connector for reloading the page?
  • Hi, thanks for the response, When I try to save the document from IETF. The Zotero Connector has a red X icon and I have the following message "Saving failed. Is Zotero running?". My Zotero was open. And my Debug ID: D1921193589
  • edited July 31, 2023
    I meant what it says when you hover over the save button before saving, not after — as in, what translator is being used?

    You also provided a Debug ID from Zotero, not the Zotero Connector.

    But we won't need those things. There appear to be a couple problems here:

    1) For some reason in Firefox the Zotero Connector is just showing the PDF icon at this URL and trying to save the PDF directly (so the answer to my question will be that it's saying "Save to Zotero (PDF)"). We'll look into that. In Chrome it properly uses the IETF translator even though it's a PDF URL (which it can do on some sites with clear URLs).

    2) Zotero 6 isn't able to save files from this site because the site requires more recent encryption protocols. File saving works in the Zotero 7 beta, and Zotero is able to retrieve metadata for the PDF even when saving the PDF directly (though the metadata from the IETF translator — as you get in Chrome now or when saving from the main RFC page — is slightly better).
  • edited July 17, 2023
    Oh, right, the reason you only get the PDF icon is that Firefox restrictions prevent us from running regular site translation on a PDF URL the way we can in other browsers. We might be able to work around that at some point, but for now, if you're using Firefox, you'll need to save from the main webpage or rely on PDF metadata retrieval.
  • @iangelis: Not sure if the site changed something, but PDF saving appears to be working fine from that site now. (And I was wrong about what Zotero 6 supports above. I'm not actually sure why you were getting an error before.) In Firefox it will still need to save the PDF and rely on PDF metadata retrieval, but that works fine.
Sign In or Register to comment.