zotero connector not working with opened PDF files (Mac)

Hi
I'm trying to sync documents into Zotero. It works fine with pages like https://arxiv.org/abs/1404.4679 - so abstract pagegs, Zotero correctly extracts pdf link, downloads it by itself.

But if I have an opened PDF link this link: https://arxiv.org/pdf/1404.4679.pdf it does not work, saying there is no connection to Zotero app. This obviously is untrue, because I've just saved the Abstract page.

This happens in Chrome running on Mac OS X.
  • Saving from the PDF URL should work, and does for me.

    Can you provide a Debug ID from both the Zotero Connector and from Zotero for clicking the save button while viewing the PDF? (For the Connector, start logging before reloading the file and keep it going through the save attempt.)
  • So here is the output.

    From the Zotero App (next comment is from the browser connector):

    version => 5.0.74, platform => MacIntel, oscpu => Intel Mac OS X 10.14, locale => en-US, appName => Zotero, appVersion => 5.0.74, extensions => Zotero LibreOffice Integration (5.0.20.SA.5.0.74, extension), Zotero Word for Mac Integration (5.0.24.SA.5.0.74, extension)

    (5)(+0000000): OPTIONS /connector/ping HTTP/1.1 Host: 127.0.0.1:23119 Connection: keep-alive Sec-Fetch-Mode: cors Access-Control-Request-Method: POST Origin: chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 Access-Control-Request-Headers: content-type,x-zotero-connector-api-version,x-zotero-version Accept: */* Sec-Fetch-Site: cross-site Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,pl;q=0.7

    (5)(+0000002): HTTP/1.0 200 OK X-Zotero-Version: 5.0.74 X-Zotero-Connector-API-Version: 2 Content-Length: 0

    (5)(+0000014): OPTIONS /connector/getSelectedCollection HTTP/1.1 Host: 127.0.0.1:23119 Connection: keep-alive Sec-Fetch-Mode: cors Access-Control-Request-Method: POST Origin: chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 Access-Control-Request-Headers: content-type,x-zotero-connector-api-version,x-zotero-version Accept: */* Sec-Fetch-Site: cross-site Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,pl;q=0.7

    (5)(+0000000): HTTP/1.0 200 OK X-Zotero-Version: 5.0.74 X-Zotero-Connector-API-Version: 2 Content-Length: 0

    (5)(+0000004): OPTIONS /connector/saveSnapshot HTTP/1.1 Host: 127.0.0.1:23119 Connection: keep-alive Sec-Fetch-Mode: cors Access-Control-Request-Method: POST Origin: chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 Access-Control-Request-Headers: content-type,x-zotero-connector-api-version,x-zotero-version Accept: */* Sec-Fetch-Site: cross-site Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,pl;q=0.7

    (5)(+0000000): HTTP/1.0 200 OK X-Zotero-Version: 5.0.74 X-Zotero-Connector-API-Version: 2 Content-Length: 0

    (5)(+0002726): OPTIONS /connector/ping HTTP/1.1 Host: 127.0.0.1:23119 Connection: keep-alive Sec-Fetch-Mode: cors Access-Control-Request-Method: POST Origin: chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 Access-Control-Request-Headers: content-type,x-zotero-connector-api-version,x-zotero-version Accept: */* Sec-Fetch-Site: cross-site Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,pl;q=0.7

    (5)(+0000000): HTTP/1.0 200 OK X-Zotero-Version: 5.0.74 X-Zotero-Connector-API-Version: 2 Content-Length: 0

    (5)(+0006528): OPTIONS /connector/ping HTTP/1.1 Host: 127.0.0.1:23119 Connection: keep-alive Sec-Fetch-Mode: cors Access-Control-Request-Method: POST Origin: chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 Access-Control-Request-Headers: content-type,x-zotero-connector-api-version,x-zotero-version Accept: */* Sec-Fetch-Site: cross-site Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,pl;q=0.7

    (5)(+0000000): HTTP/1.0 200 OK X-Zotero-Version: 5.0.74 X-Zotero-Connector-API-Version: 2 Content-Length: 0




  • Actually I've put all the debug data in Github gist: https://gist.github.com/zygm0nt/ee5753daf37d15ab1126fa45a2bb4082
  • Is there a reason you're not using the debug ID? It looks like your copy of Zotero might not be able to communicate with the internet, which would explain why it can't download PDFs.
  • It also looks like something — a proxy or security software — is even interfering with the Zotero Connector's ability to make GET requests to Zotero. It looks like the CORS OPTIONS requests are going through, but the follow-up GET requests are failing. That's caused by something outside of Zotero, so you'll need to debug this on your own system.

    https://www.zotero.org/support/kb/connector_zotero_unavailable
    https://www.zotero.org/support/kb/connection_error
Sign In or Register to comment.